7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
51 inline void SetIamInstanceProfileArn(
const char* value) { m_iamInstanceProfileArnHasBeenSet =
true; m_iamInstanceProfileArn.assign(value); }
65 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.assign(value); }
109 inline void SetKeyName(
const char* value) { m_keyNameHasBeenSet =
true; m_keyName.assign(value); }
135 inline void SetPlatform(
const char* value) { m_platformHasBeenSet =
true; m_platform.assign(value); }
149 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
163 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
177 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
185 bool m_iamInstanceProfileArnHasBeenSet =
false;
188 bool m_imageIdHasBeenSet =
false;
191 bool m_ipV4AddressesHasBeenSet =
false;
194 bool m_ipV6AddressesHasBeenSet =
false;
197 bool m_keyNameHasBeenSet =
false;
200 bool m_launchedAtHasBeenSet =
false;
203 bool m_platformHasBeenSet =
false;
206 bool m_subnetIdHasBeenSet =
false;
209 bool m_typeHasBeenSet =
false;
212 bool m_vpcIdHasBeenSet =
false;
AwsEc2InstanceDetails & WithImageId(const char *value)
AwsEc2InstanceDetails & AddIpV4Addresses(const Aws::String &value)
AwsEc2InstanceDetails & AddIpV4Addresses(Aws::String &&value)
AwsEc2InstanceDetails & WithVpcId(Aws::String &&value)
bool SubnetIdHasBeenSet() const
bool IamInstanceProfileArnHasBeenSet() const
void SetPlatform(const char *value)
void SetVpcId(const char *value)
AwsEc2InstanceDetails & WithKeyName(const Aws::String &value)
AwsEc2InstanceDetails & WithIpV6Addresses(const Aws::Vector< Aws::String > &value)
AwsEc2InstanceDetails & AddIpV4Addresses(const char *value)
void SetImageId(const char *value)
AwsEc2InstanceDetails & WithIpV4Addresses(const Aws::Vector< Aws::String > &value)
AwsEc2InstanceDetails & WithImageId(const Aws::String &value)
void SetIamInstanceProfileArn(const char *value)
AwsEc2InstanceDetails & WithPlatform(Aws::String &&value)
AwsEc2InstanceDetails & WithIamInstanceProfileArn(const char *value)
void SetKeyName(Aws::String &&value)
AwsEc2InstanceDetails & WithKeyName(Aws::String &&value)
bool IpV4AddressesHasBeenSet() const
const Aws::String & GetVpcId() const
AwsEc2InstanceDetails & WithType(const Aws::String &value)
AwsEc2InstanceDetails & WithImageId(Aws::String &&value)
void SetKeyName(const char *value)
const Aws::String & GetIamInstanceProfileArn() const
const Aws::String & GetKeyName() const
AwsEc2InstanceDetails & WithSubnetId(Aws::String &&value)
void SetSubnetId(const char *value)
AwsEc2InstanceDetails & AddIpV6Addresses(Aws::String &&value)
bool PlatformHasBeenSet() const
void SetType(const Aws::String &value)
void SetIamInstanceProfileArn(const Aws::String &value)
bool ImageIdHasBeenSet() const
void SetLaunchedAt(Aws::Utils::DateTime &&value)
void SetSubnetId(Aws::String &&value)
AWS_INSPECTOR2_API AwsEc2InstanceDetails(Aws::Utils::Json::JsonView jsonValue)
void SetImageId(const Aws::String &value)
AwsEc2InstanceDetails & WithLaunchedAt(Aws::Utils::DateTime &&value)
void SetType(Aws::String &&value)
void SetIamInstanceProfileArn(Aws::String &&value)
bool TypeHasBeenSet() const
AwsEc2InstanceDetails & WithPlatform(const char *value)
AwsEc2InstanceDetails & WithIamInstanceProfileArn(Aws::String &&value)
void SetIpV6Addresses(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetLaunchedAt() const
AwsEc2InstanceDetails & WithSubnetId(const Aws::String &value)
AwsEc2InstanceDetails & WithLaunchedAt(const Aws::Utils::DateTime &value)
AwsEc2InstanceDetails & WithIpV6Addresses(Aws::Vector< Aws::String > &&value)
bool IpV6AddressesHasBeenSet() const
void SetIpV6Addresses(Aws::Vector< Aws::String > &&value)
void SetType(const char *value)
void SetIpV4Addresses(const Aws::Vector< Aws::String > &value)
void SetPlatform(const Aws::String &value)
AwsEc2InstanceDetails & WithVpcId(const Aws::String &value)
void SetPlatform(Aws::String &&value)
const Aws::String & GetPlatform() const
const Aws::String & GetSubnetId() const
AwsEc2InstanceDetails & WithType(Aws::String &&value)
const Aws::String & GetType() const
AwsEc2InstanceDetails & WithIamInstanceProfileArn(const Aws::String &value)
bool LaunchedAtHasBeenSet() const
AWS_INSPECTOR2_API AwsEc2InstanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEc2InstanceDetails & AddIpV6Addresses(const char *value)
AWS_INSPECTOR2_API AwsEc2InstanceDetails()
AwsEc2InstanceDetails & WithIpV4Addresses(Aws::Vector< Aws::String > &&value)
void SetLaunchedAt(const Aws::Utils::DateTime &value)
void SetVpcId(const Aws::String &value)
void SetVpcId(Aws::String &&value)
AwsEc2InstanceDetails & WithPlatform(const Aws::String &value)
AwsEc2InstanceDetails & WithType(const char *value)
AwsEc2InstanceDetails & AddIpV6Addresses(const Aws::String &value)
const Aws::String & GetImageId() const
AwsEc2InstanceDetails & WithSubnetId(const char *value)
void SetImageId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetIpV4Addresses() const
AwsEc2InstanceDetails & WithKeyName(const char *value)
AwsEc2InstanceDetails & WithVpcId(const char *value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
bool KeyNameHasBeenSet() const
bool VpcIdHasBeenSet() const
void SetKeyName(const Aws::String &value)
void SetIpV4Addresses(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetIpV6Addresses() const
void SetSubnetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue