AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
AbpV1_0_x.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotwireless/IoTWireless_EXPORTS.h>
9#include <aws/iotwireless/model/SessionKeysAbpV1_0_x.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTWireless {
21namespace Model {
22
29class AbpV1_0_x {
30 public:
31 AWS_IOTWIRELESS_API AbpV1_0_x() = default;
32 AWS_IOTWIRELESS_API AbpV1_0_x(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTWIRELESS_API AbpV1_0_x& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetDevAddr() const { return m_devAddr; }
41 inline bool DevAddrHasBeenSet() const { return m_devAddrHasBeenSet; }
42 template <typename DevAddrT = Aws::String>
43 void SetDevAddr(DevAddrT&& value) {
44 m_devAddrHasBeenSet = true;
45 m_devAddr = std::forward<DevAddrT>(value);
46 }
47 template <typename DevAddrT = Aws::String>
48 AbpV1_0_x& WithDevAddr(DevAddrT&& value) {
49 SetDevAddr(std::forward<DevAddrT>(value));
50 return *this;
51 }
53
55
58 inline const SessionKeysAbpV1_0_x& GetSessionKeys() const { return m_sessionKeys; }
59 inline bool SessionKeysHasBeenSet() const { return m_sessionKeysHasBeenSet; }
60 template <typename SessionKeysT = SessionKeysAbpV1_0_x>
61 void SetSessionKeys(SessionKeysT&& value) {
62 m_sessionKeysHasBeenSet = true;
63 m_sessionKeys = std::forward<SessionKeysT>(value);
64 }
65 template <typename SessionKeysT = SessionKeysAbpV1_0_x>
66 AbpV1_0_x& WithSessionKeys(SessionKeysT&& value) {
67 SetSessionKeys(std::forward<SessionKeysT>(value));
68 return *this;
69 }
71
73
76 inline int GetFCntStart() const { return m_fCntStart; }
77 inline bool FCntStartHasBeenSet() const { return m_fCntStartHasBeenSet; }
78 inline void SetFCntStart(int value) {
79 m_fCntStartHasBeenSet = true;
80 m_fCntStart = value;
81 }
82 inline AbpV1_0_x& WithFCntStart(int value) {
83 SetFCntStart(value);
84 return *this;
85 }
87 private:
88 Aws::String m_devAddr;
89
90 SessionKeysAbpV1_0_x m_sessionKeys;
91
92 int m_fCntStart{0};
93 bool m_devAddrHasBeenSet = false;
94 bool m_sessionKeysHasBeenSet = false;
95 bool m_fCntStartHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace IoTWireless
100} // namespace Aws
AWS_IOTWIRELESS_API AbpV1_0_x()=default
AWS_IOTWIRELESS_API AbpV1_0_x & operator=(Aws::Utils::Json::JsonView jsonValue)
AbpV1_0_x & WithDevAddr(DevAddrT &&value)
Definition AbpV1_0_x.h:48
void SetDevAddr(DevAddrT &&value)
Definition AbpV1_0_x.h:43
AbpV1_0_x & WithSessionKeys(SessionKeysT &&value)
Definition AbpV1_0_x.h:66
AWS_IOTWIRELESS_API AbpV1_0_x(Aws::Utils::Json::JsonView jsonValue)
const SessionKeysAbpV1_0_x & GetSessionKeys() const
Definition AbpV1_0_x.h:58
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDevAddr() const
Definition AbpV1_0_x.h:40
void SetSessionKeys(SessionKeysT &&value)
Definition AbpV1_0_x.h:61
AbpV1_0_x & WithFCntStart(int value)
Definition AbpV1_0_x.h:82
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue