7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/model/OperatingSystem.h>
10#include <aws/gamelift/model/EC2InstanceType.h>
11#include <aws/gamelift/model/InstanceStatus.h>
12#include <aws/core/utils/DateTime.h>
52 template<
typename FleetIdT = Aws::String>
53 void SetFleetId(FleetIdT&& value) { m_fleetIdHasBeenSet =
true; m_fleetId = std::forward<FleetIdT>(value); }
54 template<
typename FleetIdT = Aws::String>
68 template<
typename FleetArnT = Aws::String>
69 void SetFleetArn(FleetArnT&& value) { m_fleetArnHasBeenSet =
true; m_fleetArn = std::forward<FleetArnT>(value); }
70 template<
typename FleetArnT = Aws::String>
80 template<
typename InstanceIdT = Aws::String>
81 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
82 template<
typename InstanceIdT = Aws::String>
92 template<
typename IpAddressT = Aws::String>
93 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet =
true; m_ipAddress = std::forward<IpAddressT>(value); }
94 template<
typename IpAddressT = Aws::String>
113 template<
typename DnsNameT = Aws::String>
114 void SetDnsName(DnsNameT&& value) { m_dnsNameHasBeenSet =
true; m_dnsName = std::forward<DnsNameT>(value); }
115 template<
typename DnsNameT = Aws::String>
173 template<
typename CreationTimeT = Aws::Utils::DateTime>
174 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
175 template<
typename CreationTimeT = Aws::Utils::DateTime>
186 template<
typename LocationT = Aws::String>
187 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
188 template<
typename LocationT = Aws::String>
194 bool m_fleetIdHasBeenSet =
false;
197 bool m_fleetArnHasBeenSet =
false;
200 bool m_instanceIdHasBeenSet =
false;
203 bool m_ipAddressHasBeenSet =
false;
206 bool m_dnsNameHasBeenSet =
false;
209 bool m_operatingSystemHasBeenSet =
false;
212 bool m_typeHasBeenSet =
false;
215 bool m_statusHasBeenSet =
false;
218 bool m_creationTimeHasBeenSet =
false;
221 bool m_locationHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetFleetId() const
void SetFleetArn(FleetArnT &&value)
bool IpAddressHasBeenSet() const
bool DnsNameHasBeenSet() const
void SetType(EC2InstanceType value)
AWS_GAMELIFT_API Instance()=default
const Aws::String & GetInstanceId() const
Instance & WithDnsName(DnsNameT &&value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypeHasBeenSet() const
void SetStatus(InstanceStatus value)
bool InstanceIdHasBeenSet() const
bool OperatingSystemHasBeenSet() const
void SetOperatingSystem(OperatingSystem value)
Instance & WithOperatingSystem(OperatingSystem value)
OperatingSystem GetOperatingSystem() const
Instance & WithInstanceId(InstanceIdT &&value)
Instance & WithType(EC2InstanceType value)
void SetCreationTime(CreationTimeT &&value)
Instance & WithStatus(InstanceStatus value)
InstanceStatus GetStatus() const
void SetIpAddress(IpAddressT &&value)
bool FleetArnHasBeenSet() const
EC2InstanceType GetType() const
const Aws::String & GetIpAddress() const
AWS_GAMELIFT_API Instance & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreationTimeHasBeenSet() const
const Aws::String & GetLocation() const
void SetFleetId(FleetIdT &&value)
bool StatusHasBeenSet() const
bool LocationHasBeenSet() const
AWS_GAMELIFT_API Instance(Aws::Utils::Json::JsonView jsonValue)
Instance & WithCreationTime(CreationTimeT &&value)
void SetLocation(LocationT &&value)
const Aws::String & GetFleetArn() const
void SetDnsName(DnsNameT &&value)
bool FleetIdHasBeenSet() const
Instance & WithIpAddress(IpAddressT &&value)
Instance & WithFleetArn(FleetArnT &&value)
Instance & WithLocation(LocationT &&value)
void SetInstanceId(InstanceIdT &&value)
Instance & WithFleetId(FleetIdT &&value)
const Aws::String & GetDnsName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue