AWS SDK for C++  1.9.106
AWS SDK for C++
OtaaV1_1.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoTWireless
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetAppKey() const{ return m_appKey; }
44 
48  inline bool AppKeyHasBeenSet() const { return m_appKeyHasBeenSet; }
49 
53  inline void SetAppKey(const Aws::String& value) { m_appKeyHasBeenSet = true; m_appKey = value; }
54 
58  inline void SetAppKey(Aws::String&& value) { m_appKeyHasBeenSet = true; m_appKey = std::move(value); }
59 
63  inline void SetAppKey(const char* value) { m_appKeyHasBeenSet = true; m_appKey.assign(value); }
64 
68  inline OtaaV1_1& WithAppKey(const Aws::String& value) { SetAppKey(value); return *this;}
69 
73  inline OtaaV1_1& WithAppKey(Aws::String&& value) { SetAppKey(std::move(value)); return *this;}
74 
78  inline OtaaV1_1& WithAppKey(const char* value) { SetAppKey(value); return *this;}
79 
80 
84  inline const Aws::String& GetNwkKey() const{ return m_nwkKey; }
85 
89  inline bool NwkKeyHasBeenSet() const { return m_nwkKeyHasBeenSet; }
90 
94  inline void SetNwkKey(const Aws::String& value) { m_nwkKeyHasBeenSet = true; m_nwkKey = value; }
95 
99  inline void SetNwkKey(Aws::String&& value) { m_nwkKeyHasBeenSet = true; m_nwkKey = std::move(value); }
100 
104  inline void SetNwkKey(const char* value) { m_nwkKeyHasBeenSet = true; m_nwkKey.assign(value); }
105 
109  inline OtaaV1_1& WithNwkKey(const Aws::String& value) { SetNwkKey(value); return *this;}
110 
114  inline OtaaV1_1& WithNwkKey(Aws::String&& value) { SetNwkKey(std::move(value)); return *this;}
115 
119  inline OtaaV1_1& WithNwkKey(const char* value) { SetNwkKey(value); return *this;}
120 
121 
125  inline const Aws::String& GetJoinEui() const{ return m_joinEui; }
126 
130  inline bool JoinEuiHasBeenSet() const { return m_joinEuiHasBeenSet; }
131 
135  inline void SetJoinEui(const Aws::String& value) { m_joinEuiHasBeenSet = true; m_joinEui = value; }
136 
140  inline void SetJoinEui(Aws::String&& value) { m_joinEuiHasBeenSet = true; m_joinEui = std::move(value); }
141 
145  inline void SetJoinEui(const char* value) { m_joinEuiHasBeenSet = true; m_joinEui.assign(value); }
146 
150  inline OtaaV1_1& WithJoinEui(const Aws::String& value) { SetJoinEui(value); return *this;}
151 
155  inline OtaaV1_1& WithJoinEui(Aws::String&& value) { SetJoinEui(std::move(value)); return *this;}
156 
160  inline OtaaV1_1& WithJoinEui(const char* value) { SetJoinEui(value); return *this;}
161 
162  private:
163 
164  Aws::String m_appKey;
165  bool m_appKeyHasBeenSet;
166 
167  Aws::String m_nwkKey;
168  bool m_nwkKeyHasBeenSet;
169 
170  Aws::String m_joinEui;
171  bool m_joinEuiHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace IoTWireless
176 } // namespace Aws
Aws::IoTWireless::Model::OtaaV1_1::WithJoinEui
OtaaV1_1 & WithJoinEui(const Aws::String &value)
Definition: OtaaV1_1.h:150
Aws::IoTWireless::Model::OtaaV1_1::SetNwkKey
void SetNwkKey(const char *value)
Definition: OtaaV1_1.h:104
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::OtaaV1_1::SetAppKey
void SetAppKey(const char *value)
Definition: OtaaV1_1.h:63
Aws::IoTWireless::Model::OtaaV1_1
Definition: OtaaV1_1.h:32
Aws::IoTWireless::Model::OtaaV1_1::SetJoinEui
void SetJoinEui(const char *value)
Definition: OtaaV1_1.h:145
Aws::IoTWireless::Model::OtaaV1_1::WithNwkKey
OtaaV1_1 & WithNwkKey(const char *value)
Definition: OtaaV1_1.h:119
Aws::IoTWireless::Model::OtaaV1_1::OtaaV1_1
OtaaV1_1()
Aws::IoTWireless::Model::OtaaV1_1::SetJoinEui
void SetJoinEui(const Aws::String &value)
Definition: OtaaV1_1.h:135
Aws::IoTWireless::Model::OtaaV1_1::SetNwkKey
void SetNwkKey(Aws::String &&value)
Definition: OtaaV1_1.h:99
Aws::IoTWireless::Model::OtaaV1_1::SetAppKey
void SetAppKey(Aws::String &&value)
Definition: OtaaV1_1.h:58
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::OtaaV1_1::GetJoinEui
const Aws::String & GetJoinEui() const
Definition: OtaaV1_1.h:125
Aws::IoTWireless::Model::OtaaV1_1::WithAppKey
OtaaV1_1 & WithAppKey(const Aws::String &value)
Definition: OtaaV1_1.h:68
Aws::IoTWireless::Model::OtaaV1_1::operator=
OtaaV1_1 & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::OtaaV1_1::NwkKeyHasBeenSet
bool NwkKeyHasBeenSet() const
Definition: OtaaV1_1.h:89
Aws::IoTWireless::Model::OtaaV1_1::AppKeyHasBeenSet
bool AppKeyHasBeenSet() const
Definition: OtaaV1_1.h:48
Aws::IoTWireless::Model::OtaaV1_1::OtaaV1_1
OtaaV1_1(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::OtaaV1_1::SetJoinEui
void SetJoinEui(Aws::String &&value)
Definition: OtaaV1_1.h:140
Aws::IoTWireless::Model::OtaaV1_1::GetNwkKey
const Aws::String & GetNwkKey() const
Definition: OtaaV1_1.h:84
Aws::IoTWireless::Model::OtaaV1_1::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTWireless::Model::OtaaV1_1::SetAppKey
void SetAppKey(const Aws::String &value)
Definition: OtaaV1_1.h:53
Aws::IoTWireless::Model::OtaaV1_1::WithJoinEui
OtaaV1_1 & WithJoinEui(const char *value)
Definition: OtaaV1_1.h:160
Aws::IoTWireless::Model::OtaaV1_1::WithAppKey
OtaaV1_1 & WithAppKey(Aws::String &&value)
Definition: OtaaV1_1.h:73
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTWireless::Model::OtaaV1_1::GetAppKey
const Aws::String & GetAppKey() const
Definition: OtaaV1_1.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::OtaaV1_1::WithJoinEui
OtaaV1_1 & WithJoinEui(Aws::String &&value)
Definition: OtaaV1_1.h:155
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::OtaaV1_1::WithNwkKey
OtaaV1_1 & WithNwkKey(Aws::String &&value)
Definition: OtaaV1_1.h:114
Aws::IoTWireless::Model::OtaaV1_1::WithAppKey
OtaaV1_1 & WithAppKey(const char *value)
Definition: OtaaV1_1.h:78
Aws::IoTWireless::Model::OtaaV1_1::JoinEuiHasBeenSet
bool JoinEuiHasBeenSet() const
Definition: OtaaV1_1.h:130
Aws::IoTWireless::Model::OtaaV1_1::SetNwkKey
void SetNwkKey(const Aws::String &value)
Definition: OtaaV1_1.h:94
Aws::IoTWireless::Model::OtaaV1_1::WithNwkKey
OtaaV1_1 & WithNwkKey(const Aws::String &value)
Definition: OtaaV1_1.h:109