AWS SDK for C++  1.9.108
AWS SDK for C++
OtaaV1_0_x.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_0_x& WithAppKey(const Aws::String& value) { SetAppKey(value); return *this;}
69 
73  inline OtaaV1_0_x& WithAppKey(Aws::String&& value) { SetAppKey(std::move(value)); return *this;}
74 
78  inline OtaaV1_0_x& WithAppKey(const char* value) { SetAppKey(value); return *this;}
79 
80 
84  inline const Aws::String& GetAppEui() const{ return m_appEui; }
85 
89  inline bool AppEuiHasBeenSet() const { return m_appEuiHasBeenSet; }
90 
94  inline void SetAppEui(const Aws::String& value) { m_appEuiHasBeenSet = true; m_appEui = value; }
95 
99  inline void SetAppEui(Aws::String&& value) { m_appEuiHasBeenSet = true; m_appEui = std::move(value); }
100 
104  inline void SetAppEui(const char* value) { m_appEuiHasBeenSet = true; m_appEui.assign(value); }
105 
109  inline OtaaV1_0_x& WithAppEui(const Aws::String& value) { SetAppEui(value); return *this;}
110 
114  inline OtaaV1_0_x& WithAppEui(Aws::String&& value) { SetAppEui(std::move(value)); return *this;}
115 
119  inline OtaaV1_0_x& WithAppEui(const char* value) { SetAppEui(value); return *this;}
120 
121  private:
122 
123  Aws::String m_appKey;
124  bool m_appKeyHasBeenSet;
125 
126  Aws::String m_appEui;
127  bool m_appEuiHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace IoTWireless
132 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::OtaaV1_0_x::WithAppKey
OtaaV1_0_x & WithAppKey(const Aws::String &value)
Definition: OtaaV1_0_x.h:68
Aws::IoTWireless::Model::OtaaV1_0_x::GetAppEui
const Aws::String & GetAppEui() const
Definition: OtaaV1_0_x.h:84
Aws::IoTWireless::Model::OtaaV1_0_x::WithAppEui
OtaaV1_0_x & WithAppEui(const char *value)
Definition: OtaaV1_0_x.h:119
Aws::IoTWireless::Model::OtaaV1_0_x::WithAppEui
OtaaV1_0_x & WithAppEui(const Aws::String &value)
Definition: OtaaV1_0_x.h:109
Aws::IoTWireless::Model::OtaaV1_0_x::SetAppEui
void SetAppEui(Aws::String &&value)
Definition: OtaaV1_0_x.h:99
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::OtaaV1_0_x::SetAppEui
void SetAppEui(const char *value)
Definition: OtaaV1_0_x.h:104
Aws::IoTWireless::Model::OtaaV1_0_x::SetAppKey
void SetAppKey(const Aws::String &value)
Definition: OtaaV1_0_x.h:53
Aws::IoTWireless::Model::OtaaV1_0_x::GetAppKey
const Aws::String & GetAppKey() const
Definition: OtaaV1_0_x.h:43
Aws::IoTWireless::Model::OtaaV1_0_x::SetAppEui
void SetAppEui(const Aws::String &value)
Definition: OtaaV1_0_x.h:94
Aws::IoTWireless::Model::OtaaV1_0_x
Definition: OtaaV1_0_x.h:32
Aws::IoTWireless::Model::OtaaV1_0_x::OtaaV1_0_x
OtaaV1_0_x()
Aws::IoTWireless::Model::OtaaV1_0_x::WithAppKey
OtaaV1_0_x & WithAppKey(Aws::String &&value)
Definition: OtaaV1_0_x.h:73
Aws::IoTWireless::Model::OtaaV1_0_x::operator=
OtaaV1_0_x & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::OtaaV1_0_x::SetAppKey
void SetAppKey(Aws::String &&value)
Definition: OtaaV1_0_x.h:58
Aws::IoTWireless::Model::OtaaV1_0_x::AppKeyHasBeenSet
bool AppKeyHasBeenSet() const
Definition: OtaaV1_0_x.h:48
Aws::IoTWireless::Model::OtaaV1_0_x::SetAppKey
void SetAppKey(const char *value)
Definition: OtaaV1_0_x.h:63
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoTWireless::Model::OtaaV1_0_x::WithAppKey
OtaaV1_0_x & WithAppKey(const char *value)
Definition: OtaaV1_0_x.h:78
Aws::IoTWireless::Model::OtaaV1_0_x::OtaaV1_0_x
OtaaV1_0_x(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::OtaaV1_0_x::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::OtaaV1_0_x::AppEuiHasBeenSet
bool AppEuiHasBeenSet() const
Definition: OtaaV1_0_x.h:89
Aws::IoTWireless::Model::OtaaV1_0_x::WithAppEui
OtaaV1_0_x & WithAppEui(Aws::String &&value)
Definition: OtaaV1_0_x.h:114