AWS SDK for C++

AWS SDK for C++ Version 1.11.781

Loading...
Searching...
No Matches
DescribeApplicationInstanceResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/panorama/Panorama_EXPORTS.h>
13#include <aws/panorama/model/ApplicationInstanceHealthStatus.h>
14#include <aws/panorama/model/ApplicationInstanceStatus.h>
15#include <aws/panorama/model/ReportedRuntimeContextState.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Panorama {
29namespace Model {
31 public:
32 AWS_PANORAMA_API DescribeApplicationInstanceResult() = default;
35
37
40 inline const Aws::String& GetApplicationInstanceId() const { return m_applicationInstanceId; }
41 template <typename ApplicationInstanceIdT = Aws::String>
42 void SetApplicationInstanceId(ApplicationInstanceIdT&& value) {
43 m_applicationInstanceIdHasBeenSet = true;
44 m_applicationInstanceId = std::forward<ApplicationInstanceIdT>(value);
45 }
46 template <typename ApplicationInstanceIdT = Aws::String>
48 SetApplicationInstanceId(std::forward<ApplicationInstanceIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetApplicationInstanceIdToReplace() const { return m_applicationInstanceIdToReplace; }
58 template <typename ApplicationInstanceIdToReplaceT = Aws::String>
59 void SetApplicationInstanceIdToReplace(ApplicationInstanceIdToReplaceT&& value) {
60 m_applicationInstanceIdToReplaceHasBeenSet = true;
61 m_applicationInstanceIdToReplace = std::forward<ApplicationInstanceIdToReplaceT>(value);
62 }
63 template <typename ApplicationInstanceIdToReplaceT = Aws::String>
65 SetApplicationInstanceIdToReplace(std::forward<ApplicationInstanceIdToReplaceT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetArn() const { return m_arn; }
75 template <typename ArnT = Aws::String>
76 void SetArn(ArnT&& value) {
77 m_arnHasBeenSet = true;
78 m_arn = std::forward<ArnT>(value);
79 }
80 template <typename ArnT = Aws::String>
82 SetArn(std::forward<ArnT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
92 template <typename CreatedTimeT = Aws::Utils::DateTime>
93 void SetCreatedTime(CreatedTimeT&& value) {
94 m_createdTimeHasBeenSet = true;
95 m_createdTime = std::forward<CreatedTimeT>(value);
96 }
97 template <typename CreatedTimeT = Aws::Utils::DateTime>
99 SetCreatedTime(std::forward<CreatedTimeT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetDefaultRuntimeContextDevice() const { return m_defaultRuntimeContextDevice; }
109 template <typename DefaultRuntimeContextDeviceT = Aws::String>
110 void SetDefaultRuntimeContextDevice(DefaultRuntimeContextDeviceT&& value) {
111 m_defaultRuntimeContextDeviceHasBeenSet = true;
112 m_defaultRuntimeContextDevice = std::forward<DefaultRuntimeContextDeviceT>(value);
113 }
114 template <typename DefaultRuntimeContextDeviceT = Aws::String>
116 SetDefaultRuntimeContextDevice(std::forward<DefaultRuntimeContextDeviceT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::String& GetDefaultRuntimeContextDeviceName() const { return m_defaultRuntimeContextDeviceName; }
126 template <typename DefaultRuntimeContextDeviceNameT = Aws::String>
127 void SetDefaultRuntimeContextDeviceName(DefaultRuntimeContextDeviceNameT&& value) {
128 m_defaultRuntimeContextDeviceNameHasBeenSet = true;
129 m_defaultRuntimeContextDeviceName = std::forward<DefaultRuntimeContextDeviceNameT>(value);
130 }
131 template <typename DefaultRuntimeContextDeviceNameT = Aws::String>
133 SetDefaultRuntimeContextDeviceName(std::forward<DefaultRuntimeContextDeviceNameT>(value));
134 return *this;
135 }
137
139
142 inline const Aws::String& GetDescription() const { return m_description; }
143 template <typename DescriptionT = Aws::String>
144 void SetDescription(DescriptionT&& value) {
145 m_descriptionHasBeenSet = true;
146 m_description = std::forward<DescriptionT>(value);
147 }
148 template <typename DescriptionT = Aws::String>
150 SetDescription(std::forward<DescriptionT>(value));
151 return *this;
152 }
154
156
159 inline ApplicationInstanceHealthStatus GetHealthStatus() const { return m_healthStatus; }
161 m_healthStatusHasBeenSet = true;
162 m_healthStatus = value;
163 }
165 SetHealthStatus(value);
166 return *this;
167 }
169
171
174 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
175 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
176 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
177 m_lastUpdatedTimeHasBeenSet = true;
178 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
179 }
180 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
182 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::String& GetName() const { return m_name; }
192 template <typename NameT = Aws::String>
193 void SetName(NameT&& value) {
194 m_nameHasBeenSet = true;
195 m_name = std::forward<NameT>(value);
196 }
197 template <typename NameT = Aws::String>
199 SetName(std::forward<NameT>(value));
200 return *this;
201 }
203
205
208 inline const Aws::Vector<ReportedRuntimeContextState>& GetRuntimeContextStates() const { return m_runtimeContextStates; }
209 template <typename RuntimeContextStatesT = Aws::Vector<ReportedRuntimeContextState>>
210 void SetRuntimeContextStates(RuntimeContextStatesT&& value) {
211 m_runtimeContextStatesHasBeenSet = true;
212 m_runtimeContextStates = std::forward<RuntimeContextStatesT>(value);
213 }
214 template <typename RuntimeContextStatesT = Aws::Vector<ReportedRuntimeContextState>>
216 SetRuntimeContextStates(std::forward<RuntimeContextStatesT>(value));
217 return *this;
218 }
219 template <typename RuntimeContextStatesT = ReportedRuntimeContextState>
221 m_runtimeContextStatesHasBeenSet = true;
222 m_runtimeContextStates.emplace_back(std::forward<RuntimeContextStatesT>(value));
223 return *this;
224 }
226
228
231 inline const Aws::String& GetRuntimeRoleArn() const { return m_runtimeRoleArn; }
232 template <typename RuntimeRoleArnT = Aws::String>
233 void SetRuntimeRoleArn(RuntimeRoleArnT&& value) {
234 m_runtimeRoleArnHasBeenSet = true;
235 m_runtimeRoleArn = std::forward<RuntimeRoleArnT>(value);
236 }
237 template <typename RuntimeRoleArnT = Aws::String>
239 SetRuntimeRoleArn(std::forward<RuntimeRoleArnT>(value));
240 return *this;
241 }
243
245
248 inline ApplicationInstanceStatus GetStatus() const { return m_status; }
250 m_statusHasBeenSet = true;
251 m_status = value;
252 }
254 SetStatus(value);
255 return *this;
256 }
258
260
263 inline const Aws::String& GetStatusDescription() const { return m_statusDescription; }
264 template <typename StatusDescriptionT = Aws::String>
265 void SetStatusDescription(StatusDescriptionT&& value) {
266 m_statusDescriptionHasBeenSet = true;
267 m_statusDescription = std::forward<StatusDescriptionT>(value);
268 }
269 template <typename StatusDescriptionT = Aws::String>
271 SetStatusDescription(std::forward<StatusDescriptionT>(value));
272 return *this;
273 }
275
277
280 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
281 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
282 void SetTags(TagsT&& value) {
283 m_tagsHasBeenSet = true;
284 m_tags = std::forward<TagsT>(value);
285 }
286 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
288 SetTags(std::forward<TagsT>(value));
289 return *this;
290 }
291 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
292 DescribeApplicationInstanceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
293 m_tagsHasBeenSet = true;
294 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
295 return *this;
296 }
298
300
301 inline const Aws::String& GetRequestId() const { return m_requestId; }
302 template <typename RequestIdT = Aws::String>
303 void SetRequestId(RequestIdT&& value) {
304 m_requestIdHasBeenSet = true;
305 m_requestId = std::forward<RequestIdT>(value);
306 }
307 template <typename RequestIdT = Aws::String>
309 SetRequestId(std::forward<RequestIdT>(value));
310 return *this;
311 }
313 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
314
315 private:
316 Aws::String m_applicationInstanceId;
317
318 Aws::String m_applicationInstanceIdToReplace;
319
320 Aws::String m_arn;
321
322 Aws::Utils::DateTime m_createdTime{};
323
324 Aws::String m_defaultRuntimeContextDevice;
325
326 Aws::String m_defaultRuntimeContextDeviceName;
327
328 Aws::String m_description;
329
331
332 Aws::Utils::DateTime m_lastUpdatedTime{};
333
334 Aws::String m_name;
335
336 Aws::Vector<ReportedRuntimeContextState> m_runtimeContextStates;
337
338 Aws::String m_runtimeRoleArn;
339
341
342 Aws::String m_statusDescription;
343
345
346 Aws::String m_requestId;
347 Aws::Http::HttpResponseCode m_HttpResponseCode;
348 bool m_applicationInstanceIdHasBeenSet = false;
349 bool m_applicationInstanceIdToReplaceHasBeenSet = false;
350 bool m_arnHasBeenSet = false;
351 bool m_createdTimeHasBeenSet = false;
352 bool m_defaultRuntimeContextDeviceHasBeenSet = false;
353 bool m_defaultRuntimeContextDeviceNameHasBeenSet = false;
354 bool m_descriptionHasBeenSet = false;
355 bool m_healthStatusHasBeenSet = false;
356 bool m_lastUpdatedTimeHasBeenSet = false;
357 bool m_nameHasBeenSet = false;
358 bool m_runtimeContextStatesHasBeenSet = false;
359 bool m_runtimeRoleArnHasBeenSet = false;
360 bool m_statusHasBeenSet = false;
361 bool m_statusDescriptionHasBeenSet = false;
362 bool m_tagsHasBeenSet = false;
363 bool m_requestIdHasBeenSet = false;
364};
365
366} // namespace Model
367} // namespace Panorama
368} // namespace Aws
AWS_PANORAMA_API DescribeApplicationInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeApplicationInstanceResult & WithHealthStatus(ApplicationInstanceHealthStatus value)
DescribeApplicationInstanceResult & WithCreatedTime(CreatedTimeT &&value)
AWS_PANORAMA_API DescribeApplicationInstanceResult()=default
DescribeApplicationInstanceResult & AddRuntimeContextStates(RuntimeContextStatesT &&value)
void SetDefaultRuntimeContextDeviceName(DefaultRuntimeContextDeviceNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeApplicationInstanceResult & WithStatusDescription(StatusDescriptionT &&value)
DescribeApplicationInstanceResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
DescribeApplicationInstanceResult & WithName(NameT &&value)
DescribeApplicationInstanceResult & WithRuntimeContextStates(RuntimeContextStatesT &&value)
DescribeApplicationInstanceResult & WithDefaultRuntimeContextDeviceName(DefaultRuntimeContextDeviceNameT &&value)
DescribeApplicationInstanceResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeApplicationInstanceResult & WithArn(ArnT &&value)
DescribeApplicationInstanceResult & WithApplicationInstanceIdToReplace(ApplicationInstanceIdToReplaceT &&value)
const Aws::Vector< ReportedRuntimeContextState > & GetRuntimeContextStates() const
void SetApplicationInstanceIdToReplace(ApplicationInstanceIdToReplaceT &&value)
DescribeApplicationInstanceResult & WithTags(TagsT &&value)
void SetDefaultRuntimeContextDevice(DefaultRuntimeContextDeviceT &&value)
DescribeApplicationInstanceResult & WithDefaultRuntimeContextDevice(DefaultRuntimeContextDeviceT &&value)
DescribeApplicationInstanceResult & WithRequestId(RequestIdT &&value)
DescribeApplicationInstanceResult & WithApplicationInstanceId(ApplicationInstanceIdT &&value)
DescribeApplicationInstanceResult & WithRuntimeRoleArn(RuntimeRoleArnT &&value)
DescribeApplicationInstanceResult & WithDescription(DescriptionT &&value)
DescribeApplicationInstanceResult & WithStatus(ApplicationInstanceStatus value)
AWS_PANORAMA_API DescribeApplicationInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue