7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsEc2NetworkInterfaceAttachment.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/securityhub/model/AwsEc2NetworkInterfaceSecurityGroup.h>
12#include <aws/securityhub/model/AwsEc2NetworkInterfaceIpV6AddressDetail.h>
13#include <aws/securityhub/model/AwsEc2NetworkInterfacePrivateIpAddressDetail.h>
65 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
91 inline void SetSourceDestCheck(
bool value) { m_sourceDestCheckHasBeenSet =
true; m_sourceDestCheck = value; }
131 inline void SetPublicDnsName(
const char* value) { m_publicDnsNameHasBeenSet =
true; m_publicDnsName.assign(value); }
145 inline void SetPublicIp(
const char* value) { m_publicIpHasBeenSet =
true; m_publicIp.assign(value); }
153 bool m_attachmentHasBeenSet =
false;
156 bool m_networkInterfaceIdHasBeenSet =
false;
159 bool m_securityGroupsHasBeenSet =
false;
161 bool m_sourceDestCheck;
162 bool m_sourceDestCheckHasBeenSet =
false;
165 bool m_ipV6AddressesHasBeenSet =
false;
168 bool m_privateIpAddressesHasBeenSet =
false;
171 bool m_publicDnsNameHasBeenSet =
false;
174 bool m_publicIpHasBeenSet =
false;
AwsEc2NetworkInterfaceDetails & WithPublicDnsName(const Aws::String &value)
const Aws::Vector< AwsEc2NetworkInterfacePrivateIpAddressDetail > & GetPrivateIpAddresses() const
AwsEc2NetworkInterfaceDetails & WithPublicDnsName(const char *value)
const AwsEc2NetworkInterfaceAttachment & GetAttachment() const
const Aws::String & GetNetworkInterfaceId() const
void SetSecurityGroups(const Aws::Vector< AwsEc2NetworkInterfaceSecurityGroup > &value)
void SetPrivateIpAddresses(Aws::Vector< AwsEc2NetworkInterfacePrivateIpAddressDetail > &&value)
bool PublicIpHasBeenSet() const
void SetNetworkInterfaceId(Aws::String &&value)
bool PublicDnsNameHasBeenSet() const
void SetAttachment(AwsEc2NetworkInterfaceAttachment &&value)
AwsEc2NetworkInterfaceDetails & WithNetworkInterfaceId(const char *value)
AwsEc2NetworkInterfaceDetails & WithPublicDnsName(Aws::String &&value)
AwsEc2NetworkInterfaceDetails & WithPrivateIpAddresses(Aws::Vector< AwsEc2NetworkInterfacePrivateIpAddressDetail > &&value)
AwsEc2NetworkInterfaceDetails & WithPublicIp(const Aws::String &value)
const Aws::String & GetPublicIp() const
void SetNetworkInterfaceId(const char *value)
AwsEc2NetworkInterfaceDetails & AddIpV6Addresses(AwsEc2NetworkInterfaceIpV6AddressDetail &&value)
AwsEc2NetworkInterfaceDetails & WithIpV6Addresses(Aws::Vector< AwsEc2NetworkInterfaceIpV6AddressDetail > &&value)
AwsEc2NetworkInterfaceDetails & WithSecurityGroups(Aws::Vector< AwsEc2NetworkInterfaceSecurityGroup > &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEc2NetworkInterfaceDetails & WithPrivateIpAddresses(const Aws::Vector< AwsEc2NetworkInterfacePrivateIpAddressDetail > &value)
void SetPublicIp(const char *value)
void SetIpV6Addresses(Aws::Vector< AwsEc2NetworkInterfaceIpV6AddressDetail > &&value)
AwsEc2NetworkInterfaceDetails & WithPublicIp(const char *value)
AwsEc2NetworkInterfaceDetails & AddSecurityGroups(const AwsEc2NetworkInterfaceSecurityGroup &value)
void SetSecurityGroups(Aws::Vector< AwsEc2NetworkInterfaceSecurityGroup > &&value)
AwsEc2NetworkInterfaceDetails & WithIpV6Addresses(const Aws::Vector< AwsEc2NetworkInterfaceIpV6AddressDetail > &value)
AwsEc2NetworkInterfaceDetails & AddSecurityGroups(AwsEc2NetworkInterfaceSecurityGroup &&value)
void SetPublicIp(Aws::String &&value)
const Aws::Vector< AwsEc2NetworkInterfaceIpV6AddressDetail > & GetIpV6Addresses() const
bool SecurityGroupsHasBeenSet() const
void SetPublicDnsName(Aws::String &&value)
bool PrivateIpAddressesHasBeenSet() const
const Aws::String & GetPublicDnsName() const
AwsEc2NetworkInterfaceDetails & WithSecurityGroups(const Aws::Vector< AwsEc2NetworkInterfaceSecurityGroup > &value)
void SetIpV6Addresses(const Aws::Vector< AwsEc2NetworkInterfaceIpV6AddressDetail > &value)
void SetSourceDestCheck(bool value)
void SetAttachment(const AwsEc2NetworkInterfaceAttachment &value)
bool NetworkInterfaceIdHasBeenSet() const
AwsEc2NetworkInterfaceDetails & WithSourceDestCheck(bool value)
void SetPublicDnsName(const Aws::String &value)
void SetPublicIp(const Aws::String &value)
bool IpV6AddressesHasBeenSet() const
AwsEc2NetworkInterfaceDetails & WithNetworkInterfaceId(const Aws::String &value)
AwsEc2NetworkInterfaceDetails & WithPublicIp(Aws::String &&value)
AwsEc2NetworkInterfaceDetails & WithAttachment(AwsEc2NetworkInterfaceAttachment &&value)
const Aws::Vector< AwsEc2NetworkInterfaceSecurityGroup > & GetSecurityGroups() const
void SetPublicDnsName(const char *value)
bool AttachmentHasBeenSet() const
AwsEc2NetworkInterfaceDetails & WithAttachment(const AwsEc2NetworkInterfaceAttachment &value)
void SetPrivateIpAddresses(const Aws::Vector< AwsEc2NetworkInterfacePrivateIpAddressDetail > &value)
bool SourceDestCheckHasBeenSet() const
AWS_SECURITYHUB_API AwsEc2NetworkInterfaceDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEc2NetworkInterfaceDetails & AddPrivateIpAddresses(const AwsEc2NetworkInterfacePrivateIpAddressDetail &value)
AWS_SECURITYHUB_API AwsEc2NetworkInterfaceDetails()
AwsEc2NetworkInterfaceDetails & AddIpV6Addresses(const AwsEc2NetworkInterfaceIpV6AddressDetail &value)
AwsEc2NetworkInterfaceDetails & WithNetworkInterfaceId(Aws::String &&value)
bool GetSourceDestCheck() const
AWS_SECURITYHUB_API AwsEc2NetworkInterfaceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEc2NetworkInterfaceDetails & AddPrivateIpAddresses(AwsEc2NetworkInterfacePrivateIpAddressDetail &&value)
void SetNetworkInterfaceId(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