7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10#include <aws/ssm/model/InstanceAggregatedAssociationOverview.h>
11#include <aws/ssm/model/PingStatus.h>
12#include <aws/ssm/model/PlatformType.h>
13#include <aws/ssm/model/SourceType.h>
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
65 template <
typename InstanceIdT = Aws::String>
67 m_instanceIdHasBeenSet =
true;
68 m_instanceId = std::forward<InstanceIdT>(value);
70 template <
typename InstanceIdT = Aws::String>
83 template <
typename InstanceTypeT = Aws::String>
85 m_instanceTypeHasBeenSet =
true;
86 m_instanceType = std::forward<InstanceTypeT>(value);
88 template <
typename InstanceTypeT = Aws::String>
102 template <
typename InstanceRoleT = Aws::String>
104 m_instanceRoleHasBeenSet =
true;
105 m_instanceRole = std::forward<InstanceRoleT>(value);
107 template <
typename InstanceRoleT = Aws::String>
121 template <
typename KeyNameT = Aws::String>
123 m_keyNameHasBeenSet =
true;
124 m_keyName = std::forward<KeyNameT>(value);
126 template <
typename KeyNameT = Aws::String>
139 template <
typename InstanceStateT = Aws::String>
141 m_instanceStateHasBeenSet =
true;
142 m_instanceState = std::forward<InstanceStateT>(value);
144 template <
typename InstanceStateT = Aws::String>
157 template <
typename ArchitectureT = Aws::String>
159 m_architectureHasBeenSet =
true;
160 m_architecture = std::forward<ArchitectureT>(value);
162 template <
typename ArchitectureT = Aws::String>
176 template <
typename IPAddressT = Aws::String>
178 m_iPAddressHasBeenSet =
true;
179 m_iPAddress = std::forward<IPAddressT>(value);
181 template <
typename IPAddressT = Aws::String>
194 template <
typename LaunchTimeT = Aws::Utils::DateTime>
196 m_launchTimeHasBeenSet =
true;
197 m_launchTime = std::forward<LaunchTimeT>(value);
199 template <
typename LaunchTimeT = Aws::Utils::DateTime>
213 m_pingStatusHasBeenSet =
true;
214 m_pingStatus = value;
229 template <
typename LastPingDateTimeT = Aws::Utils::DateTime>
231 m_lastPingDateTimeHasBeenSet =
true;
232 m_lastPingDateTime = std::forward<LastPingDateTimeT>(value);
234 template <
typename LastPingDateTimeT = Aws::Utils::DateTime>
247 template <
typename AgentVersionT = Aws::String>
249 m_agentVersionHasBeenSet =
true;
250 m_agentVersion = std::forward<AgentVersionT>(value);
252 template <
typename AgentVersionT = Aws::String>
267 m_platformTypeHasBeenSet =
true;
268 m_platformType = value;
282 template <
typename PlatformNameT = Aws::String>
284 m_platformNameHasBeenSet =
true;
285 m_platformName = std::forward<PlatformNameT>(value);
287 template <
typename PlatformNameT = Aws::String>
300 template <
typename PlatformVersionT = Aws::String>
302 m_platformVersionHasBeenSet =
true;
303 m_platformVersion = std::forward<PlatformVersionT>(value);
305 template <
typename PlatformVersionT = Aws::String>
319 template <
typename ActivationIdT = Aws::String>
321 m_activationIdHasBeenSet =
true;
322 m_activationId = std::forward<ActivationIdT>(value);
324 template <
typename ActivationIdT = Aws::String>
338 template <
typename IamRoleT = Aws::String>
340 m_iamRoleHasBeenSet =
true;
341 m_iamRole = std::forward<IamRoleT>(value);
343 template <
typename IamRoleT = Aws::String>
356 template <
typename RegistrationDateT = Aws::Utils::DateTime>
358 m_registrationDateHasBeenSet =
true;
359 m_registrationDate = std::forward<RegistrationDateT>(value);
361 template <
typename RegistrationDateT = Aws::Utils::DateTime>
374 template <
typename ResourceTypeT = Aws::String>
376 m_resourceTypeHasBeenSet =
true;
377 m_resourceType = std::forward<ResourceTypeT>(value);
379 template <
typename ResourceTypeT = Aws::String>
392 template <
typename ComputerNameT = Aws::String>
394 m_computerNameHasBeenSet =
true;
395 m_computerName = std::forward<ComputerNameT>(value);
397 template <
typename ComputerNameT = Aws::String>
410 template <
typename AssociationStatusT = Aws::String>
412 m_associationStatusHasBeenSet =
true;
413 m_associationStatus = std::forward<AssociationStatusT>(value);
415 template <
typename AssociationStatusT = Aws::String>
428 template <
typename LastAssociationExecutionDateT = Aws::Utils::DateTime>
430 m_lastAssociationExecutionDateHasBeenSet =
true;
431 m_lastAssociationExecutionDate = std::forward<LastAssociationExecutionDateT>(value);
433 template <
typename LastAssociationExecutionDateT = Aws::Utils::DateTime>
446 template <
typename LastSuccessfulAssociationExecutionDateT = Aws::Utils::DateTime>
448 m_lastSuccessfulAssociationExecutionDateHasBeenSet =
true;
449 m_lastSuccessfulAssociationExecutionDate = std::forward<LastSuccessfulAssociationExecutionDateT>(value);
451 template <
typename LastSuccessfulAssociationExecutionDateT = Aws::Utils::DateTime>
462 template <
typename AssociationOverviewT = InstanceAggregatedAssociationOverview>
464 m_associationOverviewHasBeenSet =
true;
465 m_associationOverview = std::forward<AssociationOverviewT>(value);
467 template <
typename AssociationOverviewT = InstanceAggregatedAssociationOverview>
480 template <
typename SourceIdT = Aws::String>
482 m_sourceIdHasBeenSet =
true;
483 m_sourceId = std::forward<SourceIdT>(value);
485 template <
typename SourceIdT = Aws::String>
499 m_sourceTypeHasBeenSet =
true;
500 m_sourceType = value;
554 InstanceAggregatedAssociationOverview m_associationOverview;
559 bool m_nameHasBeenSet =
false;
560 bool m_instanceIdHasBeenSet =
false;
561 bool m_instanceTypeHasBeenSet =
false;
562 bool m_instanceRoleHasBeenSet =
false;
563 bool m_keyNameHasBeenSet =
false;
564 bool m_instanceStateHasBeenSet =
false;
565 bool m_architectureHasBeenSet =
false;
566 bool m_iPAddressHasBeenSet =
false;
567 bool m_launchTimeHasBeenSet =
false;
568 bool m_pingStatusHasBeenSet =
false;
569 bool m_lastPingDateTimeHasBeenSet =
false;
570 bool m_agentVersionHasBeenSet =
false;
571 bool m_platformTypeHasBeenSet =
false;
572 bool m_platformNameHasBeenSet =
false;
573 bool m_platformVersionHasBeenSet =
false;
574 bool m_activationIdHasBeenSet =
false;
575 bool m_iamRoleHasBeenSet =
false;
576 bool m_registrationDateHasBeenSet =
false;
577 bool m_resourceTypeHasBeenSet =
false;
578 bool m_computerNameHasBeenSet =
false;
579 bool m_associationStatusHasBeenSet =
false;
580 bool m_lastAssociationExecutionDateHasBeenSet =
false;
581 bool m_lastSuccessfulAssociationExecutionDateHasBeenSet =
false;
582 bool m_associationOverviewHasBeenSet =
false;
583 bool m_sourceIdHasBeenSet =
false;
584 bool m_sourceTypeHasBeenSet =
false;
InstanceProperty & WithAgentVersion(AgentVersionT &&value)
void SetSourceId(SourceIdT &&value)
const Aws::String & GetComputerName() const
bool KeyNameHasBeenSet() const
void SetAgentVersion(AgentVersionT &&value)
InstanceProperty & WithSourceId(SourceIdT &&value)
const Aws::Utils::DateTime & GetLastPingDateTime() const
InstanceProperty & WithArchitecture(ArchitectureT &&value)
const Aws::Utils::DateTime & GetLastSuccessfulAssociationExecutionDate() const
void SetLastPingDateTime(LastPingDateTimeT &&value)
const Aws::Utils::DateTime & GetLastAssociationExecutionDate() const
void SetLaunchTime(LaunchTimeT &&value)
InstanceProperty & WithLastAssociationExecutionDate(LastAssociationExecutionDateT &&value)
const Aws::Utils::DateTime & GetLaunchTime() const
void SetName(NameT &&value)
bool AssociationOverviewHasBeenSet() const
InstanceProperty & WithInstanceState(InstanceStateT &&value)
void SetRegistrationDate(RegistrationDateT &&value)
void SetPingStatus(PingStatus value)
const InstanceAggregatedAssociationOverview & GetAssociationOverview() const
void SetInstanceId(InstanceIdT &&value)
bool ArchitectureHasBeenSet() const
void SetSourceType(SourceType value)
const Aws::String & GetInstanceId() const
bool NameHasBeenSet() const
const Aws::String & GetIPAddress() const
bool PingStatusHasBeenSet() const
InstanceProperty & WithLastPingDateTime(LastPingDateTimeT &&value)
bool PlatformTypeHasBeenSet() const
void SetComputerName(ComputerNameT &&value)
bool InstanceStateHasBeenSet() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastAssociationExecutionDate(LastAssociationExecutionDateT &&value)
void SetLastSuccessfulAssociationExecutionDate(LastSuccessfulAssociationExecutionDateT &&value)
void SetKeyName(KeyNameT &&value)
const Aws::String & GetInstanceType() const
AWS_SSM_API InstanceProperty(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPlatformVersion() const
void SetInstanceType(InstanceTypeT &&value)
const Aws::String & GetSourceId() const
InstanceProperty & WithName(NameT &&value)
const Aws::String & GetPlatformName() const
void SetArchitecture(ArchitectureT &&value)
const Aws::String & GetResourceType() const
bool LastSuccessfulAssociationExecutionDateHasBeenSet() const
InstanceProperty & WithComputerName(ComputerNameT &&value)
InstanceProperty & WithIamRole(IamRoleT &&value)
bool AgentVersionHasBeenSet() const
bool PlatformNameHasBeenSet() const
InstanceProperty & WithInstanceType(InstanceTypeT &&value)
InstanceProperty & WithPlatformType(PlatformType value)
void SetActivationId(ActivationIdT &&value)
const Aws::String & GetInstanceRole() const
AWS_SSM_API InstanceProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceProperty & WithAssociationOverview(AssociationOverviewT &&value)
const Aws::String & GetAgentVersion() const
InstanceProperty & WithActivationId(ActivationIdT &&value)
InstanceProperty & WithPlatformVersion(PlatformVersionT &&value)
bool InstanceIdHasBeenSet() const
void SetAssociationOverview(AssociationOverviewT &&value)
const Aws::String & GetAssociationStatus() const
InstanceProperty & WithPlatformName(PlatformNameT &&value)
PlatformType GetPlatformType() const
bool SourceIdHasBeenSet() const
void SetInstanceState(InstanceStateT &&value)
void SetIamRole(IamRoleT &&value)
bool IPAddressHasBeenSet() const
InstanceProperty & WithSourceType(SourceType value)
bool AssociationStatusHasBeenSet() const
InstanceProperty & WithInstanceRole(InstanceRoleT &&value)
bool RegistrationDateHasBeenSet() const
const Aws::String & GetKeyName() const
const Aws::String & GetActivationId() const
InstanceProperty & WithRegistrationDate(RegistrationDateT &&value)
void SetInstanceRole(InstanceRoleT &&value)
bool IamRoleHasBeenSet() const
void SetAssociationStatus(AssociationStatusT &&value)
InstanceProperty & WithKeyName(KeyNameT &&value)
bool ResourceTypeHasBeenSet() const
const Aws::String & GetArchitecture() const
PingStatus GetPingStatus() const
InstanceProperty & WithLastSuccessfulAssociationExecutionDate(LastSuccessfulAssociationExecutionDateT &&value)
bool LastPingDateTimeHasBeenSet() const
bool LaunchTimeHasBeenSet() const
void SetIPAddress(IPAddressT &&value)
InstanceProperty & WithResourceType(ResourceTypeT &&value)
InstanceProperty & WithAssociationStatus(AssociationStatusT &&value)
bool SourceTypeHasBeenSet() const
void SetPlatformType(PlatformType value)
const Aws::String & GetInstanceState() const
InstanceProperty & WithPingStatus(PingStatus value)
InstanceProperty & WithIPAddress(IPAddressT &&value)
const Aws::Utils::DateTime & GetRegistrationDate() const
AWS_SSM_API InstanceProperty()=default
SourceType GetSourceType() const
bool LastAssociationExecutionDateHasBeenSet() const
bool InstanceRoleHasBeenSet() const
bool ActivationIdHasBeenSet() const
const Aws::String & GetName() const
InstanceProperty & WithInstanceId(InstanceIdT &&value)
bool PlatformVersionHasBeenSet() const
void SetResourceType(ResourceTypeT &&value)
bool InstanceTypeHasBeenSet() const
void SetPlatformName(PlatformNameT &&value)
bool ComputerNameHasBeenSet() const
const Aws::String & GetIamRole() const
void SetPlatformVersion(PlatformVersionT &&value)
InstanceProperty & WithLaunchTime(LaunchTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue