AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
DescribeApplicationInstanceResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/panorama/Panorama_EXPORTS.h>
12#include <aws/panorama/model/ApplicationInstanceHealthStatus.h>
13#include <aws/panorama/model/ApplicationInstanceStatus.h>
14#include <aws/panorama/model/ReportedRuntimeContextState.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Panorama {
28namespace Model {
30 public:
31 AWS_PANORAMA_API DescribeApplicationInstanceResult() = default;
34
36
39 inline const Aws::String& GetApplicationInstanceId() const { return m_applicationInstanceId; }
40 template <typename ApplicationInstanceIdT = Aws::String>
41 void SetApplicationInstanceId(ApplicationInstanceIdT&& value) {
42 m_applicationInstanceIdHasBeenSet = true;
43 m_applicationInstanceId = std::forward<ApplicationInstanceIdT>(value);
44 }
45 template <typename ApplicationInstanceIdT = Aws::String>
47 SetApplicationInstanceId(std::forward<ApplicationInstanceIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetApplicationInstanceIdToReplace() const { return m_applicationInstanceIdToReplace; }
57 template <typename ApplicationInstanceIdToReplaceT = Aws::String>
58 void SetApplicationInstanceIdToReplace(ApplicationInstanceIdToReplaceT&& value) {
59 m_applicationInstanceIdToReplaceHasBeenSet = true;
60 m_applicationInstanceIdToReplace = std::forward<ApplicationInstanceIdToReplaceT>(value);
61 }
62 template <typename ApplicationInstanceIdToReplaceT = Aws::String>
64 SetApplicationInstanceIdToReplace(std::forward<ApplicationInstanceIdToReplaceT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetArn() const { return m_arn; }
74 template <typename ArnT = Aws::String>
75 void SetArn(ArnT&& value) {
76 m_arnHasBeenSet = true;
77 m_arn = std::forward<ArnT>(value);
78 }
79 template <typename ArnT = Aws::String>
81 SetArn(std::forward<ArnT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
91 template <typename CreatedTimeT = Aws::Utils::DateTime>
92 void SetCreatedTime(CreatedTimeT&& value) {
93 m_createdTimeHasBeenSet = true;
94 m_createdTime = std::forward<CreatedTimeT>(value);
95 }
96 template <typename CreatedTimeT = Aws::Utils::DateTime>
98 SetCreatedTime(std::forward<CreatedTimeT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetDefaultRuntimeContextDevice() const { return m_defaultRuntimeContextDevice; }
108 template <typename DefaultRuntimeContextDeviceT = Aws::String>
109 void SetDefaultRuntimeContextDevice(DefaultRuntimeContextDeviceT&& value) {
110 m_defaultRuntimeContextDeviceHasBeenSet = true;
111 m_defaultRuntimeContextDevice = std::forward<DefaultRuntimeContextDeviceT>(value);
112 }
113 template <typename DefaultRuntimeContextDeviceT = Aws::String>
115 SetDefaultRuntimeContextDevice(std::forward<DefaultRuntimeContextDeviceT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetDefaultRuntimeContextDeviceName() const { return m_defaultRuntimeContextDeviceName; }
125 template <typename DefaultRuntimeContextDeviceNameT = Aws::String>
126 void SetDefaultRuntimeContextDeviceName(DefaultRuntimeContextDeviceNameT&& value) {
127 m_defaultRuntimeContextDeviceNameHasBeenSet = true;
128 m_defaultRuntimeContextDeviceName = std::forward<DefaultRuntimeContextDeviceNameT>(value);
129 }
130 template <typename DefaultRuntimeContextDeviceNameT = Aws::String>
132 SetDefaultRuntimeContextDeviceName(std::forward<DefaultRuntimeContextDeviceNameT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::String& GetDescription() const { return m_description; }
142 template <typename DescriptionT = Aws::String>
143 void SetDescription(DescriptionT&& value) {
144 m_descriptionHasBeenSet = true;
145 m_description = std::forward<DescriptionT>(value);
146 }
147 template <typename DescriptionT = Aws::String>
149 SetDescription(std::forward<DescriptionT>(value));
150 return *this;
151 }
153
155
158 inline ApplicationInstanceHealthStatus GetHealthStatus() const { return m_healthStatus; }
160 m_healthStatusHasBeenSet = true;
161 m_healthStatus = value;
162 }
164 SetHealthStatus(value);
165 return *this;
166 }
168
170
173 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
174 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
175 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
176 m_lastUpdatedTimeHasBeenSet = true;
177 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
178 }
179 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
181 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
182 return *this;
183 }
185
187
190 inline const Aws::String& GetName() const { return m_name; }
191 template <typename NameT = Aws::String>
192 void SetName(NameT&& value) {
193 m_nameHasBeenSet = true;
194 m_name = std::forward<NameT>(value);
195 }
196 template <typename NameT = Aws::String>
198 SetName(std::forward<NameT>(value));
199 return *this;
200 }
202
204
207 inline const Aws::Vector<ReportedRuntimeContextState>& GetRuntimeContextStates() const { return m_runtimeContextStates; }
208 template <typename RuntimeContextStatesT = Aws::Vector<ReportedRuntimeContextState>>
209 void SetRuntimeContextStates(RuntimeContextStatesT&& value) {
210 m_runtimeContextStatesHasBeenSet = true;
211 m_runtimeContextStates = std::forward<RuntimeContextStatesT>(value);
212 }
213 template <typename RuntimeContextStatesT = Aws::Vector<ReportedRuntimeContextState>>
215 SetRuntimeContextStates(std::forward<RuntimeContextStatesT>(value));
216 return *this;
217 }
218 template <typename RuntimeContextStatesT = ReportedRuntimeContextState>
220 m_runtimeContextStatesHasBeenSet = true;
221 m_runtimeContextStates.emplace_back(std::forward<RuntimeContextStatesT>(value));
222 return *this;
223 }
225
227
230 inline const Aws::String& GetRuntimeRoleArn() const { return m_runtimeRoleArn; }
231 template <typename RuntimeRoleArnT = Aws::String>
232 void SetRuntimeRoleArn(RuntimeRoleArnT&& value) {
233 m_runtimeRoleArnHasBeenSet = true;
234 m_runtimeRoleArn = std::forward<RuntimeRoleArnT>(value);
235 }
236 template <typename RuntimeRoleArnT = Aws::String>
238 SetRuntimeRoleArn(std::forward<RuntimeRoleArnT>(value));
239 return *this;
240 }
242
244
247 inline ApplicationInstanceStatus GetStatus() const { return m_status; }
249 m_statusHasBeenSet = true;
250 m_status = value;
251 }
253 SetStatus(value);
254 return *this;
255 }
257
259
262 inline const Aws::String& GetStatusDescription() const { return m_statusDescription; }
263 template <typename StatusDescriptionT = Aws::String>
264 void SetStatusDescription(StatusDescriptionT&& value) {
265 m_statusDescriptionHasBeenSet = true;
266 m_statusDescription = std::forward<StatusDescriptionT>(value);
267 }
268 template <typename StatusDescriptionT = Aws::String>
270 SetStatusDescription(std::forward<StatusDescriptionT>(value));
271 return *this;
272 }
274
276
279 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
280 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
281 void SetTags(TagsT&& value) {
282 m_tagsHasBeenSet = true;
283 m_tags = std::forward<TagsT>(value);
284 }
285 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
287 SetTags(std::forward<TagsT>(value));
288 return *this;
289 }
290 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
291 DescribeApplicationInstanceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
292 m_tagsHasBeenSet = true;
293 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
294 return *this;
295 }
297
299
300 inline const Aws::String& GetRequestId() const { return m_requestId; }
301 template <typename RequestIdT = Aws::String>
302 void SetRequestId(RequestIdT&& value) {
303 m_requestIdHasBeenSet = true;
304 m_requestId = std::forward<RequestIdT>(value);
305 }
306 template <typename RequestIdT = Aws::String>
308 SetRequestId(std::forward<RequestIdT>(value));
309 return *this;
310 }
312 private:
313 Aws::String m_applicationInstanceId;
314
315 Aws::String m_applicationInstanceIdToReplace;
316
317 Aws::String m_arn;
318
319 Aws::Utils::DateTime m_createdTime{};
320
321 Aws::String m_defaultRuntimeContextDevice;
322
323 Aws::String m_defaultRuntimeContextDeviceName;
324
325 Aws::String m_description;
326
328
329 Aws::Utils::DateTime m_lastUpdatedTime{};
330
331 Aws::String m_name;
332
333 Aws::Vector<ReportedRuntimeContextState> m_runtimeContextStates;
334
335 Aws::String m_runtimeRoleArn;
336
338
339 Aws::String m_statusDescription;
340
342
343 Aws::String m_requestId;
344 bool m_applicationInstanceIdHasBeenSet = false;
345 bool m_applicationInstanceIdToReplaceHasBeenSet = false;
346 bool m_arnHasBeenSet = false;
347 bool m_createdTimeHasBeenSet = false;
348 bool m_defaultRuntimeContextDeviceHasBeenSet = false;
349 bool m_defaultRuntimeContextDeviceNameHasBeenSet = false;
350 bool m_descriptionHasBeenSet = false;
351 bool m_healthStatusHasBeenSet = false;
352 bool m_lastUpdatedTimeHasBeenSet = false;
353 bool m_nameHasBeenSet = false;
354 bool m_runtimeContextStatesHasBeenSet = false;
355 bool m_runtimeRoleArnHasBeenSet = false;
356 bool m_statusHasBeenSet = false;
357 bool m_statusDescriptionHasBeenSet = false;
358 bool m_tagsHasBeenSet = false;
359 bool m_requestIdHasBeenSet = false;
360};
361
362} // namespace Model
363} // namespace Panorama
364} // 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