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>
67 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
81 inline void SetPrivateDnsName(
const char* value) { m_privateDnsNameHasBeenSet =
true; m_privateDnsName.assign(value); }
95 inline void SetPrivateIpAddress(
const char* value) { m_privateIpAddressHasBeenSet =
true; m_privateIpAddress.assign(value); }
123 inline void SetPublicDnsName(
const char* value) { m_publicDnsNameHasBeenSet =
true; m_publicDnsName.assign(value); }
137 inline void SetPublicIp(
const char* value) { m_publicIpHasBeenSet =
true; m_publicIp.assign(value); }
165 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
179 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
187 bool m_ipv6AddressesHasBeenSet =
false;
190 bool m_networkInterfaceIdHasBeenSet =
false;
193 bool m_privateDnsNameHasBeenSet =
false;
196 bool m_privateIpAddressHasBeenSet =
false;
199 bool m_privateIpAddressesHasBeenSet =
false;
202 bool m_publicDnsNameHasBeenSet =
false;
205 bool m_publicIpHasBeenSet =
false;
208 bool m_securityGroupsHasBeenSet =
false;
211 bool m_subnetIdHasBeenSet =
false;
214 bool m_vpcIdHasBeenSet =
false;
void SetSecurityGroups(Aws::Vector< SecurityGroup > &&value)
bool Ipv6AddressesHasBeenSet() const
void SetPrivateDnsName(Aws::String &&value)
void SetPublicDnsName(const char *value)
void SetVpcId(Aws::String &&value)
bool PrivateDnsNameHasBeenSet() const
NetworkInterface & WithPublicDnsName(Aws::String &&value)
const Aws::String & GetPrivateDnsName() const
void SetVpcId(const char *value)
void SetNetworkInterfaceId(const Aws::String &value)
const Aws::String & GetPublicIp() const
void SetPrivateIpAddress(const Aws::String &value)
NetworkInterface & WithPublicIp(const Aws::String &value)
void SetPublicIp(const Aws::String &value)
void SetPublicDnsName(Aws::String &&value)
void SetPublicIp(Aws::String &&value)
NetworkInterface & WithPublicIp(const char *value)
NetworkInterface & AddIpv6Addresses(const Aws::String &value)
const Aws::Vector< SecurityGroup > & GetSecurityGroups() const
NetworkInterface & WithPrivateDnsName(const char *value)
NetworkInterface & WithPrivateDnsName(const Aws::String &value)
NetworkInterface & WithSubnetId(const char *value)
void SetNetworkInterfaceId(Aws::String &&value)
NetworkInterface & WithPrivateDnsName(Aws::String &&value)
bool SecurityGroupsHasBeenSet() const
void SetPrivateDnsName(const char *value)
NetworkInterface & WithIpv6Addresses(Aws::Vector< Aws::String > &&value)
void SetPrivateIpAddresses(Aws::Vector< PrivateIpAddressDetails > &&value)
NetworkInterface & WithSubnetId(Aws::String &&value)
NetworkInterface & WithVpcId(Aws::String &&value)
NetworkInterface & WithVpcId(const Aws::String &value)
AWS_GUARDDUTY_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue)
NetworkInterface & WithSecurityGroups(const Aws::Vector< SecurityGroup > &value)
bool PrivateIpAddressHasBeenSet() const
NetworkInterface & WithPrivateIpAddresses(Aws::Vector< PrivateIpAddressDetails > &&value)
void SetPrivateDnsName(const Aws::String &value)
bool PublicIpHasBeenSet() const
NetworkInterface & WithPrivateIpAddress(const char *value)
bool PrivateIpAddressesHasBeenSet() const
void SetPrivateIpAddress(const char *value)
bool PublicDnsNameHasBeenSet() const
void SetNetworkInterfaceId(const char *value)
void SetIpv6Addresses(const Aws::Vector< Aws::String > &value)
NetworkInterface & AddIpv6Addresses(const char *value)
void SetPrivateIpAddresses(const Aws::Vector< PrivateIpAddressDetails > &value)
NetworkInterface & AddPrivateIpAddresses(const PrivateIpAddressDetails &value)
const Aws::Vector< Aws::String > & GetIpv6Addresses() const
void SetSecurityGroups(const Aws::Vector< SecurityGroup > &value)
const Aws::String & GetPrivateIpAddress() const
AWS_GUARDDUTY_API NetworkInterface()
void SetSubnetId(const Aws::String &value)
AWS_GUARDDUTY_API NetworkInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkInterface & WithVpcId(const char *value)
NetworkInterface & WithPublicDnsName(const Aws::String &value)
bool VpcIdHasBeenSet() const
const Aws::String & GetPublicDnsName() const
NetworkInterface & WithNetworkInterfaceId(Aws::String &&value)
const Aws::String & GetSubnetId() const
NetworkInterface & WithPrivateIpAddress(const Aws::String &value)
NetworkInterface & WithPrivateIpAddresses(const Aws::Vector< PrivateIpAddressDetails > &value)
void SetSubnetId(Aws::String &&value)
NetworkInterface & WithSecurityGroups(Aws::Vector< SecurityGroup > &&value)
bool SubnetIdHasBeenSet() const
NetworkInterface & WithPublicDnsName(const char *value)
const Aws::String & GetVpcId() const
NetworkInterface & AddPrivateIpAddresses(PrivateIpAddressDetails &&value)
NetworkInterface & WithIpv6Addresses(const Aws::Vector< Aws::String > &value)
void SetVpcId(const Aws::String &value)
bool NetworkInterfaceIdHasBeenSet() const
const Aws::Vector< PrivateIpAddressDetails > & GetPrivateIpAddresses() const
void SetSubnetId(const char *value)
NetworkInterface & WithNetworkInterfaceId(const Aws::String &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkInterface & AddSecurityGroups(SecurityGroup &&value)
const Aws::String & GetNetworkInterfaceId() const
NetworkInterface & WithPublicIp(Aws::String &&value)
NetworkInterface & AddSecurityGroups(const SecurityGroup &value)
void SetPublicIp(const char *value)
NetworkInterface & AddIpv6Addresses(Aws::String &&value)
NetworkInterface & WithSubnetId(const Aws::String &value)
NetworkInterface & WithPrivateIpAddress(Aws::String &&value)
void SetIpv6Addresses(Aws::Vector< Aws::String > &&value)
NetworkInterface & WithNetworkInterfaceId(const char *value)
void SetPublicDnsName(const Aws::String &value)
void SetPrivateIpAddress(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