7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/NetworkInterfaceAttachment.h>
9#include <aws/ec2/model/AttributeValue.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ec2/model/AttributeBooleanValue.h>
13#include <aws/ec2/model/ResponseMetadata.h>
14#include <aws/ec2/model/GroupIdentifier.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
52 template<
typename AttachmentT = NetworkInterfaceAttachment>
53 void SetAttachment(AttachmentT&& value) { m_attachmentHasBeenSet =
true; m_attachment = std::forward<AttachmentT>(value); }
54 template<
typename AttachmentT = NetworkInterfaceAttachment>
63 template<
typename DescriptionT = AttributeValue>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
65 template<
typename DescriptionT = AttributeValue>
74 template<
typename GroupsT = Aws::Vector<GroupIdentifier>>
75 void SetGroups(GroupsT&& value) { m_groupsHasBeenSet =
true; m_groups = std::forward<GroupsT>(value); }
76 template<
typename GroupsT = Aws::Vector<GroupIdentifier>>
78 template<
typename GroupsT = GroupIdentifier>
87 template<
typename NetworkInterfaceIdT = Aws::String>
88 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value); }
89 template<
typename NetworkInterfaceIdT = Aws::String>
98 template<
typename SourceDestCheckT = AttributeBooleanValue>
99 void SetSourceDestCheck(SourceDestCheckT&& value) { m_sourceDestCheckHasBeenSet =
true; m_sourceDestCheck = std::forward<SourceDestCheckT>(value); }
100 template<
typename SourceDestCheckT = AttributeBooleanValue>
118 template<
typename ResponseMetadataT = ResponseMetadata>
119 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
120 template<
typename ResponseMetadataT = ResponseMetadata>
126 bool m_attachmentHasBeenSet =
false;
129 bool m_descriptionHasBeenSet =
false;
132 bool m_groupsHasBeenSet =
false;
135 bool m_networkInterfaceIdHasBeenSet =
false;
138 bool m_sourceDestCheckHasBeenSet =
false;
140 bool m_associatePublicIpAddress{
false};
141 bool m_associatePublicIpAddressHasBeenSet =
false;
143 ResponseMetadata m_responseMetadata;
144 bool m_responseMetadataHasBeenSet =
false;
void SetSourceDestCheck(SourceDestCheckT &&value)
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
void SetAssociatePublicIpAddress(bool value)
const AttributeBooleanValue & GetSourceDestCheck() const
const AttributeValue & GetDescription() const
DescribeNetworkInterfaceAttributeResponse & WithResponseMetadata(ResponseMetadataT &&value)
DescribeNetworkInterfaceAttributeResponse & WithGroups(GroupsT &&value)
DescribeNetworkInterfaceAttributeResponse & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
DescribeNetworkInterfaceAttributeResponse & WithAttachment(AttachmentT &&value)
void SetDescription(DescriptionT &&value)
DescribeNetworkInterfaceAttributeResponse & AddGroups(GroupsT &&value)
void SetGroups(GroupsT &&value)
void SetAttachment(AttachmentT &&value)
const NetworkInterfaceAttachment & GetAttachment() const
bool GetAssociatePublicIpAddress() const
DescribeNetworkInterfaceAttributeResponse & WithSourceDestCheck(SourceDestCheckT &&value)
DescribeNetworkInterfaceAttributeResponse & WithAssociatePublicIpAddress(bool value)
AWS_EC2_API DescribeNetworkInterfaceAttributeResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetNetworkInterfaceId() const
void SetResponseMetadata(ResponseMetadataT &&value)
const ResponseMetadata & GetResponseMetadata() const
AWS_EC2_API DescribeNetworkInterfaceAttributeResponse()=default
AWS_EC2_API DescribeNetworkInterfaceAttributeResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< GroupIdentifier > & GetGroups() const
DescribeNetworkInterfaceAttributeResponse & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument