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>
53 template<
typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
55 template<
typename NameT = Aws::String>
65 template<
typename InstanceIdT = Aws::String>
66 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
67 template<
typename InstanceIdT = Aws::String>
77 template<
typename InstanceTypeT = Aws::String>
78 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
79 template<
typename InstanceTypeT = Aws::String>
90 template<
typename InstanceRoleT = Aws::String>
91 void SetInstanceRole(InstanceRoleT&& value) { m_instanceRoleHasBeenSet =
true; m_instanceRole = std::forward<InstanceRoleT>(value); }
92 template<
typename InstanceRoleT = Aws::String>
103 template<
typename KeyNameT = Aws::String>
104 void SetKeyName(KeyNameT&& value) { m_keyNameHasBeenSet =
true; m_keyName = std::forward<KeyNameT>(value); }
105 template<
typename KeyNameT = Aws::String>
115 template<
typename InstanceStateT = Aws::String>
116 void SetInstanceState(InstanceStateT&& value) { m_instanceStateHasBeenSet =
true; m_instanceState = std::forward<InstanceStateT>(value); }
117 template<
typename InstanceStateT = Aws::String>
127 template<
typename ArchitectureT = Aws::String>
128 void SetArchitecture(ArchitectureT&& value) { m_architectureHasBeenSet =
true; m_architecture = std::forward<ArchitectureT>(value); }
129 template<
typename ArchitectureT = Aws::String>
140 template<
typename IPAddressT = Aws::String>
141 void SetIPAddress(IPAddressT&& value) { m_iPAddressHasBeenSet =
true; m_iPAddress = std::forward<IPAddressT>(value); }
142 template<
typename IPAddressT = Aws::String>
152 template<
typename LaunchTimeT = Aws::Utils::DateTime>
153 void SetLaunchTime(LaunchTimeT&& value) { m_launchTimeHasBeenSet =
true; m_launchTime = std::forward<LaunchTimeT>(value); }
154 template<
typename LaunchTimeT = Aws::Utils::DateTime>
175 template<
typename LastPingDateTimeT = Aws::Utils::DateTime>
176 void SetLastPingDateTime(LastPingDateTimeT&& value) { m_lastPingDateTimeHasBeenSet =
true; m_lastPingDateTime = std::forward<LastPingDateTimeT>(value); }
177 template<
typename LastPingDateTimeT = Aws::Utils::DateTime>
187 template<
typename AgentVersionT = Aws::String>
188 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet =
true; m_agentVersion = std::forward<AgentVersionT>(value); }
189 template<
typename AgentVersionT = Aws::String>
210 template<
typename PlatformNameT = Aws::String>
211 void SetPlatformName(PlatformNameT&& value) { m_platformNameHasBeenSet =
true; m_platformName = std::forward<PlatformNameT>(value); }
212 template<
typename PlatformNameT = Aws::String>
222 template<
typename PlatformVersionT = Aws::String>
223 void SetPlatformVersion(PlatformVersionT&& value) { m_platformVersionHasBeenSet =
true; m_platformVersion = std::forward<PlatformVersionT>(value); }
224 template<
typename PlatformVersionT = Aws::String>
235 template<
typename ActivationIdT = Aws::String>
236 void SetActivationId(ActivationIdT&& value) { m_activationIdHasBeenSet =
true; m_activationId = std::forward<ActivationIdT>(value); }
237 template<
typename ActivationIdT = Aws::String>
248 template<
typename IamRoleT = Aws::String>
249 void SetIamRole(IamRoleT&& value) { m_iamRoleHasBeenSet =
true; m_iamRole = std::forward<IamRoleT>(value); }
250 template<
typename IamRoleT = Aws::String>
260 template<
typename RegistrationDateT = Aws::Utils::DateTime>
261 void SetRegistrationDate(RegistrationDateT&& value) { m_registrationDateHasBeenSet =
true; m_registrationDate = std::forward<RegistrationDateT>(value); }
262 template<
typename RegistrationDateT = Aws::Utils::DateTime>
272 template<
typename ResourceTypeT = Aws::String>
273 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
274 template<
typename ResourceTypeT = Aws::String>
284 template<
typename ComputerNameT = Aws::String>
285 void SetComputerName(ComputerNameT&& value) { m_computerNameHasBeenSet =
true; m_computerName = std::forward<ComputerNameT>(value); }
286 template<
typename ComputerNameT = Aws::String>
296 template<
typename AssociationStatusT = Aws::String>
297 void SetAssociationStatus(AssociationStatusT&& value) { m_associationStatusHasBeenSet =
true; m_associationStatus = std::forward<AssociationStatusT>(value); }
298 template<
typename AssociationStatusT = Aws::String>
308 template<
typename LastAssociationExecutionDateT = Aws::Utils::DateTime>
309 void SetLastAssociationExecutionDate(LastAssociationExecutionDateT&& value) { m_lastAssociationExecutionDateHasBeenSet =
true; m_lastAssociationExecutionDate = std::forward<LastAssociationExecutionDateT>(value); }
310 template<
typename LastAssociationExecutionDateT = Aws::Utils::DateTime>
320 template<
typename LastSuccessfulAssociationExecutionDateT = Aws::Utils::DateTime>
321 void SetLastSuccessfulAssociationExecutionDate(LastSuccessfulAssociationExecutionDateT&& value) { m_lastSuccessfulAssociationExecutionDateHasBeenSet =
true; m_lastSuccessfulAssociationExecutionDate = std::forward<LastSuccessfulAssociationExecutionDateT>(value); }
322 template<
typename LastSuccessfulAssociationExecutionDateT = Aws::Utils::DateTime>
330 template<
typename AssociationOverviewT = InstanceAggregatedAssociationOverview>
331 void SetAssociationOverview(AssociationOverviewT&& value) { m_associationOverviewHasBeenSet =
true; m_associationOverview = std::forward<AssociationOverviewT>(value); }
332 template<
typename AssociationOverviewT = InstanceAggregatedAssociationOverview>
342 template<
typename SourceIdT = Aws::String>
343 void SetSourceId(SourceIdT&& value) { m_sourceIdHasBeenSet =
true; m_sourceId = std::forward<SourceIdT>(value); }
344 template<
typename SourceIdT = Aws::String>
360 bool m_nameHasBeenSet =
false;
363 bool m_instanceIdHasBeenSet =
false;
366 bool m_instanceTypeHasBeenSet =
false;
369 bool m_instanceRoleHasBeenSet =
false;
372 bool m_keyNameHasBeenSet =
false;
375 bool m_instanceStateHasBeenSet =
false;
378 bool m_architectureHasBeenSet =
false;
381 bool m_iPAddressHasBeenSet =
false;
384 bool m_launchTimeHasBeenSet =
false;
387 bool m_pingStatusHasBeenSet =
false;
390 bool m_lastPingDateTimeHasBeenSet =
false;
393 bool m_agentVersionHasBeenSet =
false;
396 bool m_platformTypeHasBeenSet =
false;
399 bool m_platformNameHasBeenSet =
false;
402 bool m_platformVersionHasBeenSet =
false;
405 bool m_activationIdHasBeenSet =
false;
408 bool m_iamRoleHasBeenSet =
false;
411 bool m_registrationDateHasBeenSet =
false;
414 bool m_resourceTypeHasBeenSet =
false;
417 bool m_computerNameHasBeenSet =
false;
420 bool m_associationStatusHasBeenSet =
false;
423 bool m_lastAssociationExecutionDateHasBeenSet =
false;
426 bool m_lastSuccessfulAssociationExecutionDateHasBeenSet =
false;
428 InstanceAggregatedAssociationOverview m_associationOverview;
429 bool m_associationOverviewHasBeenSet =
false;
432 bool m_sourceIdHasBeenSet =
false;
435 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