7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/model/EnaSrdSpecification.h>
10#include <aws/ec2/model/ConnectionTrackingSpecificationRequest.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/ec2/model/AttributeValue.h>
14#include <aws/ec2/model/AttributeBooleanValue.h>
15#include <aws/ec2/model/NetworkInterfaceAttachmentChanges.h>
56 template<
typename EnaSrdSpecificationT = EnaSrdSpecification>
57 void SetEnaSrdSpecification(EnaSrdSpecificationT&& value) { m_enaSrdSpecificationHasBeenSet =
true; m_enaSrdSpecification = std::forward<EnaSrdSpecificationT>(value); }
58 template<
typename EnaSrdSpecificationT = EnaSrdSpecification>
80 inline void SetEnablePrimaryIpv6(
bool value) { m_enablePrimaryIpv6HasBeenSet =
true; m_enablePrimaryIpv6 = value; }
90 template<
typename ConnectionTrackingSpecificationT = ConnectionTrackingSpecificationRequest>
91 void SetConnectionTrackingSpecification(ConnectionTrackingSpecificationT&& value) { m_connectionTrackingSpecificationHasBeenSet =
true; m_connectionTrackingSpecification = std::forward<ConnectionTrackingSpecificationT>(value); }
92 template<
typename ConnectionTrackingSpecificationT = ConnectionTrackingSpecificationRequest>
114 template<
typename AssociatedSubnetIdsT = Aws::Vector<Aws::String>>
115 void SetAssociatedSubnetIds(AssociatedSubnetIdsT&& value) { m_associatedSubnetIdsHasBeenSet =
true; m_associatedSubnetIds = std::forward<AssociatedSubnetIdsT>(value); }
116 template<
typename AssociatedSubnetIdsT = Aws::Vector<Aws::String>>
118 template<
typename AssociatedSubnetIdsT = Aws::String>
131 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
141 template<
typename NetworkInterfaceIdT = Aws::String>
142 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value); }
143 template<
typename NetworkInterfaceIdT = Aws::String>
153 template<
typename DescriptionT = AttributeValue>
154 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
155 template<
typename DescriptionT = AttributeValue>
170 template<
typename SourceDestCheckT = AttributeBooleanValue>
171 void SetSourceDestCheck(SourceDestCheckT&& value) { m_sourceDestCheckHasBeenSet =
true; m_sourceDestCheck = std::forward<SourceDestCheckT>(value); }
172 template<
typename SourceDestCheckT = AttributeBooleanValue>
185 template<
typename GroupsT = Aws::Vector<Aws::String>>
186 void SetGroups(GroupsT&& value) { m_groupsHasBeenSet =
true; m_groups = std::forward<GroupsT>(value); }
187 template<
typename GroupsT = Aws::Vector<Aws::String>>
189 template<
typename GroupsT = Aws::String>
201 template<
typename AttachmentT = NetworkInterfaceAttachmentChanges>
202 void SetAttachment(AttachmentT&& value) { m_attachmentHasBeenSet =
true; m_attachment = std::forward<AttachmentT>(value); }
203 template<
typename AttachmentT = NetworkInterfaceAttachmentChanges>
209 bool m_enaSrdSpecificationHasBeenSet =
false;
211 bool m_enablePrimaryIpv6{
false};
212 bool m_enablePrimaryIpv6HasBeenSet =
false;
214 ConnectionTrackingSpecificationRequest m_connectionTrackingSpecification;
215 bool m_connectionTrackingSpecificationHasBeenSet =
false;
217 bool m_associatePublicIpAddress{
false};
218 bool m_associatePublicIpAddressHasBeenSet =
false;
221 bool m_associatedSubnetIdsHasBeenSet =
false;
223 bool m_dryRun{
false};
224 bool m_dryRunHasBeenSet =
false;
227 bool m_networkInterfaceIdHasBeenSet =
false;
229 AttributeValue m_description;
230 bool m_descriptionHasBeenSet =
false;
232 AttributeBooleanValue m_sourceDestCheck;
233 bool m_sourceDestCheckHasBeenSet =
false;
236 bool m_groupsHasBeenSet =
false;
238 NetworkInterfaceAttachmentChanges m_attachment;
239 bool m_attachmentHasBeenSet =
false;
bool AttachmentHasBeenSet() const
bool SourceDestCheckHasBeenSet() const
void SetAssociatePublicIpAddress(bool value)
void SetEnablePrimaryIpv6(bool value)
bool GetEnablePrimaryIpv6() const
bool ConnectionTrackingSpecificationHasBeenSet() const
ModifyNetworkInterfaceAttributeRequest & WithDescription(DescriptionT &&value)
bool EnaSrdSpecificationHasBeenSet() const
const Aws::String & GetNetworkInterfaceId() const
void SetDryRun(bool value)
void SetGroups(GroupsT &&value)
ModifyNetworkInterfaceAttributeRequest & WithAssociatedSubnetIds(AssociatedSubnetIdsT &&value)
ModifyNetworkInterfaceAttributeRequest & AddGroups(GroupsT &&value)
void SetDescription(DescriptionT &&value)
ModifyNetworkInterfaceAttributeRequest & WithGroups(GroupsT &&value)
void SetEnaSrdSpecification(EnaSrdSpecificationT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool DryRunHasBeenSet() const
bool DescriptionHasBeenSet() const
ModifyNetworkInterfaceAttributeRequest & WithConnectionTrackingSpecification(ConnectionTrackingSpecificationT &&value)
ModifyNetworkInterfaceAttributeRequest & WithDryRun(bool value)
void SetSourceDestCheck(SourceDestCheckT &&value)
ModifyNetworkInterfaceAttributeRequest & WithEnaSrdSpecification(EnaSrdSpecificationT &&value)
const NetworkInterfaceAttachmentChanges & GetAttachment() const
const EnaSrdSpecification & GetEnaSrdSpecification() const
ModifyNetworkInterfaceAttributeRequest & WithAssociatePublicIpAddress(bool value)
const Aws::Vector< Aws::String > & GetGroups() const
ModifyNetworkInterfaceAttributeRequest & WithSourceDestCheck(SourceDestCheckT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetAssociatedSubnetIds(AssociatedSubnetIdsT &&value)
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
bool EnablePrimaryIpv6HasBeenSet() const
void SetAttachment(AttachmentT &&value)
ModifyNetworkInterfaceAttributeRequest & WithEnablePrimaryIpv6(bool value)
bool GetAssociatePublicIpAddress() const
ModifyNetworkInterfaceAttributeRequest & WithAttachment(AttachmentT &&value)
bool NetworkInterfaceIdHasBeenSet() const
AWS_EC2_API ModifyNetworkInterfaceAttributeRequest()=default
ModifyNetworkInterfaceAttributeRequest & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
bool GroupsHasBeenSet() const
bool AssociatePublicIpAddressHasBeenSet() const
bool AssociatedSubnetIdsHasBeenSet() const
ModifyNetworkInterfaceAttributeRequest & AddAssociatedSubnetIds(AssociatedSubnetIdsT &&value)
virtual const char * GetServiceRequestName() const override
const AttributeBooleanValue & GetSourceDestCheck() const
const Aws::Vector< Aws::String > & GetAssociatedSubnetIds() const
void SetConnectionTrackingSpecification(ConnectionTrackingSpecificationT &&value)
const AttributeValue & GetDescription() const
const ConnectionTrackingSpecificationRequest & GetConnectionTrackingSpecification() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector