7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/NetworkInterfaceCreationType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ec2/model/ConnectionTrackingSpecificationRequest.h>
13#include <aws/ec2/model/Ipv4PrefixSpecificationRequest.h>
14#include <aws/ec2/model/Ipv6PrefixSpecificationRequest.h>
15#include <aws/ec2/model/TagSpecification.h>
16#include <aws/ec2/model/PrivateIpAddressSpecification.h>
17#include <aws/ec2/model/InstanceIpv6Address.h>
19#include <aws/core/utils/UUID.h>
74 inline void SetIpv4PrefixCount(
int value) { m_ipv4PrefixCountHasBeenSet =
true; m_ipv4PrefixCount = value; }
103 inline void SetIpv6PrefixCount(
int value) { m_ipv6PrefixCountHasBeenSet =
true; m_ipv6PrefixCount = value; }
148 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
172 inline void SetEnablePrimaryIpv6(
bool value) { m_enablePrimaryIpv6HasBeenSet =
true; m_enablePrimaryIpv6 = value; }
196 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
210 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
228 inline void SetPrivateIpAddress(
const char* value) { m_privateIpAddressHasBeenSet =
true; m_privateIpAddress.assign(value); }
310 inline void SetIpv6AddressCount(
int value) { m_ipv6AddressCountHasBeenSet =
true; m_ipv6AddressCount = value; }
323 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
329 bool m_ipv4PrefixesHasBeenSet =
false;
331 int m_ipv4PrefixCount;
332 bool m_ipv4PrefixCountHasBeenSet =
false;
335 bool m_ipv6PrefixesHasBeenSet =
false;
337 int m_ipv6PrefixCount;
338 bool m_ipv6PrefixCountHasBeenSet =
false;
341 bool m_interfaceTypeHasBeenSet =
false;
344 bool m_tagSpecificationsHasBeenSet =
false;
347 bool m_clientTokenHasBeenSet =
false;
349 bool m_enablePrimaryIpv6;
350 bool m_enablePrimaryIpv6HasBeenSet =
false;
353 bool m_connectionTrackingSpecificationHasBeenSet =
false;
356 bool m_subnetIdHasBeenSet =
false;
359 bool m_descriptionHasBeenSet =
false;
362 bool m_privateIpAddressHasBeenSet =
false;
365 bool m_groupsHasBeenSet =
false;
368 bool m_privateIpAddressesHasBeenSet =
false;
370 int m_secondaryPrivateIpAddressCount;
371 bool m_secondaryPrivateIpAddressCountHasBeenSet =
false;
374 bool m_ipv6AddressesHasBeenSet =
false;
376 int m_ipv6AddressCount;
377 bool m_ipv6AddressCountHasBeenSet =
false;
380 bool m_dryRunHasBeenSet =
false;
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetIpv4PrefixCount(int value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetIpv6Prefixes(Aws::Vector< Ipv6PrefixSpecificationRequest > &&value)
const Aws::Vector< Aws::String > & GetGroups() const
CreateNetworkInterfaceRequest & WithDescription(const char *value)
const NetworkInterfaceCreationType & GetInterfaceType() const
void SetClientToken(Aws::String &&value)
CreateNetworkInterfaceRequest & WithSecondaryPrivateIpAddressCount(int value)
void SetDescription(Aws::String &&value)
const Aws::String & GetSubnetId() const
const Aws::String & GetClientToken() const
CreateNetworkInterfaceRequest & WithPrivateIpAddress(Aws::String &&value)
const Aws::Vector< PrivateIpAddressSpecification > & GetPrivateIpAddresses() const
void SetConnectionTrackingSpecification(const ConnectionTrackingSpecificationRequest &value)
CreateNetworkInterfaceRequest & AddGroups(const Aws::String &value)
CreateNetworkInterfaceRequest & AddIpv6Addresses(const InstanceIpv6Address &value)
CreateNetworkInterfaceRequest & WithIpv6Addresses(const Aws::Vector< InstanceIpv6Address > &value)
void SetIpv6AddressCount(int value)
bool Ipv6AddressCountHasBeenSet() const
bool InterfaceTypeHasBeenSet() const
CreateNetworkInterfaceRequest & WithPrivateIpAddress(const char *value)
bool SecondaryPrivateIpAddressCountHasBeenSet() const
CreateNetworkInterfaceRequest & WithPrivateIpAddress(const Aws::String &value)
bool PrivateIpAddressHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateNetworkInterfaceRequest & AddPrivateIpAddresses(const PrivateIpAddressSpecification &value)
const Aws::Vector< Ipv6PrefixSpecificationRequest > & GetIpv6Prefixes() const
void SetDryRun(bool value)
void SetClientToken(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
CreateNetworkInterfaceRequest & WithIpv4PrefixCount(int value)
CreateNetworkInterfaceRequest & WithIpv6AddressCount(int value)
void SetSubnetId(Aws::String &&value)
bool TagSpecificationsHasBeenSet() const
CreateNetworkInterfaceRequest & WithSubnetId(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetIpv6Addresses(Aws::Vector< InstanceIpv6Address > &&value)
int GetSecondaryPrivateIpAddressCount() const
bool GetEnablePrimaryIpv6() const
void SetSubnetId(const Aws::String &value)
const ConnectionTrackingSpecificationRequest & GetConnectionTrackingSpecification() const
CreateNetworkInterfaceRequest & AddTagSpecifications(const TagSpecification &value)
CreateNetworkInterfaceRequest & WithPrivateIpAddresses(Aws::Vector< PrivateIpAddressSpecification > &&value)
CreateNetworkInterfaceRequest & WithIpv6Prefixes(Aws::Vector< Ipv6PrefixSpecificationRequest > &&value)
CreateNetworkInterfaceRequest & AddIpv4Prefixes(const Ipv4PrefixSpecificationRequest &value)
CreateNetworkInterfaceRequest & WithInterfaceType(NetworkInterfaceCreationType &&value)
void SetIpv6PrefixCount(int value)
CreateNetworkInterfaceRequest & WithEnablePrimaryIpv6(bool value)
CreateNetworkInterfaceRequest & WithDryRun(bool value)
CreateNetworkInterfaceRequest & WithClientToken(Aws::String &&value)
CreateNetworkInterfaceRequest & WithIpv4Prefixes(Aws::Vector< Ipv4PrefixSpecificationRequest > &&value)
CreateNetworkInterfaceRequest & WithIpv6Addresses(Aws::Vector< InstanceIpv6Address > &&value)
CreateNetworkInterfaceRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
const Aws::Vector< InstanceIpv6Address > & GetIpv6Addresses() const
bool DescriptionHasBeenSet() const
void SetIpv4Prefixes(Aws::Vector< Ipv4PrefixSpecificationRequest > &&value)
CreateNetworkInterfaceRequest & AddIpv4Prefixes(Ipv4PrefixSpecificationRequest &&value)
void SetClientToken(const Aws::String &value)
CreateNetworkInterfaceRequest & WithIpv6PrefixCount(int value)
void SetPrivateIpAddresses(Aws::Vector< PrivateIpAddressSpecification > &&value)
CreateNetworkInterfaceRequest & WithIpv6Prefixes(const Aws::Vector< Ipv6PrefixSpecificationRequest > &value)
CreateNetworkInterfaceRequest & WithGroups(const Aws::Vector< Aws::String > &value)
void SetGroups(Aws::Vector< Aws::String > &&value)
bool Ipv6PrefixCountHasBeenSet() const
const Aws::String & GetPrivateIpAddress() const
void SetIpv6Addresses(const Aws::Vector< InstanceIpv6Address > &value)
CreateNetworkInterfaceRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateNetworkInterfaceRequest & WithPrivateIpAddresses(const Aws::Vector< PrivateIpAddressSpecification > &value)
bool Ipv4PrefixesHasBeenSet() const
bool ConnectionTrackingSpecificationHasBeenSet() const
AWS_EC2_API CreateNetworkInterfaceRequest()
void SetInterfaceType(const NetworkInterfaceCreationType &value)
int GetIpv4PrefixCount() const
bool Ipv6AddressesHasBeenSet() const
CreateNetworkInterfaceRequest & WithSubnetId(Aws::String &&value)
int GetIpv6PrefixCount() const
CreateNetworkInterfaceRequest & WithClientToken(const char *value)
void SetSecondaryPrivateIpAddressCount(int value)
void SetIpv4Prefixes(const Aws::Vector< Ipv4PrefixSpecificationRequest > &value)
bool Ipv4PrefixCountHasBeenSet() const
void SetPrivateIpAddress(const Aws::String &value)
CreateNetworkInterfaceRequest & AddIpv6Addresses(InstanceIpv6Address &&value)
CreateNetworkInterfaceRequest & AddIpv6Prefixes(Ipv6PrefixSpecificationRequest &&value)
void SetDescription(const Aws::String &value)
CreateNetworkInterfaceRequest & WithIpv4Prefixes(const Aws::Vector< Ipv4PrefixSpecificationRequest > &value)
bool DryRunHasBeenSet() const
void SetSubnetId(const char *value)
CreateNetworkInterfaceRequest & WithDescription(const Aws::String &value)
bool SubnetIdHasBeenSet() const
void SetIpv6Prefixes(const Aws::Vector< Ipv6PrefixSpecificationRequest > &value)
CreateNetworkInterfaceRequest & AddIpv6Prefixes(const Ipv6PrefixSpecificationRequest &value)
bool PrivateIpAddressesHasBeenSet() const
void SetDescription(const char *value)
void SetPrivateIpAddress(Aws::String &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
bool Ipv6PrefixesHasBeenSet() const
CreateNetworkInterfaceRequest & WithConnectionTrackingSpecification(const ConnectionTrackingSpecificationRequest &value)
void SetInterfaceType(NetworkInterfaceCreationType &&value)
CreateNetworkInterfaceRequest & WithSubnetId(const Aws::String &value)
void SetConnectionTrackingSpecification(ConnectionTrackingSpecificationRequest &&value)
const Aws::Vector< Ipv4PrefixSpecificationRequest > & GetIpv4Prefixes() const
CreateNetworkInterfaceRequest & AddPrivateIpAddresses(PrivateIpAddressSpecification &&value)
int GetIpv6AddressCount() const
virtual const char * GetServiceRequestName() const override
CreateNetworkInterfaceRequest & AddGroups(const char *value)
CreateNetworkInterfaceRequest & WithClientToken(const Aws::String &value)
CreateNetworkInterfaceRequest & WithConnectionTrackingSpecification(ConnectionTrackingSpecificationRequest &&value)
CreateNetworkInterfaceRequest & AddTagSpecifications(TagSpecification &&value)
CreateNetworkInterfaceRequest & WithInterfaceType(const NetworkInterfaceCreationType &value)
void SetPrivateIpAddress(const char *value)
CreateNetworkInterfaceRequest & AddGroups(Aws::String &&value)
void SetEnablePrimaryIpv6(bool value)
CreateNetworkInterfaceRequest & WithDescription(Aws::String &&value)
const Aws::String & GetDescription() const
void SetPrivateIpAddresses(const Aws::Vector< PrivateIpAddressSpecification > &value)
bool GroupsHasBeenSet() const
CreateNetworkInterfaceRequest & WithGroups(Aws::Vector< Aws::String > &&value)
void SetGroups(const Aws::Vector< Aws::String > &value)
bool EnablePrimaryIpv6HasBeenSet() const
NetworkInterfaceCreationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector