AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetDeviceProfileResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/IoTWireless_EXPORTS.h>
10#include <aws/iotwireless/model/LoRaWANDeviceProfile.h>
11#include <aws/iotwireless/model/SidewalkGetDeviceProfile.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTWireless {
25namespace Model {
27 public:
28 AWS_IOTWIRELESS_API GetDeviceProfileResult() = default;
31
33
36 inline const Aws::String& GetArn() const { return m_arn; }
37 template <typename ArnT = Aws::String>
38 void SetArn(ArnT&& value) {
39 m_arnHasBeenSet = true;
40 m_arn = std::forward<ArnT>(value);
41 }
42 template <typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 template <typename NameT = Aws::String>
55 void SetName(NameT&& value) {
56 m_nameHasBeenSet = true;
57 m_name = std::forward<NameT>(value);
58 }
59 template <typename NameT = Aws::String>
61 SetName(std::forward<NameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetId() const { return m_id; }
71 template <typename IdT = Aws::String>
72 void SetId(IdT&& value) {
73 m_idHasBeenSet = true;
74 m_id = std::forward<IdT>(value);
75 }
76 template <typename IdT = Aws::String>
78 SetId(std::forward<IdT>(value));
79 return *this;
80 }
82
84
87 inline const LoRaWANDeviceProfile& GetLoRaWAN() const { return m_loRaWAN; }
88 template <typename LoRaWANT = LoRaWANDeviceProfile>
89 void SetLoRaWAN(LoRaWANT&& value) {
90 m_loRaWANHasBeenSet = true;
91 m_loRaWAN = std::forward<LoRaWANT>(value);
92 }
93 template <typename LoRaWANT = LoRaWANDeviceProfile>
95 SetLoRaWAN(std::forward<LoRaWANT>(value));
96 return *this;
97 }
99
101
104 inline const SidewalkGetDeviceProfile& GetSidewalk() const { return m_sidewalk; }
105 template <typename SidewalkT = SidewalkGetDeviceProfile>
106 void SetSidewalk(SidewalkT&& value) {
107 m_sidewalkHasBeenSet = true;
108 m_sidewalk = std::forward<SidewalkT>(value);
109 }
110 template <typename SidewalkT = SidewalkGetDeviceProfile>
112 SetSidewalk(std::forward<SidewalkT>(value));
113 return *this;
114 }
116
118
119 inline const Aws::String& GetRequestId() const { return m_requestId; }
120 template <typename RequestIdT = Aws::String>
121 void SetRequestId(RequestIdT&& value) {
122 m_requestIdHasBeenSet = true;
123 m_requestId = std::forward<RequestIdT>(value);
124 }
125 template <typename RequestIdT = Aws::String>
127 SetRequestId(std::forward<RequestIdT>(value));
128 return *this;
129 }
131 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
132
133 private:
134 Aws::String m_arn;
135
136 Aws::String m_name;
137
138 Aws::String m_id;
139
140 LoRaWANDeviceProfile m_loRaWAN;
141
142 SidewalkGetDeviceProfile m_sidewalk;
143
144 Aws::String m_requestId;
145 Aws::Http::HttpResponseCode m_HttpResponseCode;
146 bool m_arnHasBeenSet = false;
147 bool m_nameHasBeenSet = false;
148 bool m_idHasBeenSet = false;
149 bool m_loRaWANHasBeenSet = false;
150 bool m_sidewalkHasBeenSet = false;
151 bool m_requestIdHasBeenSet = false;
152};
153
154} // namespace Model
155} // namespace IoTWireless
156} // namespace Aws
GetDeviceProfileResult & WithRequestId(RequestIdT &&value)
GetDeviceProfileResult & WithId(IdT &&value)
AWS_IOTWIRELESS_API GetDeviceProfileResult()=default
GetDeviceProfileResult & WithSidewalk(SidewalkT &&value)
AWS_IOTWIRELESS_API GetDeviceProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeviceProfileResult & WithArn(ArnT &&value)
GetDeviceProfileResult & WithLoRaWAN(LoRaWANT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_IOTWIRELESS_API GetDeviceProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeviceProfileResult & WithName(NameT &&value)
const SidewalkGetDeviceProfile & GetSidewalk() const
const LoRaWANDeviceProfile & GetLoRaWAN() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue