AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ProvisionDeviceResult.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/panorama/Panorama_EXPORTS.h>
10#include <aws/panorama/model/DeviceStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Panorama {
24namespace Model {
26 public:
27 AWS_PANORAMA_API ProvisionDeviceResult() = default;
30
32
35 inline const Aws::String& GetArn() const { return m_arn; }
36 template <typename ArnT = Aws::String>
37 void SetArn(ArnT&& value) {
38 m_arnHasBeenSet = true;
39 m_arn = std::forward<ArnT>(value);
40 }
41 template <typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::Utils::ByteBuffer& GetCertificates() const { return m_certificates; }
53 template <typename CertificatesT = Aws::Utils::ByteBuffer>
54 void SetCertificates(CertificatesT&& value) {
55 m_certificatesHasBeenSet = true;
56 m_certificates = std::forward<CertificatesT>(value);
57 }
58 template <typename CertificatesT = Aws::Utils::ByteBuffer>
59 ProvisionDeviceResult& WithCertificates(CertificatesT&& value) {
60 SetCertificates(std::forward<CertificatesT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetDeviceId() const { return m_deviceId; }
70 template <typename DeviceIdT = Aws::String>
71 void SetDeviceId(DeviceIdT&& value) {
72 m_deviceIdHasBeenSet = true;
73 m_deviceId = std::forward<DeviceIdT>(value);
74 }
75 template <typename DeviceIdT = Aws::String>
76 ProvisionDeviceResult& WithDeviceId(DeviceIdT&& value) {
77 SetDeviceId(std::forward<DeviceIdT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetIotThingName() const { return m_iotThingName; }
87 template <typename IotThingNameT = Aws::String>
88 void SetIotThingName(IotThingNameT&& value) {
89 m_iotThingNameHasBeenSet = true;
90 m_iotThingName = std::forward<IotThingNameT>(value);
91 }
92 template <typename IotThingNameT = Aws::String>
93 ProvisionDeviceResult& WithIotThingName(IotThingNameT&& value) {
94 SetIotThingName(std::forward<IotThingNameT>(value));
95 return *this;
96 }
98
100
103 inline DeviceStatus GetStatus() const { return m_status; }
104 inline void SetStatus(DeviceStatus value) {
105 m_statusHasBeenSet = true;
106 m_status = value;
107 }
109 SetStatus(value);
110 return *this;
111 }
113
115
116 inline const Aws::String& GetRequestId() const { return m_requestId; }
117 template <typename RequestIdT = Aws::String>
118 void SetRequestId(RequestIdT&& value) {
119 m_requestIdHasBeenSet = true;
120 m_requestId = std::forward<RequestIdT>(value);
121 }
122 template <typename RequestIdT = Aws::String>
124 SetRequestId(std::forward<RequestIdT>(value));
125 return *this;
126 }
128 private:
129 Aws::String m_arn;
130
131 Aws::Utils::ByteBuffer m_certificates{};
132
133 Aws::String m_deviceId;
134
135 Aws::String m_iotThingName;
136
138
139 Aws::String m_requestId;
140 bool m_arnHasBeenSet = false;
141 bool m_certificatesHasBeenSet = false;
142 bool m_deviceIdHasBeenSet = false;
143 bool m_iotThingNameHasBeenSet = false;
144 bool m_statusHasBeenSet = false;
145 bool m_requestIdHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace Panorama
150} // namespace Aws
ProvisionDeviceResult & WithStatus(DeviceStatus value)
AWS_PANORAMA_API ProvisionDeviceResult()=default
ProvisionDeviceResult & WithRequestId(RequestIdT &&value)
AWS_PANORAMA_API ProvisionDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::ByteBuffer & GetCertificates() const
AWS_PANORAMA_API ProvisionDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ProvisionDeviceResult & WithArn(ArnT &&value)
ProvisionDeviceResult & WithIotThingName(IotThingNameT &&value)
ProvisionDeviceResult & WithDeviceId(DeviceIdT &&value)
ProvisionDeviceResult & WithCertificates(CertificatesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue