7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9#include <aws/ec2/model/AttributeBooleanValue.h>
10#include <aws/ec2/model/ResponseMetadata.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
38 template <
typename EnableDnsHostnamesT = AttributeBooleanValue>
40 m_enableDnsHostnamesHasBeenSet =
true;
41 m_enableDnsHostnames = std::forward<EnableDnsHostnamesT>(value);
43 template <
typename EnableDnsHostnamesT = AttributeBooleanValue>
57 template <
typename EnableDnsSupportT = AttributeBooleanValue>
59 m_enableDnsSupportHasBeenSet =
true;
60 m_enableDnsSupport = std::forward<EnableDnsSupportT>(value);
62 template <
typename EnableDnsSupportT = AttributeBooleanValue>
74 template <
typename EnableNetworkAddressUsageMetricsT = AttributeBooleanValue>
76 m_enableNetworkAddressUsageMetricsHasBeenSet =
true;
77 m_enableNetworkAddressUsageMetrics = std::forward<EnableNetworkAddressUsageMetricsT>(value);
79 template <
typename EnableNetworkAddressUsageMetricsT = AttributeBooleanValue>
91 template <
typename VpcIdT = Aws::String>
93 m_vpcIdHasBeenSet =
true;
94 m_vpcId = std::forward<VpcIdT>(value);
96 template <
typename VpcIdT = Aws::String>
98 SetVpcId(std::forward<VpcIdT>(value));
106 template <
typename ResponseMetadataT = ResponseMetadata>
108 m_responseMetadataHasBeenSet =
true;
109 m_responseMetadata = std::forward<ResponseMetadataT>(value);
111 template <
typename ResponseMetadataT = ResponseMetadata>
127 bool m_enableDnsHostnamesHasBeenSet =
false;
128 bool m_enableDnsSupportHasBeenSet =
false;
129 bool m_enableNetworkAddressUsageMetricsHasBeenSet =
false;
130 bool m_vpcIdHasBeenSet =
false;
131 bool m_responseMetadataHasBeenSet =
false;
const AttributeBooleanValue & GetEnableNetworkAddressUsageMetrics() const
DescribeVpcAttributeResponse & WithEnableDnsSupport(EnableDnsSupportT &&value)
void SetEnableDnsHostnames(EnableDnsHostnamesT &&value)
AWS_EC2_API DescribeVpcAttributeResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeVpcAttributeResponse & WithResponseMetadata(ResponseMetadataT &&value)
DescribeVpcAttributeResponse & WithVpcId(VpcIdT &&value)
AWS_EC2_API DescribeVpcAttributeResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetVpcId(VpcIdT &&value)
const AttributeBooleanValue & GetEnableDnsHostnames() const
AWS_EC2_API DescribeVpcAttributeResponse()=default
void SetResponseMetadata(ResponseMetadataT &&value)
void SetEnableNetworkAddressUsageMetrics(EnableNetworkAddressUsageMetricsT &&value)
void SetEnableDnsSupport(EnableDnsSupportT &&value)
const AttributeBooleanValue & GetEnableDnsSupport() const
const Aws::String & GetVpcId() const
DescribeVpcAttributeResponse & WithEnableNetworkAddressUsageMetrics(EnableNetworkAddressUsageMetricsT &&value)
const ResponseMetadata & GetResponseMetadata() const
DescribeVpcAttributeResponse & WithEnableDnsHostnames(EnableDnsHostnamesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument