7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsEc2InstanceMetadataOptions.h>
11#include <aws/securityhub/model/AwsEc2InstanceMonitoringDetails.h>
12#include <aws/securityhub/model/AwsEc2InstanceNetworkInterfacesDetails.h>
52 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
66 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.assign(value); }
110 inline void SetKeyName(
const char* value) { m_keyNameHasBeenSet =
true; m_keyName.assign(value); }
124 inline void SetIamInstanceProfileArn(
const char* value) { m_iamInstanceProfileArnHasBeenSet =
true; m_iamInstanceProfileArn.assign(value); }
138 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
152 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
180 inline void SetLaunchedAt(
const char* value) { m_launchedAtHasBeenSet =
true; m_launchedAt.assign(value); }
211 inline void SetVirtualizationType(
const char* value) { m_virtualizationTypeHasBeenSet =
true; m_virtualizationType.assign(value); }
243 bool m_typeHasBeenSet =
false;
246 bool m_imageIdHasBeenSet =
false;
249 bool m_ipV4AddressesHasBeenSet =
false;
252 bool m_ipV6AddressesHasBeenSet =
false;
255 bool m_keyNameHasBeenSet =
false;
258 bool m_iamInstanceProfileArnHasBeenSet =
false;
261 bool m_vpcIdHasBeenSet =
false;
264 bool m_subnetIdHasBeenSet =
false;
267 bool m_launchedAtHasBeenSet =
false;
270 bool m_networkInterfacesHasBeenSet =
false;
273 bool m_virtualizationTypeHasBeenSet =
false;
276 bool m_metadataOptionsHasBeenSet =
false;
279 bool m_monitoringHasBeenSet =
false;
bool IpV6AddressesHasBeenSet() const
void SetKeyName(const Aws::String &value)
AwsEc2InstanceDetails & WithSubnetId(Aws::String &&value)
void SetMetadataOptions(const AwsEc2InstanceMetadataOptions &value)
void SetMonitoring(const AwsEc2InstanceMonitoringDetails &value)
bool ImageIdHasBeenSet() const
const Aws::String & GetVirtualizationType() const
void SetImageId(const Aws::String &value)
AwsEc2InstanceDetails & AddIpV4Addresses(const Aws::String &value)
void SetImageId(const char *value)
AwsEc2InstanceDetails & WithSubnetId(const char *value)
void SetSubnetId(Aws::String &&value)
void SetNetworkInterfaces(Aws::Vector< AwsEc2InstanceNetworkInterfacesDetails > &&value)
AwsEc2InstanceDetails & WithIamInstanceProfileArn(Aws::String &&value)
const AwsEc2InstanceMonitoringDetails & GetMonitoring() const
bool MonitoringHasBeenSet() const
AwsEc2InstanceDetails & WithMetadataOptions(const AwsEc2InstanceMetadataOptions &value)
AwsEc2InstanceDetails & WithSubnetId(const Aws::String &value)
bool SubnetIdHasBeenSet() const
void SetNetworkInterfaces(const Aws::Vector< AwsEc2InstanceNetworkInterfacesDetails > &value)
const Aws::String & GetType() const
AwsEc2InstanceDetails & WithVirtualizationType(const char *value)
bool TypeHasBeenSet() const
AwsEc2InstanceDetails & AddIpV4Addresses(Aws::String &&value)
AwsEc2InstanceDetails & AddIpV4Addresses(const char *value)
void SetIamInstanceProfileArn(const Aws::String &value)
void SetLaunchedAt(Aws::String &&value)
AwsEc2InstanceDetails & WithNetworkInterfaces(Aws::Vector< AwsEc2InstanceNetworkInterfacesDetails > &&value)
AwsEc2InstanceDetails & WithMetadataOptions(AwsEc2InstanceMetadataOptions &&value)
void SetLaunchedAt(const char *value)
AwsEc2InstanceDetails & WithVpcId(Aws::String &&value)
AwsEc2InstanceDetails & AddIpV6Addresses(const Aws::String &value)
void SetIpV6Addresses(Aws::Vector< Aws::String > &&value)
const Aws::String & GetIamInstanceProfileArn() const
bool LaunchedAtHasBeenSet() const
AwsEc2InstanceDetails & WithMonitoring(const AwsEc2InstanceMonitoringDetails &value)
void SetMetadataOptions(AwsEc2InstanceMetadataOptions &&value)
const Aws::String & GetImageId() const
void SetSubnetId(const Aws::String &value)
void SetIpV4Addresses(const Aws::Vector< Aws::String > &value)
AwsEc2InstanceDetails & WithVirtualizationType(Aws::String &&value)
const Aws::String & GetVpcId() const
bool NetworkInterfacesHasBeenSet() const
AwsEc2InstanceDetails & AddNetworkInterfaces(AwsEc2InstanceNetworkInterfacesDetails &&value)
bool IamInstanceProfileArnHasBeenSet() const
void SetVirtualizationType(const char *value)
AwsEc2InstanceDetails & WithIpV4Addresses(Aws::Vector< Aws::String > &&value)
AwsEc2InstanceDetails & AddIpV6Addresses(Aws::String &&value)
void SetVirtualizationType(Aws::String &&value)
AwsEc2InstanceDetails & WithLaunchedAt(const char *value)
const Aws::String & GetKeyName() const
void SetMonitoring(AwsEc2InstanceMonitoringDetails &&value)
AwsEc2InstanceDetails & WithImageId(const char *value)
AwsEc2InstanceDetails & WithIamInstanceProfileArn(const char *value)
AwsEc2InstanceDetails & WithMonitoring(AwsEc2InstanceMonitoringDetails &&value)
void SetVpcId(const char *value)
AwsEc2InstanceDetails & WithKeyName(Aws::String &&value)
AwsEc2InstanceDetails & WithImageId(const Aws::String &value)
void SetIpV6Addresses(const Aws::Vector< Aws::String > &value)
AwsEc2InstanceDetails & WithIpV4Addresses(const Aws::Vector< Aws::String > &value)
const Aws::String & GetLaunchedAt() const
AwsEc2InstanceDetails & WithVpcId(const Aws::String &value)
void SetType(Aws::String &&value)
void SetIpV4Addresses(Aws::Vector< Aws::String > &&value)
bool MetadataOptionsHasBeenSet() const
void SetKeyName(Aws::String &&value)
AwsEc2InstanceDetails & WithVirtualizationType(const Aws::String &value)
void SetVpcId(const Aws::String &value)
AwsEc2InstanceDetails & AddIpV6Addresses(const char *value)
bool IpV4AddressesHasBeenSet() const
void SetVpcId(Aws::String &&value)
AwsEc2InstanceDetails & WithVpcId(const char *value)
AwsEc2InstanceDetails & WithKeyName(const Aws::String &value)
AwsEc2InstanceDetails & WithIamInstanceProfileArn(const Aws::String &value)
AWS_SECURITYHUB_API AwsEc2InstanceDetails()
const Aws::Vector< Aws::String > & GetIpV4Addresses() const
const Aws::String & GetSubnetId() const
void SetType(const Aws::String &value)
AwsEc2InstanceDetails & WithNetworkInterfaces(const Aws::Vector< AwsEc2InstanceNetworkInterfacesDetails > &value)
void SetIamInstanceProfileArn(Aws::String &&value)
AwsEc2InstanceDetails & WithType(const char *value)
AwsEc2InstanceDetails & WithKeyName(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEc2InstanceDetails & WithImageId(Aws::String &&value)
AWS_SECURITYHUB_API AwsEc2InstanceDetails(Aws::Utils::Json::JsonView jsonValue)
const AwsEc2InstanceMetadataOptions & GetMetadataOptions() const
const Aws::Vector< AwsEc2InstanceNetworkInterfacesDetails > & GetNetworkInterfaces() const
AwsEc2InstanceDetails & WithIpV6Addresses(const Aws::Vector< Aws::String > &value)
AwsEc2InstanceDetails & WithType(Aws::String &&value)
const Aws::Vector< Aws::String > & GetIpV6Addresses() const
AwsEc2InstanceDetails & WithLaunchedAt(Aws::String &&value)
void SetLaunchedAt(const Aws::String &value)
AwsEc2InstanceDetails & AddNetworkInterfaces(const AwsEc2InstanceNetworkInterfacesDetails &value)
AwsEc2InstanceDetails & WithIpV6Addresses(Aws::Vector< Aws::String > &&value)
bool KeyNameHasBeenSet() const
AwsEc2InstanceDetails & WithLaunchedAt(const Aws::String &value)
AWS_SECURITYHUB_API AwsEc2InstanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetImageId(Aws::String &&value)
void SetSubnetId(const char *value)
bool VirtualizationTypeHasBeenSet() const
void SetKeyName(const char *value)
void SetIamInstanceProfileArn(const char *value)
AwsEc2InstanceDetails & WithType(const Aws::String &value)
bool VpcIdHasBeenSet() const
void SetType(const char *value)
void SetVirtualizationType(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