7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/model/PrivateIpAddressDetails.h>
11#include <aws/guardduty/model/SecurityGroup.h>
50 template<
typename Ipv6AddressesT = Aws::Vector<Aws::String>>
51 void SetIpv6Addresses(Ipv6AddressesT&& value) { m_ipv6AddressesHasBeenSet =
true; m_ipv6Addresses = std::forward<Ipv6AddressesT>(value); }
52 template<
typename Ipv6AddressesT = Aws::Vector<Aws::String>>
54 template<
typename Ipv6AddressesT = Aws::String>
64 template<
typename PrivateIpAddressesT = Aws::Vector<PrivateIpAddressDetails>>
65 void SetPrivateIpAddresses(PrivateIpAddressesT&& value) { m_privateIpAddressesHasBeenSet =
true; m_privateIpAddresses = std::forward<PrivateIpAddressesT>(value); }
66 template<
typename PrivateIpAddressesT = Aws::Vector<PrivateIpAddressDetails>>
68 template<
typename PrivateIpAddressesT = PrivateIpAddressDetails>
78 template<
typename PublicIpT = Aws::String>
79 void SetPublicIp(PublicIpT&& value) { m_publicIpHasBeenSet =
true; m_publicIp = std::forward<PublicIpT>(value); }
80 template<
typename PublicIpT = Aws::String>
90 template<
typename SecurityGroupsT = Aws::Vector<SecurityGroup>>
91 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
92 template<
typename SecurityGroupsT = Aws::Vector<SecurityGroup>>
94 template<
typename SecurityGroupsT = SecurityGroup>
104 template<
typename SubNetIdT = Aws::String>
105 void SetSubNetId(SubNetIdT&& value) { m_subNetIdHasBeenSet =
true; m_subNetId = std::forward<SubNetIdT>(value); }
106 template<
typename SubNetIdT = Aws::String>
116 template<
typename VpcIdT = Aws::String>
117 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
118 template<
typename VpcIdT = Aws::String>
124 bool m_ipv6AddressesHasBeenSet =
false;
127 bool m_privateIpAddressesHasBeenSet =
false;
130 bool m_publicIpHasBeenSet =
false;
133 bool m_securityGroupsHasBeenSet =
false;
136 bool m_subNetIdHasBeenSet =
false;
139 bool m_vpcIdHasBeenSet =
false;
Ec2NetworkInterface & WithVpcId(VpcIdT &&value)
bool SubNetIdHasBeenSet() const
bool SecurityGroupsHasBeenSet() const
void SetPrivateIpAddresses(PrivateIpAddressesT &&value)
void SetSecurityGroups(SecurityGroupsT &&value)
const Aws::String & GetPublicIp() const
Ec2NetworkInterface & AddSecurityGroups(SecurityGroupsT &&value)
Ec2NetworkInterface & WithSecurityGroups(SecurityGroupsT &&value)
void SetPublicIp(PublicIpT &&value)
const Aws::Vector< Aws::String > & GetIpv6Addresses() const
AWS_GUARDDUTY_API Ec2NetworkInterface(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVpcId(VpcIdT &&value)
Ec2NetworkInterface & WithSubNetId(SubNetIdT &&value)
Ec2NetworkInterface & WithPrivateIpAddresses(PrivateIpAddressesT &&value)
const Aws::Vector< PrivateIpAddressDetails > & GetPrivateIpAddresses() const
AWS_GUARDDUTY_API Ec2NetworkInterface()=default
bool Ipv6AddressesHasBeenSet() const
const Aws::String & GetSubNetId() const
const Aws::Vector< SecurityGroup > & GetSecurityGroups() const
Ec2NetworkInterface & AddPrivateIpAddresses(PrivateIpAddressesT &&value)
Ec2NetworkInterface & AddIpv6Addresses(Ipv6AddressesT &&value)
Ec2NetworkInterface & WithIpv6Addresses(Ipv6AddressesT &&value)
void SetSubNetId(SubNetIdT &&value)
bool VpcIdHasBeenSet() const
AWS_GUARDDUTY_API Ec2NetworkInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PrivateIpAddressesHasBeenSet() const
bool PublicIpHasBeenSet() const
const Aws::String & GetVpcId() const
void SetIpv6Addresses(Ipv6AddressesT &&value)
Ec2NetworkInterface & WithPublicIp(PublicIpT &&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