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/core/utils/memory/stl/AWSString.h>
51 template<
typename Ipv4PrefixesT = Aws::Vector<Aws::String>>
52 void SetIpv4Prefixes(Ipv4PrefixesT&& value) { m_ipv4PrefixesHasBeenSet =
true; m_ipv4Prefixes = std::forward<Ipv4PrefixesT>(value); }
53 template<
typename Ipv4PrefixesT = Aws::Vector<Aws::String>>
55 template<
typename Ipv4PrefixesT = Aws::String>
67 inline void SetIpv4PrefixCount(
int value) { m_ipv4PrefixCountHasBeenSet =
true; m_ipv4PrefixCount = value; }
77 template<
typename NetworkInterfaceIdT = Aws::String>
78 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value); }
79 template<
typename NetworkInterfaceIdT = Aws::String>
92 template<
typename PrivateIpAddressesT = Aws::Vector<Aws::String>>
93 void SetPrivateIpAddresses(PrivateIpAddressesT&& value) { m_privateIpAddressesHasBeenSet =
true; m_privateIpAddresses = std::forward<PrivateIpAddressesT>(value); }
94 template<
typename PrivateIpAddressesT = Aws::Vector<Aws::String>>
96 template<
typename PrivateIpAddressesT = Aws::String>
119 inline void SetAllowReassignment(
bool value) { m_allowReassignmentHasBeenSet =
true; m_allowReassignment = value; }
125 bool m_ipv4PrefixesHasBeenSet =
false;
127 int m_ipv4PrefixCount{0};
128 bool m_ipv4PrefixCountHasBeenSet =
false;
131 bool m_networkInterfaceIdHasBeenSet =
false;
134 bool m_privateIpAddressesHasBeenSet =
false;
136 int m_secondaryPrivateIpAddressCount{0};
137 bool m_secondaryPrivateIpAddressCountHasBeenSet =
false;
139 bool m_allowReassignment{
false};
140 bool m_allowReassignmentHasBeenSet =
false;
int GetIpv4PrefixCount() const
void SetIpv4PrefixCount(int value)
bool AllowReassignmentHasBeenSet() const
void SetSecondaryPrivateIpAddressCount(int value)
bool SecondaryPrivateIpAddressCountHasBeenSet() const
AssignPrivateIpAddressesRequest & AddPrivateIpAddresses(PrivateIpAddressesT &&value)
void SetAllowReassignment(bool value)
AssignPrivateIpAddressesRequest & WithIpv4PrefixCount(int value)
void SetIpv4Prefixes(Ipv4PrefixesT &&value)
AssignPrivateIpAddressesRequest & WithSecondaryPrivateIpAddressCount(int value)
AssignPrivateIpAddressesRequest & WithPrivateIpAddresses(PrivateIpAddressesT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool Ipv4PrefixCountHasBeenSet() const
AssignPrivateIpAddressesRequest & AddIpv4Prefixes(Ipv4PrefixesT &&value)
bool GetAllowReassignment() const
AssignPrivateIpAddressesRequest & WithAllowReassignment(bool value)
bool Ipv4PrefixesHasBeenSet() const
AssignPrivateIpAddressesRequest & WithIpv4Prefixes(Ipv4PrefixesT &&value)
bool PrivateIpAddressesHasBeenSet() const
AWS_EC2_API AssignPrivateIpAddressesRequest()=default
const Aws::String & GetNetworkInterfaceId() const
const Aws::Vector< Aws::String > & GetIpv4Prefixes() const
int GetSecondaryPrivateIpAddressCount() const
AssignPrivateIpAddressesRequest & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
const Aws::Vector< Aws::String > & GetPrivateIpAddresses() const
void SetPrivateIpAddresses(PrivateIpAddressesT &&value)
virtual const char * GetServiceRequestName() const override
bool NetworkInterfaceIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector