AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceInformation.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/PingStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ssm/model/PlatformType.h>
12#include <aws/ssm/model/ResourceType.h>
13#include <aws/ssm/model/InstanceAggregatedAssociationOverview.h>
14#include <aws/ssm/model/SourceType.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 SSM
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_SSM_API InstanceInformation();
45
46
48
51 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
52 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
53 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
54 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
55 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
56 inline InstanceInformation& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
57 inline InstanceInformation& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
58 inline InstanceInformation& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
60
62
66 inline const PingStatus& GetPingStatus() const{ return m_pingStatus; }
67 inline bool PingStatusHasBeenSet() const { return m_pingStatusHasBeenSet; }
68 inline void SetPingStatus(const PingStatus& value) { m_pingStatusHasBeenSet = true; m_pingStatus = value; }
69 inline void SetPingStatus(PingStatus&& value) { m_pingStatusHasBeenSet = true; m_pingStatus = std::move(value); }
70 inline InstanceInformation& WithPingStatus(const PingStatus& value) { SetPingStatus(value); return *this;}
71 inline InstanceInformation& WithPingStatus(PingStatus&& value) { SetPingStatus(std::move(value)); return *this;}
73
75
79 inline const Aws::Utils::DateTime& GetLastPingDateTime() const{ return m_lastPingDateTime; }
80 inline bool LastPingDateTimeHasBeenSet() const { return m_lastPingDateTimeHasBeenSet; }
81 inline void SetLastPingDateTime(const Aws::Utils::DateTime& value) { m_lastPingDateTimeHasBeenSet = true; m_lastPingDateTime = value; }
82 inline void SetLastPingDateTime(Aws::Utils::DateTime&& value) { m_lastPingDateTimeHasBeenSet = true; m_lastPingDateTime = std::move(value); }
84 inline InstanceInformation& WithLastPingDateTime(Aws::Utils::DateTime&& value) { SetLastPingDateTime(std::move(value)); return *this;}
86
88
91 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
92 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
93 inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
94 inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); }
95 inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
96 inline InstanceInformation& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
97 inline InstanceInformation& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
98 inline InstanceInformation& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
100
102
108 inline bool GetIsLatestVersion() const{ return m_isLatestVersion; }
109 inline bool IsLatestVersionHasBeenSet() const { return m_isLatestVersionHasBeenSet; }
110 inline void SetIsLatestVersion(bool value) { m_isLatestVersionHasBeenSet = true; m_isLatestVersion = value; }
111 inline InstanceInformation& WithIsLatestVersion(bool value) { SetIsLatestVersion(value); return *this;}
113
115
118 inline const PlatformType& GetPlatformType() const{ return m_platformType; }
119 inline bool PlatformTypeHasBeenSet() const { return m_platformTypeHasBeenSet; }
120 inline void SetPlatformType(const PlatformType& value) { m_platformTypeHasBeenSet = true; m_platformType = value; }
121 inline void SetPlatformType(PlatformType&& value) { m_platformTypeHasBeenSet = true; m_platformType = std::move(value); }
122 inline InstanceInformation& WithPlatformType(const PlatformType& value) { SetPlatformType(value); return *this;}
123 inline InstanceInformation& WithPlatformType(PlatformType&& value) { SetPlatformType(std::move(value)); return *this;}
125
127
130 inline const Aws::String& GetPlatformName() const{ return m_platformName; }
131 inline bool PlatformNameHasBeenSet() const { return m_platformNameHasBeenSet; }
132 inline void SetPlatformName(const Aws::String& value) { m_platformNameHasBeenSet = true; m_platformName = value; }
133 inline void SetPlatformName(Aws::String&& value) { m_platformNameHasBeenSet = true; m_platformName = std::move(value); }
134 inline void SetPlatformName(const char* value) { m_platformNameHasBeenSet = true; m_platformName.assign(value); }
135 inline InstanceInformation& WithPlatformName(const Aws::String& value) { SetPlatformName(value); return *this;}
136 inline InstanceInformation& WithPlatformName(Aws::String&& value) { SetPlatformName(std::move(value)); return *this;}
137 inline InstanceInformation& WithPlatformName(const char* value) { SetPlatformName(value); return *this;}
139
141
144 inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; }
145 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
146 inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; }
147 inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); }
148 inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); }
149 inline InstanceInformation& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;}
150 inline InstanceInformation& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;}
151 inline InstanceInformation& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;}
153
155
159 inline const Aws::String& GetActivationId() const{ return m_activationId; }
160 inline bool ActivationIdHasBeenSet() const { return m_activationIdHasBeenSet; }
161 inline void SetActivationId(const Aws::String& value) { m_activationIdHasBeenSet = true; m_activationId = value; }
162 inline void SetActivationId(Aws::String&& value) { m_activationIdHasBeenSet = true; m_activationId = std::move(value); }
163 inline void SetActivationId(const char* value) { m_activationIdHasBeenSet = true; m_activationId.assign(value); }
164 inline InstanceInformation& WithActivationId(const Aws::String& value) { SetActivationId(value); return *this;}
165 inline InstanceInformation& WithActivationId(Aws::String&& value) { SetActivationId(std::move(value)); return *this;}
166 inline InstanceInformation& WithActivationId(const char* value) { SetActivationId(value); return *this;}
168
170
182 inline const Aws::String& GetIamRole() const{ return m_iamRole; }
183 inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; }
184 inline void SetIamRole(const Aws::String& value) { m_iamRoleHasBeenSet = true; m_iamRole = value; }
185 inline void SetIamRole(Aws::String&& value) { m_iamRoleHasBeenSet = true; m_iamRole = std::move(value); }
186 inline void SetIamRole(const char* value) { m_iamRoleHasBeenSet = true; m_iamRole.assign(value); }
187 inline InstanceInformation& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;}
188 inline InstanceInformation& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;}
189 inline InstanceInformation& WithIamRole(const char* value) { SetIamRole(value); return *this;}
191
193
197 inline const Aws::Utils::DateTime& GetRegistrationDate() const{ return m_registrationDate; }
198 inline bool RegistrationDateHasBeenSet() const { return m_registrationDateHasBeenSet; }
199 inline void SetRegistrationDate(const Aws::Utils::DateTime& value) { m_registrationDateHasBeenSet = true; m_registrationDate = value; }
200 inline void SetRegistrationDate(Aws::Utils::DateTime&& value) { m_registrationDateHasBeenSet = true; m_registrationDate = std::move(value); }
202 inline InstanceInformation& WithRegistrationDate(Aws::Utils::DateTime&& value) { SetRegistrationDate(std::move(value)); return *this;}
204
206
210 inline const ResourceType& GetResourceType() const{ return m_resourceType; }
211 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
212 inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
213 inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
214 inline InstanceInformation& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
215 inline InstanceInformation& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
217
219
237 inline const Aws::String& GetName() const{ return m_name; }
238 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
239 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
240 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
241 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
242 inline InstanceInformation& WithName(const Aws::String& value) { SetName(value); return *this;}
243 inline InstanceInformation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
244 inline InstanceInformation& WithName(const char* value) { SetName(value); return *this;}
246
248
251 inline const Aws::String& GetIPAddress() const{ return m_iPAddress; }
252 inline bool IPAddressHasBeenSet() const { return m_iPAddressHasBeenSet; }
253 inline void SetIPAddress(const Aws::String& value) { m_iPAddressHasBeenSet = true; m_iPAddress = value; }
254 inline void SetIPAddress(Aws::String&& value) { m_iPAddressHasBeenSet = true; m_iPAddress = std::move(value); }
255 inline void SetIPAddress(const char* value) { m_iPAddressHasBeenSet = true; m_iPAddress.assign(value); }
256 inline InstanceInformation& WithIPAddress(const Aws::String& value) { SetIPAddress(value); return *this;}
257 inline InstanceInformation& WithIPAddress(Aws::String&& value) { SetIPAddress(std::move(value)); return *this;}
258 inline InstanceInformation& WithIPAddress(const char* value) { SetIPAddress(value); return *this;}
260
262
265 inline const Aws::String& GetComputerName() const{ return m_computerName; }
266 inline bool ComputerNameHasBeenSet() const { return m_computerNameHasBeenSet; }
267 inline void SetComputerName(const Aws::String& value) { m_computerNameHasBeenSet = true; m_computerName = value; }
268 inline void SetComputerName(Aws::String&& value) { m_computerNameHasBeenSet = true; m_computerName = std::move(value); }
269 inline void SetComputerName(const char* value) { m_computerNameHasBeenSet = true; m_computerName.assign(value); }
270 inline InstanceInformation& WithComputerName(const Aws::String& value) { SetComputerName(value); return *this;}
271 inline InstanceInformation& WithComputerName(Aws::String&& value) { SetComputerName(std::move(value)); return *this;}
272 inline InstanceInformation& WithComputerName(const char* value) { SetComputerName(value); return *this;}
274
276
279 inline const Aws::String& GetAssociationStatus() const{ return m_associationStatus; }
280 inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; }
281 inline void SetAssociationStatus(const Aws::String& value) { m_associationStatusHasBeenSet = true; m_associationStatus = value; }
282 inline void SetAssociationStatus(Aws::String&& value) { m_associationStatusHasBeenSet = true; m_associationStatus = std::move(value); }
283 inline void SetAssociationStatus(const char* value) { m_associationStatusHasBeenSet = true; m_associationStatus.assign(value); }
284 inline InstanceInformation& WithAssociationStatus(const Aws::String& value) { SetAssociationStatus(value); return *this;}
285 inline InstanceInformation& WithAssociationStatus(Aws::String&& value) { SetAssociationStatus(std::move(value)); return *this;}
286 inline InstanceInformation& WithAssociationStatus(const char* value) { SetAssociationStatus(value); return *this;}
288
290
293 inline const Aws::Utils::DateTime& GetLastAssociationExecutionDate() const{ return m_lastAssociationExecutionDate; }
294 inline bool LastAssociationExecutionDateHasBeenSet() const { return m_lastAssociationExecutionDateHasBeenSet; }
295 inline void SetLastAssociationExecutionDate(const Aws::Utils::DateTime& value) { m_lastAssociationExecutionDateHasBeenSet = true; m_lastAssociationExecutionDate = value; }
296 inline void SetLastAssociationExecutionDate(Aws::Utils::DateTime&& value) { m_lastAssociationExecutionDateHasBeenSet = true; m_lastAssociationExecutionDate = std::move(value); }
300
302
305 inline const Aws::Utils::DateTime& GetLastSuccessfulAssociationExecutionDate() const{ return m_lastSuccessfulAssociationExecutionDate; }
306 inline bool LastSuccessfulAssociationExecutionDateHasBeenSet() const { return m_lastSuccessfulAssociationExecutionDateHasBeenSet; }
307 inline void SetLastSuccessfulAssociationExecutionDate(const Aws::Utils::DateTime& value) { m_lastSuccessfulAssociationExecutionDateHasBeenSet = true; m_lastSuccessfulAssociationExecutionDate = value; }
308 inline void SetLastSuccessfulAssociationExecutionDate(Aws::Utils::DateTime&& value) { m_lastSuccessfulAssociationExecutionDateHasBeenSet = true; m_lastSuccessfulAssociationExecutionDate = std::move(value); }
312
314
317 inline const InstanceAggregatedAssociationOverview& GetAssociationOverview() const{ return m_associationOverview; }
318 inline bool AssociationOverviewHasBeenSet() const { return m_associationOverviewHasBeenSet; }
319 inline void SetAssociationOverview(const InstanceAggregatedAssociationOverview& value) { m_associationOverviewHasBeenSet = true; m_associationOverview = value; }
320 inline void SetAssociationOverview(InstanceAggregatedAssociationOverview&& value) { m_associationOverviewHasBeenSet = true; m_associationOverview = std::move(value); }
324
326
330 inline const Aws::String& GetSourceId() const{ return m_sourceId; }
331 inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; }
332 inline void SetSourceId(const Aws::String& value) { m_sourceIdHasBeenSet = true; m_sourceId = value; }
333 inline void SetSourceId(Aws::String&& value) { m_sourceIdHasBeenSet = true; m_sourceId = std::move(value); }
334 inline void SetSourceId(const char* value) { m_sourceIdHasBeenSet = true; m_sourceId.assign(value); }
335 inline InstanceInformation& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;}
336 inline InstanceInformation& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;}
337 inline InstanceInformation& WithSourceId(const char* value) { SetSourceId(value); return *this;}
339
341
345 inline const SourceType& GetSourceType() const{ return m_sourceType; }
346 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
347 inline void SetSourceType(const SourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
348 inline void SetSourceType(SourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
349 inline InstanceInformation& WithSourceType(const SourceType& value) { SetSourceType(value); return *this;}
350 inline InstanceInformation& WithSourceType(SourceType&& value) { SetSourceType(std::move(value)); return *this;}
352 private:
353
354 Aws::String m_instanceId;
355 bool m_instanceIdHasBeenSet = false;
356
357 PingStatus m_pingStatus;
358 bool m_pingStatusHasBeenSet = false;
359
360 Aws::Utils::DateTime m_lastPingDateTime;
361 bool m_lastPingDateTimeHasBeenSet = false;
362
363 Aws::String m_agentVersion;
364 bool m_agentVersionHasBeenSet = false;
365
366 bool m_isLatestVersion;
367 bool m_isLatestVersionHasBeenSet = false;
368
369 PlatformType m_platformType;
370 bool m_platformTypeHasBeenSet = false;
371
372 Aws::String m_platformName;
373 bool m_platformNameHasBeenSet = false;
374
375 Aws::String m_platformVersion;
376 bool m_platformVersionHasBeenSet = false;
377
378 Aws::String m_activationId;
379 bool m_activationIdHasBeenSet = false;
380
381 Aws::String m_iamRole;
382 bool m_iamRoleHasBeenSet = false;
383
384 Aws::Utils::DateTime m_registrationDate;
385 bool m_registrationDateHasBeenSet = false;
386
387 ResourceType m_resourceType;
388 bool m_resourceTypeHasBeenSet = false;
389
390 Aws::String m_name;
391 bool m_nameHasBeenSet = false;
392
393 Aws::String m_iPAddress;
394 bool m_iPAddressHasBeenSet = false;
395
396 Aws::String m_computerName;
397 bool m_computerNameHasBeenSet = false;
398
399 Aws::String m_associationStatus;
400 bool m_associationStatusHasBeenSet = false;
401
402 Aws::Utils::DateTime m_lastAssociationExecutionDate;
403 bool m_lastAssociationExecutionDateHasBeenSet = false;
404
405 Aws::Utils::DateTime m_lastSuccessfulAssociationExecutionDate;
406 bool m_lastSuccessfulAssociationExecutionDateHasBeenSet = false;
407
408 InstanceAggregatedAssociationOverview m_associationOverview;
409 bool m_associationOverviewHasBeenSet = false;
410
411 Aws::String m_sourceId;
412 bool m_sourceIdHasBeenSet = false;
413
414 SourceType m_sourceType;
415 bool m_sourceTypeHasBeenSet = false;
416 };
417
418} // namespace Model
419} // namespace SSM
420} // namespace Aws
const PingStatus & GetPingStatus() const
InstanceInformation & WithIamRole(const char *value)
InstanceInformation & WithLastSuccessfulAssociationExecutionDate(Aws::Utils::DateTime &&value)
void SetComputerName(const Aws::String &value)
InstanceInformation & WithActivationId(const Aws::String &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const InstanceAggregatedAssociationOverview & GetAssociationOverview() const
InstanceInformation & WithIPAddress(const Aws::String &value)
void SetSourceType(const SourceType &value)
InstanceInformation & WithActivationId(Aws::String &&value)
const SourceType & GetSourceType() const
InstanceInformation & WithPlatformType(const PlatformType &value)
InstanceInformation & WithAgentVersion(const Aws::String &value)
InstanceInformation & WithRegistrationDate(Aws::Utils::DateTime &&value)
const Aws::String & GetIPAddress() const
AWS_SSM_API InstanceInformation(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastPingDateTime() const
const Aws::String & GetInstanceId() const
void SetAgentVersion(Aws::String &&value)
InstanceInformation & WithPlatformVersion(Aws::String &&value)
InstanceInformation & WithPingStatus(const PingStatus &value)
InstanceInformation & WithName(Aws::String &&value)
InstanceInformation & WithComputerName(Aws::String &&value)
InstanceInformation & WithName(const Aws::String &value)
void SetAgentVersion(const Aws::String &value)
const PlatformType & GetPlatformType() const
void SetAssociationOverview(const InstanceAggregatedAssociationOverview &value)
const Aws::String & GetPlatformName() const
InstanceInformation & WithActivationId(const char *value)
const Aws::Utils::DateTime & GetLastAssociationExecutionDate() const
void SetLastPingDateTime(const Aws::Utils::DateTime &value)
InstanceInformation & WithInstanceId(const Aws::String &value)
const Aws::String & GetIamRole() const
void SetLastSuccessfulAssociationExecutionDate(const Aws::Utils::DateTime &value)
InstanceInformation & WithSourceId(const char *value)
InstanceInformation & WithInstanceId(const char *value)
InstanceInformation & WithLastPingDateTime(const Aws::Utils::DateTime &value)
InstanceInformation & WithComputerName(const char *value)
InstanceInformation & WithAssociationStatus(const Aws::String &value)
InstanceInformation & WithSourceType(const SourceType &value)
void SetPlatformVersion(Aws::String &&value)
InstanceInformation & WithLastPingDateTime(Aws::Utils::DateTime &&value)
InstanceInformation & WithResourceType(ResourceType &&value)
InstanceInformation & WithResourceType(const ResourceType &value)
const Aws::String & GetComputerName() const
InstanceInformation & WithIPAddress(Aws::String &&value)
void SetIPAddress(const Aws::String &value)
void SetName(const Aws::String &value)
void SetPingStatus(const PingStatus &value)
void SetIamRole(const Aws::String &value)
InstanceInformation & WithAssociationStatus(const char *value)
InstanceInformation & WithPlatformName(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
void SetPlatformType(PlatformType &&value)
InstanceInformation & WithSourceType(SourceType &&value)
const Aws::String & GetSourceId() const
void SetLastSuccessfulAssociationExecutionDate(Aws::Utils::DateTime &&value)
const Aws::String & GetActivationId() const
void SetAssociationStatus(const Aws::String &value)
InstanceInformation & WithAgentVersion(Aws::String &&value)
InstanceInformation & WithLastAssociationExecutionDate(Aws::Utils::DateTime &&value)
const Aws::String & GetPlatformVersion() const
void SetActivationId(Aws::String &&value)
InstanceInformation & WithComputerName(const Aws::String &value)
void SetComputerName(Aws::String &&value)
void SetRegistrationDate(Aws::Utils::DateTime &&value)
InstanceInformation & WithPlatformVersion(const char *value)
void SetResourceType(const ResourceType &value)
InstanceInformation & WithPlatformVersion(const Aws::String &value)
const Aws::String & GetAssociationStatus() const
void SetLastAssociationExecutionDate(Aws::Utils::DateTime &&value)
InstanceInformation & WithInstanceId(Aws::String &&value)
InstanceInformation & WithPingStatus(PingStatus &&value)
void SetInstanceId(Aws::String &&value)
void SetPlatformVersion(const Aws::String &value)
void SetAssociationOverview(InstanceAggregatedAssociationOverview &&value)
InstanceInformation & WithIamRole(Aws::String &&value)
InstanceInformation & WithAssociationStatus(Aws::String &&value)
InstanceInformation & WithRegistrationDate(const Aws::Utils::DateTime &value)
void SetResourceType(ResourceType &&value)
void SetPlatformType(const PlatformType &value)
const Aws::Utils::DateTime & GetRegistrationDate() const
InstanceInformation & WithPlatformName(const Aws::String &value)
InstanceInformation & WithLastAssociationExecutionDate(const Aws::Utils::DateTime &value)
InstanceInformation & WithAssociationOverview(const InstanceAggregatedAssociationOverview &value)
const ResourceType & GetResourceType() const
InstanceInformation & WithPlatformName(const char *value)
void SetLastPingDateTime(Aws::Utils::DateTime &&value)
void SetSourceId(const Aws::String &value)
InstanceInformation & WithPlatformType(PlatformType &&value)
const Aws::Utils::DateTime & GetLastSuccessfulAssociationExecutionDate() const
void SetLastAssociationExecutionDate(const Aws::Utils::DateTime &value)
void SetPlatformName(const Aws::String &value)
void SetRegistrationDate(const Aws::Utils::DateTime &value)
const Aws::String & GetAgentVersion() const
InstanceInformation & WithIPAddress(const char *value)
InstanceInformation & WithName(const char *value)
InstanceInformation & WithSourceId(const Aws::String &value)
void SetAssociationStatus(Aws::String &&value)
InstanceInformation & WithAssociationOverview(InstanceAggregatedAssociationOverview &&value)
void SetPlatformName(Aws::String &&value)
InstanceInformation & WithIsLatestVersion(bool value)
InstanceInformation & WithLastSuccessfulAssociationExecutionDate(const Aws::Utils::DateTime &value)
AWS_SSM_API InstanceInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceInformation & WithIamRole(const Aws::String &value)
void SetActivationId(const Aws::String &value)
InstanceInformation & WithSourceId(Aws::String &&value)
InstanceInformation & WithAgentVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue