AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeVpcAttributeResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/AttributeBooleanValue.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
30 {
31 public:
35
36
38
43 inline const AttributeBooleanValue& GetEnableDnsHostnames() const{ return m_enableDnsHostnames; }
44 inline void SetEnableDnsHostnames(const AttributeBooleanValue& value) { m_enableDnsHostnames = value; }
45 inline void SetEnableDnsHostnames(AttributeBooleanValue&& value) { m_enableDnsHostnames = std::move(value); }
49
51
56 inline const AttributeBooleanValue& GetEnableDnsSupport() const{ return m_enableDnsSupport; }
57 inline void SetEnableDnsSupport(const AttributeBooleanValue& value) { m_enableDnsSupport = value; }
58 inline void SetEnableDnsSupport(AttributeBooleanValue&& value) { m_enableDnsSupport = std::move(value); }
62
64
67 inline const AttributeBooleanValue& GetEnableNetworkAddressUsageMetrics() const{ return m_enableNetworkAddressUsageMetrics; }
68 inline void SetEnableNetworkAddressUsageMetrics(const AttributeBooleanValue& value) { m_enableNetworkAddressUsageMetrics = value; }
69 inline void SetEnableNetworkAddressUsageMetrics(AttributeBooleanValue&& value) { m_enableNetworkAddressUsageMetrics = std::move(value); }
73
75
78 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
79 inline void SetVpcId(const Aws::String& value) { m_vpcId = value; }
80 inline void SetVpcId(Aws::String&& value) { m_vpcId = std::move(value); }
81 inline void SetVpcId(const char* value) { m_vpcId.assign(value); }
82 inline DescribeVpcAttributeResponse& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
83 inline DescribeVpcAttributeResponse& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
84 inline DescribeVpcAttributeResponse& WithVpcId(const char* value) { SetVpcId(value); return *this;}
86
88
89 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
90 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
91 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
95 private:
96
97 AttributeBooleanValue m_enableDnsHostnames;
98
99 AttributeBooleanValue m_enableDnsSupport;
100
101 AttributeBooleanValue m_enableNetworkAddressUsageMetrics;
102
103 Aws::String m_vpcId;
104
105 ResponseMetadata m_responseMetadata;
106 };
107
108} // namespace Model
109} // namespace EC2
110} // namespace Aws
void SetEnableDnsHostnames(const AttributeBooleanValue &value)
const AttributeBooleanValue & GetEnableNetworkAddressUsageMetrics() const
AWS_EC2_API DescribeVpcAttributeResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeVpcAttributeResponse & WithVpcId(const char *value)
AWS_EC2_API DescribeVpcAttributeResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const AttributeBooleanValue & GetEnableDnsHostnames() const
DescribeVpcAttributeResponse & WithEnableDnsHostnames(AttributeBooleanValue &&value)
void SetEnableDnsSupport(AttributeBooleanValue &&value)
void SetEnableDnsSupport(const AttributeBooleanValue &value)
void SetEnableDnsHostnames(AttributeBooleanValue &&value)
DescribeVpcAttributeResponse & WithEnableDnsSupport(const AttributeBooleanValue &value)
DescribeVpcAttributeResponse & WithEnableNetworkAddressUsageMetrics(AttributeBooleanValue &&value)
DescribeVpcAttributeResponse & WithEnableNetworkAddressUsageMetrics(const AttributeBooleanValue &value)
DescribeVpcAttributeResponse & WithEnableDnsHostnames(const AttributeBooleanValue &value)
void SetResponseMetadata(const ResponseMetadata &value)
DescribeVpcAttributeResponse & WithVpcId(Aws::String &&value)
const AttributeBooleanValue & GetEnableDnsSupport() const
void SetEnableNetworkAddressUsageMetrics(const AttributeBooleanValue &value)
DescribeVpcAttributeResponse & WithEnableDnsSupport(AttributeBooleanValue &&value)
DescribeVpcAttributeResponse & WithResponseMetadata(ResponseMetadata &&value)
DescribeVpcAttributeResponse & WithVpcId(const Aws::String &value)
void SetEnableNetworkAddressUsageMetrics(AttributeBooleanValue &&value)
DescribeVpcAttributeResponse & WithResponseMetadata(const ResponseMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument