AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
OtaaV1_1.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
27class OtaaV1_1 {
28 public:
29 AWS_IOTWIRELESS_API OtaaV1_1() = default;
30 AWS_IOTWIRELESS_API OtaaV1_1(Aws::Utils::Json::JsonView jsonValue);
31 AWS_IOTWIRELESS_API OtaaV1_1& 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_1& WithAppKey(AppKeyT&& value) {
47 SetAppKey(std::forward<AppKeyT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetNwkKey() const { return m_nwkKey; }
57 inline bool NwkKeyHasBeenSet() const { return m_nwkKeyHasBeenSet; }
58 template <typename NwkKeyT = Aws::String>
59 void SetNwkKey(NwkKeyT&& value) {
60 m_nwkKeyHasBeenSet = true;
61 m_nwkKey = std::forward<NwkKeyT>(value);
62 }
63 template <typename NwkKeyT = Aws::String>
64 OtaaV1_1& WithNwkKey(NwkKeyT&& value) {
65 SetNwkKey(std::forward<NwkKeyT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetJoinEui() const { return m_joinEui; }
75 inline bool JoinEuiHasBeenSet() const { return m_joinEuiHasBeenSet; }
76 template <typename JoinEuiT = Aws::String>
77 void SetJoinEui(JoinEuiT&& value) {
78 m_joinEuiHasBeenSet = true;
79 m_joinEui = std::forward<JoinEuiT>(value);
80 }
81 template <typename JoinEuiT = Aws::String>
82 OtaaV1_1& WithJoinEui(JoinEuiT&& value) {
83 SetJoinEui(std::forward<JoinEuiT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_appKey;
89
90 Aws::String m_nwkKey;
91
92 Aws::String m_joinEui;
93 bool m_appKeyHasBeenSet = false;
94 bool m_nwkKeyHasBeenSet = false;
95 bool m_joinEuiHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace IoTWireless
100} // namespace Aws
const Aws::String & GetJoinEui() const
Definition OtaaV1_1.h:74
void SetAppKey(AppKeyT &&value)
Definition OtaaV1_1.h:41
void SetJoinEui(JoinEuiT &&value)
Definition OtaaV1_1.h:77
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetNwkKey() const
Definition OtaaV1_1.h:56
AWS_IOTWIRELESS_API OtaaV1_1()=default
void SetNwkKey(NwkKeyT &&value)
Definition OtaaV1_1.h:59
AWS_IOTWIRELESS_API OtaaV1_1(Aws::Utils::Json::JsonView jsonValue)
OtaaV1_1 & WithJoinEui(JoinEuiT &&value)
Definition OtaaV1_1.h:82
const Aws::String & GetAppKey() const
Definition OtaaV1_1.h:38
OtaaV1_1 & WithNwkKey(NwkKeyT &&value)
Definition OtaaV1_1.h:64
OtaaV1_1 & WithAppKey(AppKeyT &&value)
Definition OtaaV1_1.h:46
AWS_IOTWIRELESS_API OtaaV1_1 & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue