7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/PrivateIpAddressDetails.h>
11#include <aws/guardduty/model/SecurityGroup.h>
44 template <
typename Ipv6AddressesT = Aws::Vector<Aws::String>>
46 m_ipv6AddressesHasBeenSet =
true;
47 m_ipv6Addresses = std::forward<Ipv6AddressesT>(value);
49 template <
typename Ipv6AddressesT = Aws::Vector<Aws::String>>
54 template <
typename Ipv6AddressesT = Aws::String>
56 m_ipv6AddressesHasBeenSet =
true;
57 m_ipv6Addresses.emplace_back(std::forward<Ipv6AddressesT>(value));
68 template <
typename PrivateIpAddressesT = Aws::Vector<PrivateIpAddressDetails>>
70 m_privateIpAddressesHasBeenSet =
true;
71 m_privateIpAddresses = std::forward<PrivateIpAddressesT>(value);
73 template <
typename PrivateIpAddressesT = Aws::Vector<PrivateIpAddressDetails>>
78 template <
typename PrivateIpAddressesT = PrivateIpAddressDetails>
80 m_privateIpAddressesHasBeenSet =
true;
81 m_privateIpAddresses.emplace_back(std::forward<PrivateIpAddressesT>(value));
92 template <
typename PublicIpT = Aws::String>
94 m_publicIpHasBeenSet =
true;
95 m_publicIp = std::forward<PublicIpT>(value);
97 template <
typename PublicIpT = Aws::String>
110 template <
typename SecurityGroupsT = Aws::Vector<SecurityGroup>>
112 m_securityGroupsHasBeenSet =
true;
113 m_securityGroups = std::forward<SecurityGroupsT>(value);
115 template <
typename SecurityGroupsT = Aws::Vector<SecurityGroup>>
120 template <
typename SecurityGroupsT = SecurityGroup>
122 m_securityGroupsHasBeenSet =
true;
123 m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
134 template <
typename SubNetIdT = Aws::String>
136 m_subNetIdHasBeenSet =
true;
137 m_subNetId = std::forward<SubNetIdT>(value);
139 template <
typename SubNetIdT = Aws::String>
152 template <
typename VpcIdT = Aws::String>
154 m_vpcIdHasBeenSet =
true;
155 m_vpcId = std::forward<VpcIdT>(value);
157 template <
typename VpcIdT = Aws::String>
159 SetVpcId(std::forward<VpcIdT>(value));
175 bool m_ipv6AddressesHasBeenSet =
false;
176 bool m_privateIpAddressesHasBeenSet =
false;
177 bool m_publicIpHasBeenSet =
false;
178 bool m_securityGroupsHasBeenSet =
false;
179 bool m_subNetIdHasBeenSet =
false;
180 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