AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
OtaaV1_0_x.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotwireless/IoTWireless_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTWireless {
20namespace Model {
21
28 public:
29 AWS_IOTWIRELESS_API OtaaV1_0_x() = default;
30 AWS_IOTWIRELESS_API OtaaV1_0_x(Aws::Utils::Json::JsonView jsonValue);
31 AWS_IOTWIRELESS_API OtaaV1_0_x& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetAppKey() const { return m_appKey; }
39 inline bool AppKeyHasBeenSet() const { return m_appKeyHasBeenSet; }
40 template <typename AppKeyT = Aws::String>
41 void SetAppKey(AppKeyT&& value) {
42 m_appKeyHasBeenSet = true;
43 m_appKey = std::forward<AppKeyT>(value);
44 }
45 template <typename AppKeyT = Aws::String>
46 OtaaV1_0_x& WithAppKey(AppKeyT&& value) {
47 SetAppKey(std::forward<AppKeyT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetAppEui() const { return m_appEui; }
58 inline bool AppEuiHasBeenSet() const { return m_appEuiHasBeenSet; }
59 template <typename AppEuiT = Aws::String>
60 void SetAppEui(AppEuiT&& value) {
61 m_appEuiHasBeenSet = true;
62 m_appEui = std::forward<AppEuiT>(value);
63 }
64 template <typename AppEuiT = Aws::String>
65 OtaaV1_0_x& WithAppEui(AppEuiT&& value) {
66 SetAppEui(std::forward<AppEuiT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetJoinEui() const { return m_joinEui; }
77 inline bool JoinEuiHasBeenSet() const { return m_joinEuiHasBeenSet; }
78 template <typename JoinEuiT = Aws::String>
79 void SetJoinEui(JoinEuiT&& value) {
80 m_joinEuiHasBeenSet = true;
81 m_joinEui = std::forward<JoinEuiT>(value);
82 }
83 template <typename JoinEuiT = Aws::String>
84 OtaaV1_0_x& WithJoinEui(JoinEuiT&& value) {
85 SetJoinEui(std::forward<JoinEuiT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetGenAppKey() const { return m_genAppKey; }
95 inline bool GenAppKeyHasBeenSet() const { return m_genAppKeyHasBeenSet; }
96 template <typename GenAppKeyT = Aws::String>
97 void SetGenAppKey(GenAppKeyT&& value) {
98 m_genAppKeyHasBeenSet = true;
99 m_genAppKey = std::forward<GenAppKeyT>(value);
100 }
101 template <typename GenAppKeyT = Aws::String>
102 OtaaV1_0_x& WithGenAppKey(GenAppKeyT&& value) {
103 SetGenAppKey(std::forward<GenAppKeyT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_appKey;
109
110 Aws::String m_appEui;
111
112 Aws::String m_joinEui;
113
114 Aws::String m_genAppKey;
115 bool m_appKeyHasBeenSet = false;
116 bool m_appEuiHasBeenSet = false;
117 bool m_joinEuiHasBeenSet = false;
118 bool m_genAppKeyHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace IoTWireless
123} // namespace Aws
OtaaV1_0_x & WithAppEui(AppEuiT &&value)
Definition OtaaV1_0_x.h:65
void SetAppKey(AppKeyT &&value)
Definition OtaaV1_0_x.h:41
AWS_IOTWIRELESS_API OtaaV1_0_x()=default
const Aws::String & GetJoinEui() const
Definition OtaaV1_0_x.h:76
OtaaV1_0_x & WithGenAppKey(GenAppKeyT &&value)
Definition OtaaV1_0_x.h:102
OtaaV1_0_x & WithJoinEui(JoinEuiT &&value)
Definition OtaaV1_0_x.h:84
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetGenAppKey() const
Definition OtaaV1_0_x.h:94
void SetJoinEui(JoinEuiT &&value)
Definition OtaaV1_0_x.h:79
AWS_IOTWIRELESS_API OtaaV1_0_x & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAppKey() const
Definition OtaaV1_0_x.h:38
OtaaV1_0_x & WithAppKey(AppKeyT &&value)
Definition OtaaV1_0_x.h:46
const Aws::String & GetAppEui() const
Definition OtaaV1_0_x.h:57
AWS_IOTWIRELESS_API OtaaV1_0_x(Aws::Utils::Json::JsonView jsonValue)
void SetGenAppKey(GenAppKeyT &&value)
Definition OtaaV1_0_x.h:97
void SetAppEui(AppEuiT &&value)
Definition OtaaV1_0_x.h:60
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue