AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationInstance.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{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Panorama
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_PANORAMA_API ApplicationInstance();
43 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetApplicationInstanceId() const{ return m_applicationInstanceId; }
51 inline bool ApplicationInstanceIdHasBeenSet() const { return m_applicationInstanceIdHasBeenSet; }
52 inline void SetApplicationInstanceId(const Aws::String& value) { m_applicationInstanceIdHasBeenSet = true; m_applicationInstanceId = value; }
53 inline void SetApplicationInstanceId(Aws::String&& value) { m_applicationInstanceIdHasBeenSet = true; m_applicationInstanceId = std::move(value); }
54 inline void SetApplicationInstanceId(const char* value) { m_applicationInstanceIdHasBeenSet = true; m_applicationInstanceId.assign(value); }
56 inline ApplicationInstance& WithApplicationInstanceId(Aws::String&& value) { SetApplicationInstanceId(std::move(value)); return *this;}
57 inline ApplicationInstance& WithApplicationInstanceId(const char* value) { SetApplicationInstanceId(value); return *this;}
59
61
64 inline const Aws::String& GetArn() const{ return m_arn; }
65 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
66 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
67 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
68 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
69 inline ApplicationInstance& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 inline ApplicationInstance& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
71 inline ApplicationInstance& WithArn(const char* value) { SetArn(value); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
79 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
80 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
81 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
82 inline ApplicationInstance& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
83 inline ApplicationInstance& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetDefaultRuntimeContextDevice() const{ return m_defaultRuntimeContextDevice; }
91 inline bool DefaultRuntimeContextDeviceHasBeenSet() const { return m_defaultRuntimeContextDeviceHasBeenSet; }
92 inline void SetDefaultRuntimeContextDevice(const Aws::String& value) { m_defaultRuntimeContextDeviceHasBeenSet = true; m_defaultRuntimeContextDevice = value; }
93 inline void SetDefaultRuntimeContextDevice(Aws::String&& value) { m_defaultRuntimeContextDeviceHasBeenSet = true; m_defaultRuntimeContextDevice = std::move(value); }
94 inline void SetDefaultRuntimeContextDevice(const char* value) { m_defaultRuntimeContextDeviceHasBeenSet = true; m_defaultRuntimeContextDevice.assign(value); }
99
101
104 inline const Aws::String& GetDefaultRuntimeContextDeviceName() const{ return m_defaultRuntimeContextDeviceName; }
105 inline bool DefaultRuntimeContextDeviceNameHasBeenSet() const { return m_defaultRuntimeContextDeviceNameHasBeenSet; }
106 inline void SetDefaultRuntimeContextDeviceName(const Aws::String& value) { m_defaultRuntimeContextDeviceNameHasBeenSet = true; m_defaultRuntimeContextDeviceName = value; }
107 inline void SetDefaultRuntimeContextDeviceName(Aws::String&& value) { m_defaultRuntimeContextDeviceNameHasBeenSet = true; m_defaultRuntimeContextDeviceName = std::move(value); }
108 inline void SetDefaultRuntimeContextDeviceName(const char* value) { m_defaultRuntimeContextDeviceNameHasBeenSet = true; m_defaultRuntimeContextDeviceName.assign(value); }
113
115
118 inline const Aws::String& GetDescription() const{ return m_description; }
119 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
120 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
121 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
122 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
123 inline ApplicationInstance& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
124 inline ApplicationInstance& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
125 inline ApplicationInstance& WithDescription(const char* value) { SetDescription(value); return *this;}
127
129
132 inline const ApplicationInstanceHealthStatus& GetHealthStatus() const{ return m_healthStatus; }
133 inline bool HealthStatusHasBeenSet() const { return m_healthStatusHasBeenSet; }
134 inline void SetHealthStatus(const ApplicationInstanceHealthStatus& value) { m_healthStatusHasBeenSet = true; m_healthStatus = value; }
135 inline void SetHealthStatus(ApplicationInstanceHealthStatus&& value) { m_healthStatusHasBeenSet = true; m_healthStatus = std::move(value); }
137 inline ApplicationInstance& WithHealthStatus(ApplicationInstanceHealthStatus&& value) { SetHealthStatus(std::move(value)); return *this;}
139
141
144 inline const Aws::String& GetName() const{ return m_name; }
145 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
146 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
147 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
148 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
149 inline ApplicationInstance& WithName(const Aws::String& value) { SetName(value); return *this;}
150 inline ApplicationInstance& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
151 inline ApplicationInstance& WithName(const char* value) { SetName(value); return *this;}
153
155
158 inline const Aws::Vector<ReportedRuntimeContextState>& GetRuntimeContextStates() const{ return m_runtimeContextStates; }
159 inline bool RuntimeContextStatesHasBeenSet() const { return m_runtimeContextStatesHasBeenSet; }
160 inline void SetRuntimeContextStates(const Aws::Vector<ReportedRuntimeContextState>& value) { m_runtimeContextStatesHasBeenSet = true; m_runtimeContextStates = value; }
161 inline void SetRuntimeContextStates(Aws::Vector<ReportedRuntimeContextState>&& value) { m_runtimeContextStatesHasBeenSet = true; m_runtimeContextStates = std::move(value); }
164 inline ApplicationInstance& AddRuntimeContextStates(const ReportedRuntimeContextState& value) { m_runtimeContextStatesHasBeenSet = true; m_runtimeContextStates.push_back(value); return *this; }
165 inline ApplicationInstance& AddRuntimeContextStates(ReportedRuntimeContextState&& value) { m_runtimeContextStatesHasBeenSet = true; m_runtimeContextStates.push_back(std::move(value)); return *this; }
167
169
172 inline const ApplicationInstanceStatus& GetStatus() const{ return m_status; }
173 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
174 inline void SetStatus(const ApplicationInstanceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
175 inline void SetStatus(ApplicationInstanceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
176 inline ApplicationInstance& WithStatus(const ApplicationInstanceStatus& value) { SetStatus(value); return *this;}
177 inline ApplicationInstance& WithStatus(ApplicationInstanceStatus&& value) { SetStatus(std::move(value)); return *this;}
179
181
184 inline const Aws::String& GetStatusDescription() const{ return m_statusDescription; }
185 inline bool StatusDescriptionHasBeenSet() const { return m_statusDescriptionHasBeenSet; }
186 inline void SetStatusDescription(const Aws::String& value) { m_statusDescriptionHasBeenSet = true; m_statusDescription = value; }
187 inline void SetStatusDescription(Aws::String&& value) { m_statusDescriptionHasBeenSet = true; m_statusDescription = std::move(value); }
188 inline void SetStatusDescription(const char* value) { m_statusDescriptionHasBeenSet = true; m_statusDescription.assign(value); }
189 inline ApplicationInstance& WithStatusDescription(const Aws::String& value) { SetStatusDescription(value); return *this;}
190 inline ApplicationInstance& WithStatusDescription(Aws::String&& value) { SetStatusDescription(std::move(value)); return *this;}
191 inline ApplicationInstance& WithStatusDescription(const char* value) { SetStatusDescription(value); return *this;}
193
195
198 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
199 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
200 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
201 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
202 inline ApplicationInstance& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
203 inline ApplicationInstance& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
204 inline ApplicationInstance& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
205 inline ApplicationInstance& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
206 inline ApplicationInstance& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
207 inline ApplicationInstance& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
208 inline ApplicationInstance& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
209 inline ApplicationInstance& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
210 inline ApplicationInstance& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
212 private:
213
214 Aws::String m_applicationInstanceId;
215 bool m_applicationInstanceIdHasBeenSet = false;
216
217 Aws::String m_arn;
218 bool m_arnHasBeenSet = false;
219
220 Aws::Utils::DateTime m_createdTime;
221 bool m_createdTimeHasBeenSet = false;
222
223 Aws::String m_defaultRuntimeContextDevice;
224 bool m_defaultRuntimeContextDeviceHasBeenSet = false;
225
226 Aws::String m_defaultRuntimeContextDeviceName;
227 bool m_defaultRuntimeContextDeviceNameHasBeenSet = false;
228
229 Aws::String m_description;
230 bool m_descriptionHasBeenSet = false;
231
232 ApplicationInstanceHealthStatus m_healthStatus;
233 bool m_healthStatusHasBeenSet = false;
234
235 Aws::String m_name;
236 bool m_nameHasBeenSet = false;
237
238 Aws::Vector<ReportedRuntimeContextState> m_runtimeContextStates;
239 bool m_runtimeContextStatesHasBeenSet = false;
240
242 bool m_statusHasBeenSet = false;
243
244 Aws::String m_statusDescription;
245 bool m_statusDescriptionHasBeenSet = false;
246
248 bool m_tagsHasBeenSet = false;
249 };
250
251} // namespace Model
252} // namespace Panorama
253} // namespace Aws
void SetApplicationInstanceId(Aws::String &&value)
ApplicationInstance & WithStatusDescription(Aws::String &&value)
ApplicationInstance & WithName(const char *value)
void SetRuntimeContextStates(Aws::Vector< ReportedRuntimeContextState > &&value)
AWS_PANORAMA_API ApplicationInstance(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTime(Aws::Utils::DateTime &&value)
ApplicationInstance & WithApplicationInstanceId(const Aws::String &value)
void SetDefaultRuntimeContextDeviceName(Aws::String &&value)
ApplicationInstance & WithDefaultRuntimeContextDeviceName(Aws::String &&value)
void SetHealthStatus(const ApplicationInstanceHealthStatus &value)
ApplicationInstance & WithArn(Aws::String &&value)
ApplicationInstance & AddRuntimeContextStates(const ReportedRuntimeContextState &value)
ApplicationInstance & WithApplicationInstanceId(const char *value)
void SetStatusDescription(const Aws::String &value)
const Aws::String & GetDefaultRuntimeContextDevice() const
ApplicationInstance & WithRuntimeContextStates(Aws::Vector< ReportedRuntimeContextState > &&value)
void SetApplicationInstanceId(const Aws::String &value)
ApplicationInstance & WithDefaultRuntimeContextDeviceName(const char *value)
ApplicationInstance & AddTags(Aws::String &&key, const char *value)
ApplicationInstance & WithDefaultRuntimeContextDevice(const char *value)
ApplicationInstance & WithStatusDescription(const Aws::String &value)
void SetDefaultRuntimeContextDevice(const char *value)
void SetDefaultRuntimeContextDevice(const Aws::String &value)
ApplicationInstance & AddTags(Aws::String &&key, const Aws::String &value)
ApplicationInstance & WithHealthStatus(ApplicationInstanceHealthStatus &&value)
ApplicationInstance & WithRuntimeContextStates(const Aws::Vector< ReportedRuntimeContextState > &value)
const Aws::String & GetStatusDescription() const
void SetStatus(ApplicationInstanceStatus &&value)
ApplicationInstance & WithName(const Aws::String &value)
void SetDefaultRuntimeContextDevice(Aws::String &&value)
ApplicationInstance & WithCreatedTime(Aws::Utils::DateTime &&value)
ApplicationInstance & WithDefaultRuntimeContextDeviceName(const Aws::String &value)
const Aws::String & GetDefaultRuntimeContextDeviceName() const
ApplicationInstance & WithDefaultRuntimeContextDevice(const Aws::String &value)
ApplicationInstance & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetStatus(const ApplicationInstanceStatus &value)
ApplicationInstance & WithDescription(const Aws::String &value)
ApplicationInstance & WithApplicationInstanceId(Aws::String &&value)
ApplicationInstance & WithName(Aws::String &&value)
ApplicationInstance & AddTags(const char *key, Aws::String &&value)
void SetDefaultRuntimeContextDeviceName(const Aws::String &value)
ApplicationInstance & WithStatus(const ApplicationInstanceStatus &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
ApplicationInstance & AddTags(const Aws::String &key, const Aws::String &value)
ApplicationInstance & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetRuntimeContextStates(const Aws::Vector< ReportedRuntimeContextState > &value)
ApplicationInstance & AddTags(const Aws::String &key, Aws::String &&value)
ApplicationInstance & WithStatusDescription(const char *value)
ApplicationInstance & AddRuntimeContextStates(ReportedRuntimeContextState &&value)
const Aws::String & GetApplicationInstanceId() const
AWS_PANORAMA_API ApplicationInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationInstance & WithDescription(const char *value)
void SetDefaultRuntimeContextDeviceName(const char *value)
const ApplicationInstanceStatus & GetStatus() const
void SetDescription(const Aws::String &value)
ApplicationInstance & WithCreatedTime(const Aws::Utils::DateTime &value)
ApplicationInstance & AddTags(const char *key, const char *value)
void SetHealthStatus(ApplicationInstanceHealthStatus &&value)
ApplicationInstance & WithArn(const Aws::String &value)
ApplicationInstance & WithArn(const char *value)
ApplicationInstance & WithStatus(ApplicationInstanceStatus &&value)
ApplicationInstance & WithHealthStatus(const ApplicationInstanceHealthStatus &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ApplicationInstance & AddTags(Aws::String &&key, Aws::String &&value)
ApplicationInstance & WithDescription(Aws::String &&value)
const Aws::Vector< ReportedRuntimeContextState > & GetRuntimeContextStates() const
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedTime() const
ApplicationInstance & WithDefaultRuntimeContextDevice(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const ApplicationInstanceHealthStatus & GetHealthStatus() const
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