AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OtaaV1_1.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_1();
35 AWS_IOTWIRELESS_API OtaaV1_1(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTWIRELESS_API OtaaV1_1& 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 inline void SetAppKey(const Aws::String& value) { m_appKeyHasBeenSet = true; m_appKey = value; }
47 inline void SetAppKey(Aws::String&& value) { m_appKeyHasBeenSet = true; m_appKey = std::move(value); }
48 inline void SetAppKey(const char* value) { m_appKeyHasBeenSet = true; m_appKey.assign(value); }
49 inline OtaaV1_1& WithAppKey(const Aws::String& value) { SetAppKey(value); return *this;}
50 inline OtaaV1_1& WithAppKey(Aws::String&& value) { SetAppKey(std::move(value)); return *this;}
51 inline OtaaV1_1& WithAppKey(const char* value) { SetAppKey(value); return *this;}
53
55
58 inline const Aws::String& GetNwkKey() const{ return m_nwkKey; }
59 inline bool NwkKeyHasBeenSet() const { return m_nwkKeyHasBeenSet; }
60 inline void SetNwkKey(const Aws::String& value) { m_nwkKeyHasBeenSet = true; m_nwkKey = value; }
61 inline void SetNwkKey(Aws::String&& value) { m_nwkKeyHasBeenSet = true; m_nwkKey = std::move(value); }
62 inline void SetNwkKey(const char* value) { m_nwkKeyHasBeenSet = true; m_nwkKey.assign(value); }
63 inline OtaaV1_1& WithNwkKey(const Aws::String& value) { SetNwkKey(value); return *this;}
64 inline OtaaV1_1& WithNwkKey(Aws::String&& value) { SetNwkKey(std::move(value)); return *this;}
65 inline OtaaV1_1& WithNwkKey(const char* value) { SetNwkKey(value); return *this;}
67
69
72 inline const Aws::String& GetJoinEui() const{ return m_joinEui; }
73 inline bool JoinEuiHasBeenSet() const { return m_joinEuiHasBeenSet; }
74 inline void SetJoinEui(const Aws::String& value) { m_joinEuiHasBeenSet = true; m_joinEui = value; }
75 inline void SetJoinEui(Aws::String&& value) { m_joinEuiHasBeenSet = true; m_joinEui = std::move(value); }
76 inline void SetJoinEui(const char* value) { m_joinEuiHasBeenSet = true; m_joinEui.assign(value); }
77 inline OtaaV1_1& WithJoinEui(const Aws::String& value) { SetJoinEui(value); return *this;}
78 inline OtaaV1_1& WithJoinEui(Aws::String&& value) { SetJoinEui(std::move(value)); return *this;}
79 inline OtaaV1_1& WithJoinEui(const char* value) { SetJoinEui(value); return *this;}
81 private:
82
83 Aws::String m_appKey;
84 bool m_appKeyHasBeenSet = false;
85
86 Aws::String m_nwkKey;
87 bool m_nwkKeyHasBeenSet = false;
88
89 Aws::String m_joinEui;
90 bool m_joinEuiHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace IoTWireless
95} // namespace Aws
const Aws::String & GetJoinEui() const
Definition OtaaV1_1.h:72
void SetAppKey(const Aws::String &value)
Definition OtaaV1_1.h:46
OtaaV1_1 & WithAppKey(Aws::String &&value)
Definition OtaaV1_1.h:50
void SetNwkKey(Aws::String &&value)
Definition OtaaV1_1.h:61
OtaaV1_1 & WithJoinEui(const Aws::String &value)
Definition OtaaV1_1.h:77
void SetJoinEui(const char *value)
Definition OtaaV1_1.h:76
void SetAppKey(const char *value)
Definition OtaaV1_1.h:48
AWS_IOTWIRELESS_API OtaaV1_1()
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
OtaaV1_1 & WithNwkKey(const char *value)
Definition OtaaV1_1.h:65
OtaaV1_1 & WithAppKey(const char *value)
Definition OtaaV1_1.h:51
const Aws::String & GetNwkKey() const
Definition OtaaV1_1.h:58
OtaaV1_1 & WithAppKey(const Aws::String &value)
Definition OtaaV1_1.h:49
OtaaV1_1 & WithJoinEui(Aws::String &&value)
Definition OtaaV1_1.h:78
void SetJoinEui(Aws::String &&value)
Definition OtaaV1_1.h:75
void SetNwkKey(const Aws::String &value)
Definition OtaaV1_1.h:60
void SetJoinEui(const Aws::String &value)
Definition OtaaV1_1.h:74
AWS_IOTWIRELESS_API OtaaV1_1(Aws::Utils::Json::JsonView jsonValue)
void SetNwkKey(const char *value)
Definition OtaaV1_1.h:62
const Aws::String & GetAppKey() const
Definition OtaaV1_1.h:44
OtaaV1_1 & WithNwkKey(const Aws::String &value)
Definition OtaaV1_1.h:63
OtaaV1_1 & WithJoinEui(const char *value)
Definition OtaaV1_1.h:79
OtaaV1_1 & WithNwkKey(Aws::String &&value)
Definition OtaaV1_1.h:64
void SetAppKey(Aws::String &&value)
Definition OtaaV1_1.h:47
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