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/AWSString.h>
12#include <aws/ec2/model/AttributeValue.h>
13#include <aws/ec2/model/AttributeBooleanValue.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/ec2/model/NetworkInterfaceAttachmentChanges.h>
80 inline void SetEnablePrimaryIpv6(
bool value) { m_enablePrimaryIpv6HasBeenSet =
true; m_enablePrimaryIpv6 = value; }
117 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
129 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
198 bool m_enaSrdSpecificationHasBeenSet =
false;
200 bool m_enablePrimaryIpv6;
201 bool m_enablePrimaryIpv6HasBeenSet =
false;
204 bool m_connectionTrackingSpecificationHasBeenSet =
false;
206 bool m_associatePublicIpAddress;
207 bool m_associatePublicIpAddressHasBeenSet =
false;
210 bool m_dryRunHasBeenSet =
false;
213 bool m_networkInterfaceIdHasBeenSet =
false;
216 bool m_descriptionHasBeenSet =
false;
219 bool m_sourceDestCheckHasBeenSet =
false;
222 bool m_groupsHasBeenSet =
false;
225 bool m_attachmentHasBeenSet =
false;
ModifyNetworkInterfaceAttributeRequest & AddGroups(const Aws::String &value)
bool AttachmentHasBeenSet() const
bool SourceDestCheckHasBeenSet() const
void SetAssociatePublicIpAddress(bool value)
void SetDescription(const AttributeValue &value)
ModifyNetworkInterfaceAttributeRequest & WithNetworkInterfaceId(Aws::String &&value)
void SetConnectionTrackingSpecification(ConnectionTrackingSpecificationRequest &&value)
void SetAttachment(const NetworkInterfaceAttachmentChanges &value)
void SetEnablePrimaryIpv6(bool value)
void SetSourceDestCheck(const AttributeBooleanValue &value)
ModifyNetworkInterfaceAttributeRequest & WithGroups(const Aws::Vector< Aws::String > &value)
bool GetEnablePrimaryIpv6() const
ModifyNetworkInterfaceAttributeRequest & WithSourceDestCheck(const AttributeBooleanValue &value)
bool ConnectionTrackingSpecificationHasBeenSet() const
AWS_EC2_API ModifyNetworkInterfaceAttributeRequest()
ModifyNetworkInterfaceAttributeRequest & WithDescription(const AttributeValue &value)
bool EnaSrdSpecificationHasBeenSet() const
const Aws::String & GetNetworkInterfaceId() const
void SetDryRun(bool value)
ModifyNetworkInterfaceAttributeRequest & WithNetworkInterfaceId(const Aws::String &value)
void SetNetworkInterfaceId(Aws::String &&value)
ModifyNetworkInterfaceAttributeRequest & WithEnaSrdSpecification(const EnaSrdSpecification &value)
void SetNetworkInterfaceId(const char *value)
ModifyNetworkInterfaceAttributeRequest & AddGroups(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool DryRunHasBeenSet() const
bool DescriptionHasBeenSet() const
ModifyNetworkInterfaceAttributeRequest & WithDryRun(bool value)
void SetGroups(const Aws::Vector< Aws::String > &value)
const NetworkInterfaceAttachmentChanges & GetAttachment() const
const EnaSrdSpecification & GetEnaSrdSpecification() const
ModifyNetworkInterfaceAttributeRequest & WithAssociatePublicIpAddress(bool value)
const Aws::Vector< Aws::String > & GetGroups() const
ModifyNetworkInterfaceAttributeRequest & WithAttachment(NetworkInterfaceAttachmentChanges &&value)
void SetGroups(Aws::Vector< Aws::String > &&value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyNetworkInterfaceAttributeRequest & WithDescription(AttributeValue &&value)
ModifyNetworkInterfaceAttributeRequest & WithSourceDestCheck(AttributeBooleanValue &&value)
void SetDescription(AttributeValue &&value)
ModifyNetworkInterfaceAttributeRequest & WithConnectionTrackingSpecification(const ConnectionTrackingSpecificationRequest &value)
void SetAttachment(NetworkInterfaceAttachmentChanges &&value)
bool EnablePrimaryIpv6HasBeenSet() const
void SetConnectionTrackingSpecification(const ConnectionTrackingSpecificationRequest &value)
ModifyNetworkInterfaceAttributeRequest & WithEnablePrimaryIpv6(bool value)
void SetEnaSrdSpecification(EnaSrdSpecification &&value)
bool GetAssociatePublicIpAddress() const
void SetNetworkInterfaceId(const Aws::String &value)
ModifyNetworkInterfaceAttributeRequest & WithEnaSrdSpecification(EnaSrdSpecification &&value)
ModifyNetworkInterfaceAttributeRequest & WithNetworkInterfaceId(const char *value)
bool NetworkInterfaceIdHasBeenSet() const
bool GroupsHasBeenSet() const
ModifyNetworkInterfaceAttributeRequest & WithConnectionTrackingSpecification(ConnectionTrackingSpecificationRequest &&value)
ModifyNetworkInterfaceAttributeRequest & WithAttachment(const NetworkInterfaceAttachmentChanges &value)
void SetSourceDestCheck(AttributeBooleanValue &&value)
bool AssociatePublicIpAddressHasBeenSet() const
ModifyNetworkInterfaceAttributeRequest & WithGroups(Aws::Vector< Aws::String > &&value)
ModifyNetworkInterfaceAttributeRequest & AddGroups(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
const AttributeBooleanValue & GetSourceDestCheck() const
void SetEnaSrdSpecification(const EnaSrdSpecification &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