AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 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_1& WithAppKey(AppKeyT&& value) { SetAppKey(std::forward<AppKeyT>(value)); return *this;}
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) { m_nwkKeyHasBeenSet = true; m_nwkKey = std::forward<NwkKeyT>(value); }
60 template<typename NwkKeyT = Aws::String>
61 OtaaV1_1& WithNwkKey(NwkKeyT&& value) { SetNwkKey(std::forward<NwkKeyT>(value)); return *this;}
63
65
68 inline const Aws::String& GetJoinEui() const { return m_joinEui; }
69 inline bool JoinEuiHasBeenSet() const { return m_joinEuiHasBeenSet; }
70 template<typename JoinEuiT = Aws::String>
71 void SetJoinEui(JoinEuiT&& value) { m_joinEuiHasBeenSet = true; m_joinEui = std::forward<JoinEuiT>(value); }
72 template<typename JoinEuiT = Aws::String>
73 OtaaV1_1& WithJoinEui(JoinEuiT&& value) { SetJoinEui(std::forward<JoinEuiT>(value)); return *this;}
75 private:
76
77 Aws::String m_appKey;
78 bool m_appKeyHasBeenSet = false;
79
80 Aws::String m_nwkKey;
81 bool m_nwkKeyHasBeenSet = false;
82
83 Aws::String m_joinEui;
84 bool m_joinEuiHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace IoTWireless
89} // namespace Aws
const Aws::String & GetJoinEui() const
Definition OtaaV1_1.h:68
void SetAppKey(AppKeyT &&value)
Definition OtaaV1_1.h:47
void SetJoinEui(JoinEuiT &&value)
Definition OtaaV1_1.h:71
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:73
const Aws::String & GetAppKey() const
Definition OtaaV1_1.h:44
OtaaV1_1 & WithNwkKey(NwkKeyT &&value)
Definition OtaaV1_1.h:61
OtaaV1_1 & WithAppKey(AppKeyT &&value)
Definition OtaaV1_1.h:49
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