AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
OtaaV1_0_x.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTWireless
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOTWIRELESS_API OtaaV1_0_x() = default;
35 AWS_IOTWIRELESS_API OtaaV1_0_x(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTWIRELESS_API OtaaV1_0_x& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetAppKey() const { return m_appKey; }
45 inline bool AppKeyHasBeenSet() const { return m_appKeyHasBeenSet; }
46 template<typename AppKeyT = Aws::String>
47 void SetAppKey(AppKeyT&& value) { m_appKeyHasBeenSet = true; m_appKey = std::forward<AppKeyT>(value); }
48 template<typename AppKeyT = Aws::String>
49 OtaaV1_0_x& WithAppKey(AppKeyT&& value) { SetAppKey(std::forward<AppKeyT>(value)); return *this;}
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) { m_appEuiHasBeenSet = true; m_appEui = std::forward<AppEuiT>(value); }
61 template<typename AppEuiT = Aws::String>
62 OtaaV1_0_x& WithAppEui(AppEuiT&& value) { SetAppEui(std::forward<AppEuiT>(value)); return *this;}
64
66
70 inline const Aws::String& GetJoinEui() const { return m_joinEui; }
71 inline bool JoinEuiHasBeenSet() const { return m_joinEuiHasBeenSet; }
72 template<typename JoinEuiT = Aws::String>
73 void SetJoinEui(JoinEuiT&& value) { m_joinEuiHasBeenSet = true; m_joinEui = std::forward<JoinEuiT>(value); }
74 template<typename JoinEuiT = Aws::String>
75 OtaaV1_0_x& WithJoinEui(JoinEuiT&& value) { SetJoinEui(std::forward<JoinEuiT>(value)); return *this;}
77
79
82 inline const Aws::String& GetGenAppKey() const { return m_genAppKey; }
83 inline bool GenAppKeyHasBeenSet() const { return m_genAppKeyHasBeenSet; }
84 template<typename GenAppKeyT = Aws::String>
85 void SetGenAppKey(GenAppKeyT&& value) { m_genAppKeyHasBeenSet = true; m_genAppKey = std::forward<GenAppKeyT>(value); }
86 template<typename GenAppKeyT = Aws::String>
87 OtaaV1_0_x& WithGenAppKey(GenAppKeyT&& value) { SetGenAppKey(std::forward<GenAppKeyT>(value)); return *this;}
89 private:
90
91 Aws::String m_appKey;
92 bool m_appKeyHasBeenSet = false;
93
94 Aws::String m_appEui;
95 bool m_appEuiHasBeenSet = false;
96
97 Aws::String m_joinEui;
98 bool m_joinEuiHasBeenSet = false;
99
100 Aws::String m_genAppKey;
101 bool m_genAppKeyHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace IoTWireless
106} // namespace Aws
OtaaV1_0_x & WithAppEui(AppEuiT &&value)
Definition OtaaV1_0_x.h:62
void SetAppKey(AppKeyT &&value)
Definition OtaaV1_0_x.h:47
AWS_IOTWIRELESS_API OtaaV1_0_x()=default
const Aws::String & GetJoinEui() const
Definition OtaaV1_0_x.h:70
OtaaV1_0_x & WithGenAppKey(GenAppKeyT &&value)
Definition OtaaV1_0_x.h:87
OtaaV1_0_x & WithJoinEui(JoinEuiT &&value)
Definition OtaaV1_0_x.h:75
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetGenAppKey() const
Definition OtaaV1_0_x.h:82
void SetJoinEui(JoinEuiT &&value)
Definition OtaaV1_0_x.h:73
AWS_IOTWIRELESS_API OtaaV1_0_x & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAppKey() const
Definition OtaaV1_0_x.h:44
OtaaV1_0_x & WithAppKey(AppKeyT &&value)
Definition OtaaV1_0_x.h:49
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:85
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