7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/snow-device-management/model/CpuOptions.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/snow-device-management/model/InstanceState.h>
13#include <aws/snow-device-management/model/InstanceBlockDeviceMapping.h>
14#include <aws/snow-device-management/model/SecurityGroupIdentifier.h>
27namespace SnowDeviceManagement
54 inline void SetAmiLaunchIndex(
int value) { m_amiLaunchIndexHasBeenSet =
true; m_amiLaunchIndex = value; }
104 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.assign(value); }
118 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
132 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
146 inline void SetPrivateIpAddress(
const char* value) { m_privateIpAddressHasBeenSet =
true; m_privateIpAddress.assign(value); }
160 inline void SetPublicIpAddress(
const char* value) { m_publicIpAddressHasBeenSet =
true; m_publicIpAddress.assign(value); }
175 inline void SetRootDeviceName(
const char* value) { m_rootDeviceNameHasBeenSet =
true; m_rootDeviceName.assign(value); }
218 int m_amiLaunchIndex;
219 bool m_amiLaunchIndexHasBeenSet =
false;
222 bool m_blockDeviceMappingsHasBeenSet =
false;
225 bool m_cpuOptionsHasBeenSet =
false;
228 bool m_createdAtHasBeenSet =
false;
231 bool m_imageIdHasBeenSet =
false;
234 bool m_instanceIdHasBeenSet =
false;
237 bool m_instanceTypeHasBeenSet =
false;
240 bool m_privateIpAddressHasBeenSet =
false;
243 bool m_publicIpAddressHasBeenSet =
false;
246 bool m_rootDeviceNameHasBeenSet =
false;
249 bool m_securityGroupsHasBeenSet =
false;
252 bool m_stateHasBeenSet =
false;
255 bool m_updatedAtHasBeenSet =
false;
Instance & WithImageId(const Aws::String &value)
void SetInstanceId(const Aws::String &value)
Instance & WithCpuOptions(CpuOptions &&value)
void SetPublicIpAddress(const Aws::String &value)
bool PrivateIpAddressHasBeenSet() const
Instance & WithInstanceType(const Aws::String &value)
bool SecurityGroupsHasBeenSet() const
void SetPrivateIpAddress(Aws::String &&value)
const CpuOptions & GetCpuOptions() const
Instance & AddBlockDeviceMappings(const InstanceBlockDeviceMapping &value)
AWS_SNOWDEVICEMANAGEMENT_API Instance(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceType(const Aws::String &value)
Instance & WithInstanceType(Aws::String &&value)
Instance & AddSecurityGroups(SecurityGroupIdentifier &&value)
Instance & WithSecurityGroups(const Aws::Vector< SecurityGroupIdentifier > &value)
const InstanceState & GetState() const
Instance & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetRootDeviceName(const char *value)
Instance & WithInstanceId(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
Instance & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetPrivateIpAddress(const char *value)
void SetImageId(const char *value)
Instance & WithState(const InstanceState &value)
void SetState(const InstanceState &value)
int GetAmiLaunchIndex() const
void SetInstanceId(Aws::String &&value)
void SetState(InstanceState &&value)
void SetPublicIpAddress(Aws::String &&value)
void SetSecurityGroups(Aws::Vector< SecurityGroupIdentifier > &&value)
const Aws::String & GetInstanceType() const
void SetInstanceType(Aws::String &&value)
bool UpdatedAtHasBeenSet() const
Instance & WithPrivateIpAddress(const Aws::String &value)
Instance & WithPublicIpAddress(const char *value)
bool PublicIpAddressHasBeenSet() const
Instance & WithPrivateIpAddress(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetRootDeviceName(const Aws::String &value)
const Aws::String & GetPrivateIpAddress() const
Instance & WithInstanceId(const Aws::String &value)
Instance & WithInstanceId(const char *value)
AWS_SNOWDEVICEMANAGEMENT_API Instance & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBlockDeviceMappings(Aws::Vector< InstanceBlockDeviceMapping > &&value)
Instance & WithImageId(Aws::String &&value)
void SetInstanceType(const char *value)
Instance & WithRootDeviceName(Aws::String &&value)
void SetImageId(const Aws::String &value)
bool ImageIdHasBeenSet() const
const Aws::String & GetImageId() const
bool StateHasBeenSet() const
bool BlockDeviceMappingsHasBeenSet() const
Instance & WithRootDeviceName(const char *value)
AWS_SNOWDEVICEMANAGEMENT_API Instance()
void SetRootDeviceName(Aws::String &&value)
const Aws::Vector< InstanceBlockDeviceMapping > & GetBlockDeviceMappings() const
Instance & WithBlockDeviceMappings(Aws::Vector< InstanceBlockDeviceMapping > &&value)
void SetAmiLaunchIndex(int value)
Instance & WithPrivateIpAddress(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetImageId(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
bool InstanceIdHasBeenSet() const
Instance & WithInstanceType(const char *value)
const Aws::Vector< SecurityGroupIdentifier > & GetSecurityGroups() const
Instance & WithBlockDeviceMappings(const Aws::Vector< InstanceBlockDeviceMapping > &value)
bool InstanceTypeHasBeenSet() const
void SetPrivateIpAddress(const Aws::String &value)
void SetPublicIpAddress(const char *value)
Instance & WithAmiLaunchIndex(int value)
void SetBlockDeviceMappings(const Aws::Vector< InstanceBlockDeviceMapping > &value)
Instance & WithSecurityGroups(Aws::Vector< SecurityGroupIdentifier > &&value)
Instance & WithRootDeviceName(const Aws::String &value)
void SetSecurityGroups(const Aws::Vector< SecurityGroupIdentifier > &value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetRootDeviceName() const
Instance & WithImageId(const char *value)
void SetCpuOptions(const CpuOptions &value)
Instance & WithCpuOptions(const CpuOptions &value)
Instance & AddBlockDeviceMappings(InstanceBlockDeviceMapping &&value)
Instance & WithPublicIpAddress(Aws::String &&value)
void SetInstanceId(const char *value)
AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const
Instance & WithState(InstanceState &&value)
void SetCpuOptions(CpuOptions &&value)
bool CpuOptionsHasBeenSet() const
bool AmiLaunchIndexHasBeenSet() const
bool RootDeviceNameHasBeenSet() const
bool CreatedAtHasBeenSet() const
Instance & AddSecurityGroups(const SecurityGroupIdentifier &value)
Instance & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetInstanceId() const
Instance & WithCreatedAt(Aws::Utils::DateTime &&value)
Instance & WithPublicIpAddress(const Aws::String &value)
const Aws::String & GetPublicIpAddress() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue