AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceProperty.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ssm/model/PingStatus.h>
11#include <aws/ssm/model/PlatformType.h>
12#include <aws/ssm/model/InstanceAggregatedAssociationOverview.h>
13#include <aws/ssm/model/SourceType.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SSM
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_SSM_API InstanceProperty();
44
45
47
51 inline const Aws::String& GetName() const{ return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
55 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
56 inline InstanceProperty& WithName(const Aws::String& value) { SetName(value); return *this;}
57 inline InstanceProperty& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
58 inline InstanceProperty& WithName(const char* value) { SetName(value); return *this;}
60
62
65 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
66 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
67 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
68 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
69 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
70 inline InstanceProperty& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
71 inline InstanceProperty& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
72 inline InstanceProperty& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
74
76
79 inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
80 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
81 inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
82 inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
83 inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
84 inline InstanceProperty& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
85 inline InstanceProperty& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
86 inline InstanceProperty& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
88
90
94 inline const Aws::String& GetInstanceRole() const{ return m_instanceRole; }
95 inline bool InstanceRoleHasBeenSet() const { return m_instanceRoleHasBeenSet; }
96 inline void SetInstanceRole(const Aws::String& value) { m_instanceRoleHasBeenSet = true; m_instanceRole = value; }
97 inline void SetInstanceRole(Aws::String&& value) { m_instanceRoleHasBeenSet = true; m_instanceRole = std::move(value); }
98 inline void SetInstanceRole(const char* value) { m_instanceRoleHasBeenSet = true; m_instanceRole.assign(value); }
99 inline InstanceProperty& WithInstanceRole(const Aws::String& value) { SetInstanceRole(value); return *this;}
100 inline InstanceProperty& WithInstanceRole(Aws::String&& value) { SetInstanceRole(std::move(value)); return *this;}
101 inline InstanceProperty& WithInstanceRole(const char* value) { SetInstanceRole(value); return *this;}
103
105
109 inline const Aws::String& GetKeyName() const{ return m_keyName; }
110 inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; }
111 inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; }
112 inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); }
113 inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); }
114 inline InstanceProperty& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;}
115 inline InstanceProperty& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;}
116 inline InstanceProperty& WithKeyName(const char* value) { SetKeyName(value); return *this;}
118
120
123 inline const Aws::String& GetInstanceState() const{ return m_instanceState; }
124 inline bool InstanceStateHasBeenSet() const { return m_instanceStateHasBeenSet; }
125 inline void SetInstanceState(const Aws::String& value) { m_instanceStateHasBeenSet = true; m_instanceState = value; }
126 inline void SetInstanceState(Aws::String&& value) { m_instanceStateHasBeenSet = true; m_instanceState = std::move(value); }
127 inline void SetInstanceState(const char* value) { m_instanceStateHasBeenSet = true; m_instanceState.assign(value); }
128 inline InstanceProperty& WithInstanceState(const Aws::String& value) { SetInstanceState(value); return *this;}
129 inline InstanceProperty& WithInstanceState(Aws::String&& value) { SetInstanceState(std::move(value)); return *this;}
130 inline InstanceProperty& WithInstanceState(const char* value) { SetInstanceState(value); return *this;}
132
134
137 inline const Aws::String& GetArchitecture() const{ return m_architecture; }
138 inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
139 inline void SetArchitecture(const Aws::String& value) { m_architectureHasBeenSet = true; m_architecture = value; }
140 inline void SetArchitecture(Aws::String&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); }
141 inline void SetArchitecture(const char* value) { m_architectureHasBeenSet = true; m_architecture.assign(value); }
142 inline InstanceProperty& WithArchitecture(const Aws::String& value) { SetArchitecture(value); return *this;}
143 inline InstanceProperty& WithArchitecture(Aws::String&& value) { SetArchitecture(std::move(value)); return *this;}
144 inline InstanceProperty& WithArchitecture(const char* value) { SetArchitecture(value); return *this;}
146
148
152 inline const Aws::String& GetIPAddress() const{ return m_iPAddress; }
153 inline bool IPAddressHasBeenSet() const { return m_iPAddressHasBeenSet; }
154 inline void SetIPAddress(const Aws::String& value) { m_iPAddressHasBeenSet = true; m_iPAddress = value; }
155 inline void SetIPAddress(Aws::String&& value) { m_iPAddressHasBeenSet = true; m_iPAddress = std::move(value); }
156 inline void SetIPAddress(const char* value) { m_iPAddressHasBeenSet = true; m_iPAddress.assign(value); }
157 inline InstanceProperty& WithIPAddress(const Aws::String& value) { SetIPAddress(value); return *this;}
158 inline InstanceProperty& WithIPAddress(Aws::String&& value) { SetIPAddress(std::move(value)); return *this;}
159 inline InstanceProperty& WithIPAddress(const char* value) { SetIPAddress(value); return *this;}
161
163
166 inline const Aws::Utils::DateTime& GetLaunchTime() const{ return m_launchTime; }
167 inline bool LaunchTimeHasBeenSet() const { return m_launchTimeHasBeenSet; }
168 inline void SetLaunchTime(const Aws::Utils::DateTime& value) { m_launchTimeHasBeenSet = true; m_launchTime = value; }
169 inline void SetLaunchTime(Aws::Utils::DateTime&& value) { m_launchTimeHasBeenSet = true; m_launchTime = std::move(value); }
170 inline InstanceProperty& WithLaunchTime(const Aws::Utils::DateTime& value) { SetLaunchTime(value); return *this;}
171 inline InstanceProperty& WithLaunchTime(Aws::Utils::DateTime&& value) { SetLaunchTime(std::move(value)); return *this;}
173
175
178 inline const PingStatus& GetPingStatus() const{ return m_pingStatus; }
179 inline bool PingStatusHasBeenSet() const { return m_pingStatusHasBeenSet; }
180 inline void SetPingStatus(const PingStatus& value) { m_pingStatusHasBeenSet = true; m_pingStatus = value; }
181 inline void SetPingStatus(PingStatus&& value) { m_pingStatusHasBeenSet = true; m_pingStatus = std::move(value); }
182 inline InstanceProperty& WithPingStatus(const PingStatus& value) { SetPingStatus(value); return *this;}
183 inline InstanceProperty& WithPingStatus(PingStatus&& value) { SetPingStatus(std::move(value)); return *this;}
185
187
191 inline const Aws::Utils::DateTime& GetLastPingDateTime() const{ return m_lastPingDateTime; }
192 inline bool LastPingDateTimeHasBeenSet() const { return m_lastPingDateTimeHasBeenSet; }
193 inline void SetLastPingDateTime(const Aws::Utils::DateTime& value) { m_lastPingDateTimeHasBeenSet = true; m_lastPingDateTime = value; }
194 inline void SetLastPingDateTime(Aws::Utils::DateTime&& value) { m_lastPingDateTimeHasBeenSet = true; m_lastPingDateTime = std::move(value); }
196 inline InstanceProperty& WithLastPingDateTime(Aws::Utils::DateTime&& value) { SetLastPingDateTime(std::move(value)); return *this;}
198
200
203 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
204 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
205 inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
206 inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); }
207 inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
208 inline InstanceProperty& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
209 inline InstanceProperty& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
210 inline InstanceProperty& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
212
214
218 inline const PlatformType& GetPlatformType() const{ return m_platformType; }
219 inline bool PlatformTypeHasBeenSet() const { return m_platformTypeHasBeenSet; }
220 inline void SetPlatformType(const PlatformType& value) { m_platformTypeHasBeenSet = true; m_platformType = value; }
221 inline void SetPlatformType(PlatformType&& value) { m_platformTypeHasBeenSet = true; m_platformType = std::move(value); }
222 inline InstanceProperty& WithPlatformType(const PlatformType& value) { SetPlatformType(value); return *this;}
223 inline InstanceProperty& WithPlatformType(PlatformType&& value) { SetPlatformType(std::move(value)); return *this;}
225
227
230 inline const Aws::String& GetPlatformName() const{ return m_platformName; }
231 inline bool PlatformNameHasBeenSet() const { return m_platformNameHasBeenSet; }
232 inline void SetPlatformName(const Aws::String& value) { m_platformNameHasBeenSet = true; m_platformName = value; }
233 inline void SetPlatformName(Aws::String&& value) { m_platformNameHasBeenSet = true; m_platformName = std::move(value); }
234 inline void SetPlatformName(const char* value) { m_platformNameHasBeenSet = true; m_platformName.assign(value); }
235 inline InstanceProperty& WithPlatformName(const Aws::String& value) { SetPlatformName(value); return *this;}
236 inline InstanceProperty& WithPlatformName(Aws::String&& value) { SetPlatformName(std::move(value)); return *this;}
237 inline InstanceProperty& WithPlatformName(const char* value) { SetPlatformName(value); return *this;}
239
241
244 inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; }
245 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
246 inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; }
247 inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); }
248 inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); }
249 inline InstanceProperty& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;}
250 inline InstanceProperty& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;}
251 inline InstanceProperty& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;}
253
255
259 inline const Aws::String& GetActivationId() const{ return m_activationId; }
260 inline bool ActivationIdHasBeenSet() const { return m_activationIdHasBeenSet; }
261 inline void SetActivationId(const Aws::String& value) { m_activationIdHasBeenSet = true; m_activationId = value; }
262 inline void SetActivationId(Aws::String&& value) { m_activationIdHasBeenSet = true; m_activationId = std::move(value); }
263 inline void SetActivationId(const char* value) { m_activationIdHasBeenSet = true; m_activationId.assign(value); }
264 inline InstanceProperty& WithActivationId(const Aws::String& value) { SetActivationId(value); return *this;}
265 inline InstanceProperty& WithActivationId(Aws::String&& value) { SetActivationId(std::move(value)); return *this;}
266 inline InstanceProperty& WithActivationId(const char* value) { SetActivationId(value); return *this;}
268
270
274 inline const Aws::String& GetIamRole() const{ return m_iamRole; }
275 inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; }
276 inline void SetIamRole(const Aws::String& value) { m_iamRoleHasBeenSet = true; m_iamRole = value; }
277 inline void SetIamRole(Aws::String&& value) { m_iamRoleHasBeenSet = true; m_iamRole = std::move(value); }
278 inline void SetIamRole(const char* value) { m_iamRoleHasBeenSet = true; m_iamRole.assign(value); }
279 inline InstanceProperty& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;}
280 inline InstanceProperty& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;}
281 inline InstanceProperty& WithIamRole(const char* value) { SetIamRole(value); return *this;}
283
285
288 inline const Aws::Utils::DateTime& GetRegistrationDate() const{ return m_registrationDate; }
289 inline bool RegistrationDateHasBeenSet() const { return m_registrationDateHasBeenSet; }
290 inline void SetRegistrationDate(const Aws::Utils::DateTime& value) { m_registrationDateHasBeenSet = true; m_registrationDate = value; }
291 inline void SetRegistrationDate(Aws::Utils::DateTime&& value) { m_registrationDateHasBeenSet = true; m_registrationDate = std::move(value); }
293 inline InstanceProperty& WithRegistrationDate(Aws::Utils::DateTime&& value) { SetRegistrationDate(std::move(value)); return *this;}
295
297
300 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
301 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
302 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
303 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
304 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
305 inline InstanceProperty& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
306 inline InstanceProperty& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
307 inline InstanceProperty& WithResourceType(const char* value) { SetResourceType(value); return *this;}
309
311
314 inline const Aws::String& GetComputerName() const{ return m_computerName; }
315 inline bool ComputerNameHasBeenSet() const { return m_computerNameHasBeenSet; }
316 inline void SetComputerName(const Aws::String& value) { m_computerNameHasBeenSet = true; m_computerName = value; }
317 inline void SetComputerName(Aws::String&& value) { m_computerNameHasBeenSet = true; m_computerName = std::move(value); }
318 inline void SetComputerName(const char* value) { m_computerNameHasBeenSet = true; m_computerName.assign(value); }
319 inline InstanceProperty& WithComputerName(const Aws::String& value) { SetComputerName(value); return *this;}
320 inline InstanceProperty& WithComputerName(Aws::String&& value) { SetComputerName(std::move(value)); return *this;}
321 inline InstanceProperty& WithComputerName(const char* value) { SetComputerName(value); return *this;}
323
325
328 inline const Aws::String& GetAssociationStatus() const{ return m_associationStatus; }
329 inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; }
330 inline void SetAssociationStatus(const Aws::String& value) { m_associationStatusHasBeenSet = true; m_associationStatus = value; }
331 inline void SetAssociationStatus(Aws::String&& value) { m_associationStatusHasBeenSet = true; m_associationStatus = std::move(value); }
332 inline void SetAssociationStatus(const char* value) { m_associationStatusHasBeenSet = true; m_associationStatus.assign(value); }
333 inline InstanceProperty& WithAssociationStatus(const Aws::String& value) { SetAssociationStatus(value); return *this;}
334 inline InstanceProperty& WithAssociationStatus(Aws::String&& value) { SetAssociationStatus(std::move(value)); return *this;}
335 inline InstanceProperty& WithAssociationStatus(const char* value) { SetAssociationStatus(value); return *this;}
337
339
342 inline const Aws::Utils::DateTime& GetLastAssociationExecutionDate() const{ return m_lastAssociationExecutionDate; }
343 inline bool LastAssociationExecutionDateHasBeenSet() const { return m_lastAssociationExecutionDateHasBeenSet; }
344 inline void SetLastAssociationExecutionDate(const Aws::Utils::DateTime& value) { m_lastAssociationExecutionDateHasBeenSet = true; m_lastAssociationExecutionDate = value; }
345 inline void SetLastAssociationExecutionDate(Aws::Utils::DateTime&& value) { m_lastAssociationExecutionDateHasBeenSet = true; m_lastAssociationExecutionDate = std::move(value); }
349
351
354 inline const Aws::Utils::DateTime& GetLastSuccessfulAssociationExecutionDate() const{ return m_lastSuccessfulAssociationExecutionDate; }
355 inline bool LastSuccessfulAssociationExecutionDateHasBeenSet() const { return m_lastSuccessfulAssociationExecutionDateHasBeenSet; }
356 inline void SetLastSuccessfulAssociationExecutionDate(const Aws::Utils::DateTime& value) { m_lastSuccessfulAssociationExecutionDateHasBeenSet = true; m_lastSuccessfulAssociationExecutionDate = value; }
357 inline void SetLastSuccessfulAssociationExecutionDate(Aws::Utils::DateTime&& value) { m_lastSuccessfulAssociationExecutionDateHasBeenSet = true; m_lastSuccessfulAssociationExecutionDate = std::move(value); }
361
363
364 inline const InstanceAggregatedAssociationOverview& GetAssociationOverview() const{ return m_associationOverview; }
365 inline bool AssociationOverviewHasBeenSet() const { return m_associationOverviewHasBeenSet; }
366 inline void SetAssociationOverview(const InstanceAggregatedAssociationOverview& value) { m_associationOverviewHasBeenSet = true; m_associationOverview = value; }
367 inline void SetAssociationOverview(InstanceAggregatedAssociationOverview&& value) { m_associationOverviewHasBeenSet = true; m_associationOverview = std::move(value); }
371
373
376 inline const Aws::String& GetSourceId() const{ return m_sourceId; }
377 inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; }
378 inline void SetSourceId(const Aws::String& value) { m_sourceIdHasBeenSet = true; m_sourceId = value; }
379 inline void SetSourceId(Aws::String&& value) { m_sourceIdHasBeenSet = true; m_sourceId = std::move(value); }
380 inline void SetSourceId(const char* value) { m_sourceIdHasBeenSet = true; m_sourceId.assign(value); }
381 inline InstanceProperty& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;}
382 inline InstanceProperty& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;}
383 inline InstanceProperty& WithSourceId(const char* value) { SetSourceId(value); return *this;}
385
387
390 inline const SourceType& GetSourceType() const{ return m_sourceType; }
391 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
392 inline void SetSourceType(const SourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
393 inline void SetSourceType(SourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
394 inline InstanceProperty& WithSourceType(const SourceType& value) { SetSourceType(value); return *this;}
395 inline InstanceProperty& WithSourceType(SourceType&& value) { SetSourceType(std::move(value)); return *this;}
397 private:
398
399 Aws::String m_name;
400 bool m_nameHasBeenSet = false;
401
402 Aws::String m_instanceId;
403 bool m_instanceIdHasBeenSet = false;
404
405 Aws::String m_instanceType;
406 bool m_instanceTypeHasBeenSet = false;
407
408 Aws::String m_instanceRole;
409 bool m_instanceRoleHasBeenSet = false;
410
411 Aws::String m_keyName;
412 bool m_keyNameHasBeenSet = false;
413
414 Aws::String m_instanceState;
415 bool m_instanceStateHasBeenSet = false;
416
417 Aws::String m_architecture;
418 bool m_architectureHasBeenSet = false;
419
420 Aws::String m_iPAddress;
421 bool m_iPAddressHasBeenSet = false;
422
423 Aws::Utils::DateTime m_launchTime;
424 bool m_launchTimeHasBeenSet = false;
425
426 PingStatus m_pingStatus;
427 bool m_pingStatusHasBeenSet = false;
428
429 Aws::Utils::DateTime m_lastPingDateTime;
430 bool m_lastPingDateTimeHasBeenSet = false;
431
432 Aws::String m_agentVersion;
433 bool m_agentVersionHasBeenSet = false;
434
435 PlatformType m_platformType;
436 bool m_platformTypeHasBeenSet = false;
437
438 Aws::String m_platformName;
439 bool m_platformNameHasBeenSet = false;
440
441 Aws::String m_platformVersion;
442 bool m_platformVersionHasBeenSet = false;
443
444 Aws::String m_activationId;
445 bool m_activationIdHasBeenSet = false;
446
447 Aws::String m_iamRole;
448 bool m_iamRoleHasBeenSet = false;
449
450 Aws::Utils::DateTime m_registrationDate;
451 bool m_registrationDateHasBeenSet = false;
452
453 Aws::String m_resourceType;
454 bool m_resourceTypeHasBeenSet = false;
455
456 Aws::String m_computerName;
457 bool m_computerNameHasBeenSet = false;
458
459 Aws::String m_associationStatus;
460 bool m_associationStatusHasBeenSet = false;
461
462 Aws::Utils::DateTime m_lastAssociationExecutionDate;
463 bool m_lastAssociationExecutionDateHasBeenSet = false;
464
465 Aws::Utils::DateTime m_lastSuccessfulAssociationExecutionDate;
466 bool m_lastSuccessfulAssociationExecutionDateHasBeenSet = false;
467
468 InstanceAggregatedAssociationOverview m_associationOverview;
469 bool m_associationOverviewHasBeenSet = false;
470
471 Aws::String m_sourceId;
472 bool m_sourceIdHasBeenSet = false;
473
474 SourceType m_sourceType;
475 bool m_sourceTypeHasBeenSet = false;
476 };
477
478} // namespace Model
479} // namespace SSM
480} // namespace Aws
void SetAssociationStatus(const char *value)
void SetIPAddress(const Aws::String &value)
InstanceProperty & WithSourceId(Aws::String &&value)
InstanceProperty & WithResourceType(const Aws::String &value)
InstanceProperty & WithInstanceType(const Aws::String &value)
InstanceProperty & WithLaunchTime(Aws::Utils::DateTime &&value)
void SetResourceType(const Aws::String &value)
const SourceType & GetSourceType() const
void SetLastAssociationExecutionDate(const Aws::Utils::DateTime &value)
void SetPlatformName(const char *value)
const Aws::String & GetComputerName() const
void SetInstanceRole(Aws::String &&value)
const Aws::Utils::DateTime & GetLastPingDateTime() const
void SetAssociationOverview(const InstanceAggregatedAssociationOverview &value)
InstanceProperty & WithResourceType(const char *value)
void SetPlatformType(PlatformType &&value)
void SetPlatformVersion(Aws::String &&value)
const Aws::Utils::DateTime & GetLastSuccessfulAssociationExecutionDate() const
InstanceProperty & WithLaunchTime(const Aws::Utils::DateTime &value)
InstanceProperty & WithResourceType(Aws::String &&value)
const Aws::Utils::DateTime & GetLastAssociationExecutionDate() const
void SetLastAssociationExecutionDate(Aws::Utils::DateTime &&value)
InstanceProperty & WithAssociationStatus(const Aws::String &value)
InstanceProperty & WithIPAddress(const Aws::String &value)
const Aws::Utils::DateTime & GetLaunchTime() const
InstanceProperty & WithPlatformVersion(Aws::String &&value)
void SetActivationId(Aws::String &&value)
InstanceProperty & WithSourceId(const char *value)
void SetAssociationStatus(const Aws::String &value)
void SetPingStatus(const PingStatus &value)
InstanceProperty & WithPlatformType(const PlatformType &value)
InstanceProperty & WithPlatformName(const Aws::String &value)
void SetInstanceRole(const Aws::String &value)
InstanceProperty & WithIamRole(Aws::String &&value)
void SetSourceType(SourceType &&value)
const InstanceAggregatedAssociationOverview & GetAssociationOverview() const
InstanceProperty & WithSourceId(const Aws::String &value)
InstanceProperty & WithInstanceState(const Aws::String &value)
InstanceProperty & WithRegistrationDate(const Aws::Utils::DateTime &value)
void SetName(Aws::String &&value)
const Aws::String & GetInstanceId() const
InstanceProperty & WithArchitecture(Aws::String &&value)
void SetInstanceState(const char *value)
InstanceProperty & WithPlatformName(const char *value)
InstanceProperty & WithAssociationOverview(const InstanceAggregatedAssociationOverview &value)
void SetComputerName(Aws::String &&value)
const Aws::String & GetIPAddress() const
InstanceProperty & WithAgentVersion(Aws::String &&value)
InstanceProperty & WithLastPingDateTime(Aws::Utils::DateTime &&value)
InstanceProperty & WithIPAddress(const char *value)
InstanceProperty & WithPlatformVersion(const char *value)
InstanceProperty & WithPlatformVersion(const Aws::String &value)
InstanceProperty & WithInstanceState(Aws::String &&value)
InstanceProperty & WithLastAssociationExecutionDate(const Aws::Utils::DateTime &value)
void SetPlatformType(const PlatformType &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceProperty & WithSourceType(const SourceType &value)
InstanceProperty & WithAssociationStatus(const char *value)
void SetPlatformVersion(const Aws::String &value)
void SetSourceType(const SourceType &value)
InstanceProperty & WithKeyName(const Aws::String &value)
const PingStatus & GetPingStatus() const
void SetKeyName(Aws::String &&value)
const Aws::String & GetInstanceType() const
void SetPlatformVersion(const char *value)
void SetSourceId(const char *value)
InstanceProperty & WithInstanceId(const char *value)
void SetPingStatus(PingStatus &&value)
InstanceProperty & WithInstanceState(const char *value)
void SetAgentVersion(const Aws::String &value)
void SetInstanceId(const char *value)
AWS_SSM_API InstanceProperty(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPlatformVersion() const
InstanceProperty & WithArchitecture(const char *value)
const Aws::String & GetSourceId() const
void SetLaunchTime(const Aws::Utils::DateTime &value)
InstanceProperty & WithSourceType(SourceType &&value)
const Aws::String & GetPlatformName() const
void SetLaunchTime(Aws::Utils::DateTime &&value)
InstanceProperty & WithLastPingDateTime(const Aws::Utils::DateTime &value)
void SetPlatformName(Aws::String &&value)
void SetLastPingDateTime(const Aws::Utils::DateTime &value)
void SetRegistrationDate(Aws::Utils::DateTime &&value)
void SetAssociationOverview(InstanceAggregatedAssociationOverview &&value)
const Aws::String & GetResourceType() const
bool LastSuccessfulAssociationExecutionDateHasBeenSet() const
InstanceProperty & WithKeyName(const char *value)
void SetName(const char *value)
void SetPlatformName(const Aws::String &value)
void SetArchitecture(const Aws::String &value)
void SetInstanceState(const Aws::String &value)
void SetInstanceType(Aws::String &&value)
void SetActivationId(const Aws::String &value)
const PlatformType & GetPlatformType() const
InstanceProperty & WithPlatformName(Aws::String &&value)
void SetAssociationStatus(Aws::String &&value)
void SetIPAddress(Aws::String &&value)
InstanceProperty & WithInstanceId(Aws::String &&value)
InstanceProperty & WithRegistrationDate(Aws::Utils::DateTime &&value)
void SetResourceType(const char *value)
InstanceProperty & WithInstanceId(const Aws::String &value)
const Aws::String & GetInstanceRole() const
void SetActivationId(const char *value)
AWS_SSM_API InstanceProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourceId(const Aws::String &value)
void SetLastSuccessfulAssociationExecutionDate(Aws::Utils::DateTime &&value)
const Aws::String & GetAgentVersion() const
InstanceProperty & WithIamRole(const Aws::String &value)
void SetInstanceType(const char *value)
const Aws::String & GetAssociationStatus() const
InstanceProperty & WithPingStatus(PingStatus &&value)
void SetKeyName(const char *value)
InstanceProperty & WithName(const char *value)
InstanceProperty & WithPingStatus(const PingStatus &value)
InstanceProperty & WithAssociationStatus(Aws::String &&value)
void SetKeyName(const Aws::String &value)
InstanceProperty & WithArchitecture(const Aws::String &value)
InstanceProperty & WithIPAddress(Aws::String &&value)
void SetName(const Aws::String &value)
void SetAgentVersion(Aws::String &&value)
InstanceProperty & WithActivationId(const Aws::String &value)
InstanceProperty & WithAssociationOverview(InstanceAggregatedAssociationOverview &&value)
void SetSourceId(Aws::String &&value)
const Aws::String & GetKeyName() const
InstanceProperty & WithName(const Aws::String &value)
void SetAgentVersion(const char *value)
const Aws::String & GetActivationId() const
void SetRegistrationDate(const Aws::Utils::DateTime &value)
InstanceProperty & WithKeyName(Aws::String &&value)
void SetIPAddress(const char *value)
InstanceProperty & WithInstanceRole(const char *value)
InstanceProperty & WithInstanceType(const char *value)
InstanceProperty & WithLastAssociationExecutionDate(Aws::Utils::DateTime &&value)
InstanceProperty & WithInstanceRole(Aws::String &&value)
InstanceProperty & WithComputerName(const Aws::String &value)
void SetInstanceRole(const char *value)
void SetInstanceType(const Aws::String &value)
InstanceProperty & WithInstanceType(Aws::String &&value)
InstanceProperty & WithAgentVersion(const char *value)
void SetIamRole(Aws::String &&value)
const Aws::String & GetArchitecture() const
void SetIamRole(const char *value)
InstanceProperty & WithIamRole(const char *value)
void SetResourceType(Aws::String &&value)
void SetComputerName(const char *value)
InstanceProperty & WithName(Aws::String &&value)
InstanceProperty & WithLastSuccessfulAssociationExecutionDate(Aws::Utils::DateTime &&value)
void SetInstanceState(Aws::String &&value)
void SetArchitecture(const char *value)
void SetIamRole(const Aws::String &value)
void SetInstanceId(const Aws::String &value)
InstanceProperty & WithActivationId(Aws::String &&value)
InstanceProperty & WithActivationId(const char *value)
void SetLastSuccessfulAssociationExecutionDate(const Aws::Utils::DateTime &value)
void SetLastPingDateTime(Aws::Utils::DateTime &&value)
InstanceProperty & WithLastSuccessfulAssociationExecutionDate(const Aws::Utils::DateTime &value)
const Aws::String & GetInstanceState() const
void SetComputerName(const Aws::String &value)
void SetInstanceId(Aws::String &&value)
const Aws::Utils::DateTime & GetRegistrationDate() const
InstanceProperty & WithInstanceRole(const Aws::String &value)
const Aws::String & GetName() const
InstanceProperty & WithComputerName(Aws::String &&value)
void SetArchitecture(Aws::String &&value)
InstanceProperty & WithAgentVersion(const Aws::String &value)
const Aws::String & GetIamRole() const
InstanceProperty & WithPlatformType(PlatformType &&value)
InstanceProperty & WithComputerName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue