AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeApplicationInstanceResult.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/panorama/model/ApplicationInstanceHealthStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/panorama/model/ApplicationInstanceStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/panorama/model/ReportedRuntimeContextState.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace Panorama
30{
31namespace Model
32{
34 {
35 public:
39
40
42
45 inline const Aws::String& GetApplicationInstanceId() const{ return m_applicationInstanceId; }
46 inline void SetApplicationInstanceId(const Aws::String& value) { m_applicationInstanceId = value; }
47 inline void SetApplicationInstanceId(Aws::String&& value) { m_applicationInstanceId = std::move(value); }
48 inline void SetApplicationInstanceId(const char* value) { m_applicationInstanceId.assign(value); }
53
55
58 inline const Aws::String& GetApplicationInstanceIdToReplace() const{ return m_applicationInstanceIdToReplace; }
59 inline void SetApplicationInstanceIdToReplace(const Aws::String& value) { m_applicationInstanceIdToReplace = value; }
60 inline void SetApplicationInstanceIdToReplace(Aws::String&& value) { m_applicationInstanceIdToReplace = std::move(value); }
61 inline void SetApplicationInstanceIdToReplace(const char* value) { m_applicationInstanceIdToReplace.assign(value); }
66
68
71 inline const Aws::String& GetArn() const{ return m_arn; }
72 inline void SetArn(const Aws::String& value) { m_arn = value; }
73 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
74 inline void SetArn(const char* value) { m_arn.assign(value); }
75 inline DescribeApplicationInstanceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
76 inline DescribeApplicationInstanceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
77 inline DescribeApplicationInstanceResult& WithArn(const char* value) { SetArn(value); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
85 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; }
86 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); }
88 inline DescribeApplicationInstanceResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
90
92
95 inline const Aws::String& GetDefaultRuntimeContextDevice() const{ return m_defaultRuntimeContextDevice; }
96 inline void SetDefaultRuntimeContextDevice(const Aws::String& value) { m_defaultRuntimeContextDevice = value; }
97 inline void SetDefaultRuntimeContextDevice(Aws::String&& value) { m_defaultRuntimeContextDevice = std::move(value); }
98 inline void SetDefaultRuntimeContextDevice(const char* value) { m_defaultRuntimeContextDevice.assign(value); }
103
105
108 inline const Aws::String& GetDefaultRuntimeContextDeviceName() const{ return m_defaultRuntimeContextDeviceName; }
109 inline void SetDefaultRuntimeContextDeviceName(const Aws::String& value) { m_defaultRuntimeContextDeviceName = value; }
110 inline void SetDefaultRuntimeContextDeviceName(Aws::String&& value) { m_defaultRuntimeContextDeviceName = std::move(value); }
111 inline void SetDefaultRuntimeContextDeviceName(const char* value) { m_defaultRuntimeContextDeviceName.assign(value); }
116
118
121 inline const Aws::String& GetDescription() const{ return m_description; }
122 inline void SetDescription(const Aws::String& value) { m_description = value; }
123 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
124 inline void SetDescription(const char* value) { m_description.assign(value); }
126 inline DescribeApplicationInstanceResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
127 inline DescribeApplicationInstanceResult& WithDescription(const char* value) { SetDescription(value); return *this;}
129
131
134 inline const ApplicationInstanceHealthStatus& GetHealthStatus() const{ return m_healthStatus; }
135 inline void SetHealthStatus(const ApplicationInstanceHealthStatus& value) { m_healthStatus = value; }
136 inline void SetHealthStatus(ApplicationInstanceHealthStatus&& value) { m_healthStatus = std::move(value); }
140
142
145 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
146 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTime = value; }
147 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTime = std::move(value); }
151
153
156 inline const Aws::String& GetName() const{ return m_name; }
157 inline void SetName(const Aws::String& value) { m_name = value; }
158 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
159 inline void SetName(const char* value) { m_name.assign(value); }
160 inline DescribeApplicationInstanceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
161 inline DescribeApplicationInstanceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
162 inline DescribeApplicationInstanceResult& WithName(const char* value) { SetName(value); return *this;}
164
166
169 inline const Aws::Vector<ReportedRuntimeContextState>& GetRuntimeContextStates() const{ return m_runtimeContextStates; }
170 inline void SetRuntimeContextStates(const Aws::Vector<ReportedRuntimeContextState>& value) { m_runtimeContextStates = value; }
171 inline void SetRuntimeContextStates(Aws::Vector<ReportedRuntimeContextState>&& value) { m_runtimeContextStates = std::move(value); }
174 inline DescribeApplicationInstanceResult& AddRuntimeContextStates(const ReportedRuntimeContextState& value) { m_runtimeContextStates.push_back(value); return *this; }
175 inline DescribeApplicationInstanceResult& AddRuntimeContextStates(ReportedRuntimeContextState&& value) { m_runtimeContextStates.push_back(std::move(value)); return *this; }
177
179
182 inline const Aws::String& GetRuntimeRoleArn() const{ return m_runtimeRoleArn; }
183 inline void SetRuntimeRoleArn(const Aws::String& value) { m_runtimeRoleArn = value; }
184 inline void SetRuntimeRoleArn(Aws::String&& value) { m_runtimeRoleArn = std::move(value); }
185 inline void SetRuntimeRoleArn(const char* value) { m_runtimeRoleArn.assign(value); }
187 inline DescribeApplicationInstanceResult& WithRuntimeRoleArn(Aws::String&& value) { SetRuntimeRoleArn(std::move(value)); return *this;}
188 inline DescribeApplicationInstanceResult& WithRuntimeRoleArn(const char* value) { SetRuntimeRoleArn(value); return *this;}
190
192
195 inline const ApplicationInstanceStatus& GetStatus() const{ return m_status; }
196 inline void SetStatus(const ApplicationInstanceStatus& value) { m_status = value; }
197 inline void SetStatus(ApplicationInstanceStatus&& value) { m_status = std::move(value); }
199 inline DescribeApplicationInstanceResult& WithStatus(ApplicationInstanceStatus&& value) { SetStatus(std::move(value)); return *this;}
201
203
206 inline const Aws::String& GetStatusDescription() const{ return m_statusDescription; }
207 inline void SetStatusDescription(const Aws::String& value) { m_statusDescription = value; }
208 inline void SetStatusDescription(Aws::String&& value) { m_statusDescription = std::move(value); }
209 inline void SetStatusDescription(const char* value) { m_statusDescription.assign(value); }
212 inline DescribeApplicationInstanceResult& WithStatusDescription(const char* value) { SetStatusDescription(value); return *this;}
214
216
219 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
220 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
221 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
224 inline DescribeApplicationInstanceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
225 inline DescribeApplicationInstanceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
226 inline DescribeApplicationInstanceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
227 inline DescribeApplicationInstanceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
228 inline DescribeApplicationInstanceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
229 inline DescribeApplicationInstanceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
230 inline DescribeApplicationInstanceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
232
234
235 inline const Aws::String& GetRequestId() const{ return m_requestId; }
236 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
237 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
238 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
239 inline DescribeApplicationInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
240 inline DescribeApplicationInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
241 inline DescribeApplicationInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
243 private:
244
245 Aws::String m_applicationInstanceId;
246
247 Aws::String m_applicationInstanceIdToReplace;
248
249 Aws::String m_arn;
250
251 Aws::Utils::DateTime m_createdTime;
252
253 Aws::String m_defaultRuntimeContextDevice;
254
255 Aws::String m_defaultRuntimeContextDeviceName;
256
257 Aws::String m_description;
258
259 ApplicationInstanceHealthStatus m_healthStatus;
260
261 Aws::Utils::DateTime m_lastUpdatedTime;
262
263 Aws::String m_name;
264
265 Aws::Vector<ReportedRuntimeContextState> m_runtimeContextStates;
266
267 Aws::String m_runtimeRoleArn;
268
270
271 Aws::String m_statusDescription;
272
274
275 Aws::String m_requestId;
276 };
277
278} // namespace Model
279} // namespace Panorama
280} // namespace Aws
DescribeApplicationInstanceResult & WithRuntimeContextStates(const Aws::Vector< ReportedRuntimeContextState > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeApplicationInstanceResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribeApplicationInstanceResult & WithRequestId(Aws::String &&value)
AWS_PANORAMA_API DescribeApplicationInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeApplicationInstanceResult & WithRuntimeRoleArn(Aws::String &&value)
DescribeApplicationInstanceResult & WithCreatedTime(Aws::Utils::DateTime &&value)
DescribeApplicationInstanceResult & WithStatus(ApplicationInstanceStatus &&value)
DescribeApplicationInstanceResult & AddRuntimeContextStates(const ReportedRuntimeContextState &value)
void SetRuntimeContextStates(const Aws::Vector< ReportedRuntimeContextState > &value)
DescribeApplicationInstanceResult & WithArn(const Aws::String &value)
void SetRuntimeContextStates(Aws::Vector< ReportedRuntimeContextState > &&value)
DescribeApplicationInstanceResult & WithArn(const char *value)
DescribeApplicationInstanceResult & WithApplicationInstanceId(const Aws::String &value)
DescribeApplicationInstanceResult & WithArn(Aws::String &&value)
DescribeApplicationInstanceResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeApplicationInstanceResult & WithApplicationInstanceIdToReplace(const Aws::String &value)
DescribeApplicationInstanceResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeApplicationInstanceResult & WithDefaultRuntimeContextDeviceName(Aws::String &&value)
DescribeApplicationInstanceResult & WithDefaultRuntimeContextDevice(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeApplicationInstanceResult & WithRuntimeContextStates(Aws::Vector< ReportedRuntimeContextState > &&value)
DescribeApplicationInstanceResult & WithDescription(Aws::String &&value)
DescribeApplicationInstanceResult & WithStatus(const ApplicationInstanceStatus &value)
const Aws::Vector< ReportedRuntimeContextState > & GetRuntimeContextStates() const
const ApplicationInstanceHealthStatus & GetHealthStatus() const
DescribeApplicationInstanceResult & WithRuntimeRoleArn(const Aws::String &value)
DescribeApplicationInstanceResult & WithHealthStatus(ApplicationInstanceHealthStatus &&value)
DescribeApplicationInstanceResult & WithStatusDescription(const Aws::String &value)
DescribeApplicationInstanceResult & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
DescribeApplicationInstanceResult & WithApplicationInstanceIdToReplace(Aws::String &&value)
DescribeApplicationInstanceResult & WithRuntimeRoleArn(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeApplicationInstanceResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeApplicationInstanceResult & WithApplicationInstanceId(const char *value)
DescribeApplicationInstanceResult & WithDefaultRuntimeContextDeviceName(const Aws::String &value)
DescribeApplicationInstanceResult & WithHealthStatus(const ApplicationInstanceHealthStatus &value)
DescribeApplicationInstanceResult & WithDescription(const Aws::String &value)
DescribeApplicationInstanceResult & WithDefaultRuntimeContextDevice(Aws::String &&value)
DescribeApplicationInstanceResult & WithDescription(const char *value)
DescribeApplicationInstanceResult & AddTags(const char *key, const char *value)
DescribeApplicationInstanceResult & WithStatusDescription(Aws::String &&value)
DescribeApplicationInstanceResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeApplicationInstanceResult & WithStatusDescription(const char *value)
DescribeApplicationInstanceResult & WithName(Aws::String &&value)
DescribeApplicationInstanceResult & WithRequestId(const char *value)
DescribeApplicationInstanceResult & WithName(const Aws::String &value)
DescribeApplicationInstanceResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeApplicationInstanceResult & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
DescribeApplicationInstanceResult & WithDefaultRuntimeContextDeviceName(const char *value)
DescribeApplicationInstanceResult & AddTags(const char *key, Aws::String &&value)
void SetHealthStatus(const ApplicationInstanceHealthStatus &value)
DescribeApplicationInstanceResult & WithRequestId(const Aws::String &value)
DescribeApplicationInstanceResult & AddTags(Aws::String &&key, const char *value)
DescribeApplicationInstanceResult & WithName(const char *value)
DescribeApplicationInstanceResult & WithApplicationInstanceId(Aws::String &&value)
DescribeApplicationInstanceResult & WithCreatedTime(const Aws::Utils::DateTime &value)
DescribeApplicationInstanceResult & WithDefaultRuntimeContextDevice(const char *value)
DescribeApplicationInstanceResult & AddRuntimeContextStates(ReportedRuntimeContextState &&value)
AWS_PANORAMA_API DescribeApplicationInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeApplicationInstanceResult & WithApplicationInstanceIdToReplace(const char *value)
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