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>
54 inline void SetFleetId(
const char* value) { m_fleetIdHasBeenSet =
true; m_fleetId.assign(value); }
72 inline void SetFleetArn(
const char* value) { m_fleetArnHasBeenSet =
true; m_fleetArn.assign(value); }
86 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
100 inline void SetIpAddress(
const char* value) { m_ipAddressHasBeenSet =
true; m_ipAddress.assign(value); }
123 inline void SetDnsName(
const char* value) { m_dnsNameHasBeenSet =
true; m_dnsName.assign(value); }
204 inline void SetLocation(
const char* value) { m_locationHasBeenSet =
true; m_location.assign(value); }
212 bool m_fleetIdHasBeenSet =
false;
215 bool m_fleetArnHasBeenSet =
false;
218 bool m_instanceIdHasBeenSet =
false;
221 bool m_ipAddressHasBeenSet =
false;
224 bool m_dnsNameHasBeenSet =
false;
227 bool m_operatingSystemHasBeenSet =
false;
230 bool m_typeHasBeenSet =
false;
233 bool m_statusHasBeenSet =
false;
236 bool m_creationTimeHasBeenSet =
false;
239 bool m_locationHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreationTime() const
Instance & WithFleetArn(Aws::String &&value)
Instance & WithOperatingSystem(const OperatingSystem &value)
void SetFleetId(const Aws::String &value)
Instance & WithFleetArn(const char *value)
void SetIpAddress(const Aws::String &value)
void SetDnsName(const Aws::String &value)
const Aws::String & GetFleetId() const
bool IpAddressHasBeenSet() const
Instance & WithDnsName(const char *value)
bool DnsNameHasBeenSet() const
void SetStatus(InstanceStatus &&value)
void SetInstanceId(const Aws::String &value)
void SetLocation(Aws::String &&value)
void SetOperatingSystem(OperatingSystem &&value)
void SetIpAddress(const char *value)
Instance & WithType(EC2InstanceType &&value)
const Aws::String & GetInstanceId() const
void SetFleetId(const char *value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDnsName(Aws::String &&value)
bool TypeHasBeenSet() const
void SetFleetId(Aws::String &&value)
Instance & WithFleetId(Aws::String &&value)
Instance & WithIpAddress(const Aws::String &value)
Instance & WithFleetId(const Aws::String &value)
bool InstanceIdHasBeenSet() const
Instance & WithDnsName(Aws::String &&value)
Instance & WithDnsName(const Aws::String &value)
bool OperatingSystemHasBeenSet() const
Instance & WithFleetArn(const Aws::String &value)
void SetIpAddress(Aws::String &&value)
Instance & WithOperatingSystem(OperatingSystem &&value)
void SetFleetArn(const char *value)
void SetInstanceId(Aws::String &&value)
Instance & WithCreationTime(const Aws::Utils::DateTime &value)
const EC2InstanceType & GetType() const
AWS_GAMELIFT_API Instance()
Instance & WithIpAddress(const char *value)
void SetType(const EC2InstanceType &value)
void SetInstanceId(const char *value)
Instance & WithLocation(const Aws::String &value)
const OperatingSystem & GetOperatingSystem() const
void SetFleetArn(Aws::String &&value)
Instance & WithLocation(const char *value)
bool FleetArnHasBeenSet() const
const InstanceStatus & GetStatus() const
const Aws::String & GetIpAddress() const
Instance & WithInstanceId(const Aws::String &value)
AWS_GAMELIFT_API Instance & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreationTimeHasBeenSet() const
const Aws::String & GetLocation() const
void SetType(EC2InstanceType &&value)
void SetStatus(const InstanceStatus &value)
bool StatusHasBeenSet() const
bool LocationHasBeenSet() const
Instance & WithStatus(InstanceStatus &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
Instance & WithStatus(const InstanceStatus &value)
AWS_GAMELIFT_API Instance(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFleetArn() const
Instance & WithIpAddress(Aws::String &&value)
bool FleetIdHasBeenSet() const
void SetLocation(const char *value)
Instance & WithFleetId(const char *value)
void SetOperatingSystem(const OperatingSystem &value)
Instance & WithInstanceId(Aws::String &&value)
void SetDnsName(const char *value)
Instance & WithType(const EC2InstanceType &value)
void SetLocation(const Aws::String &value)
Instance & WithInstanceId(const char *value)
void SetFleetArn(const Aws::String &value)
Instance & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetDnsName() const
Instance & WithLocation(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue