AWS SDK for C++  1.9.66
AWS SDK for C++
DescribeVpcAttributeResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace EC2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
41 
45  inline void SetVpcId(const Aws::String& value) { m_vpcId = value; }
46 
50  inline void SetVpcId(Aws::String&& value) { m_vpcId = std::move(value); }
51 
55  inline void SetVpcId(const char* value) { m_vpcId.assign(value); }
56 
60  inline DescribeVpcAttributeResponse& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
61 
65  inline DescribeVpcAttributeResponse& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
66 
70  inline DescribeVpcAttributeResponse& WithVpcId(const char* value) { SetVpcId(value); return *this;}
71 
72 
78  inline const AttributeBooleanValue& GetEnableDnsHostnames() const{ return m_enableDnsHostnames; }
79 
85  inline void SetEnableDnsHostnames(const AttributeBooleanValue& value) { m_enableDnsHostnames = value; }
86 
92  inline void SetEnableDnsHostnames(AttributeBooleanValue&& value) { m_enableDnsHostnames = std::move(value); }
93 
99  inline DescribeVpcAttributeResponse& WithEnableDnsHostnames(const AttributeBooleanValue& value) { SetEnableDnsHostnames(value); return *this;}
100 
106  inline DescribeVpcAttributeResponse& WithEnableDnsHostnames(AttributeBooleanValue&& value) { SetEnableDnsHostnames(std::move(value)); return *this;}
107 
108 
114  inline const AttributeBooleanValue& GetEnableDnsSupport() const{ return m_enableDnsSupport; }
115 
121  inline void SetEnableDnsSupport(const AttributeBooleanValue& value) { m_enableDnsSupport = value; }
122 
128  inline void SetEnableDnsSupport(AttributeBooleanValue&& value) { m_enableDnsSupport = std::move(value); }
129 
135  inline DescribeVpcAttributeResponse& WithEnableDnsSupport(const AttributeBooleanValue& value) { SetEnableDnsSupport(value); return *this;}
136 
142  inline DescribeVpcAttributeResponse& WithEnableDnsSupport(AttributeBooleanValue&& value) { SetEnableDnsSupport(std::move(value)); return *this;}
143 
144 
145 
146  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
147 
148 
149  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
150 
151 
152  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
153 
154 
155  inline DescribeVpcAttributeResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
156 
157 
158  inline DescribeVpcAttributeResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
159 
160  private:
161 
162  Aws::String m_vpcId;
163 
164  AttributeBooleanValue m_enableDnsHostnames;
165 
166  AttributeBooleanValue m_enableDnsSupport;
167 
168  ResponseMetadata m_responseMetadata;
169  };
170 
171 } // namespace Model
172 } // namespace EC2
173 } // namespace Aws
AttributeBooleanValue.h
Aws::EC2::Model::DescribeVpcAttributeResponse::GetEnableDnsHostnames
const AttributeBooleanValue & GetEnableDnsHostnames() const
Definition: DescribeVpcAttributeResponse.h:78
Aws::EC2::Model::DescribeVpcAttributeResponse::SetVpcId
void SetVpcId(const char *value)
Definition: DescribeVpcAttributeResponse.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DescribeVpcAttributeResponse::SetEnableDnsSupport
void SetEnableDnsSupport(AttributeBooleanValue &&value)
Definition: DescribeVpcAttributeResponse.h:128
Aws::EC2::Model::DescribeVpcAttributeResponse
Definition: DescribeVpcAttributeResponse.h:30
Aws::EC2::Model::DescribeVpcAttributeResponse::GetEnableDnsSupport
const AttributeBooleanValue & GetEnableDnsSupport() const
Definition: DescribeVpcAttributeResponse.h:114
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DescribeVpcAttributeResponse::WithResponseMetadata
DescribeVpcAttributeResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeVpcAttributeResponse.h:158
ResponseMetadata.h
Aws::EC2::Model::DescribeVpcAttributeResponse::WithVpcId
DescribeVpcAttributeResponse & WithVpcId(const char *value)
Definition: DescribeVpcAttributeResponse.h:70
Aws::EC2::Model::DescribeVpcAttributeResponse::WithEnableDnsSupport
DescribeVpcAttributeResponse & WithEnableDnsSupport(AttributeBooleanValue &&value)
Definition: DescribeVpcAttributeResponse.h:142
Aws::EC2::Model::DescribeVpcAttributeResponse::WithVpcId
DescribeVpcAttributeResponse & WithVpcId(Aws::String &&value)
Definition: DescribeVpcAttributeResponse.h:65
Aws::EC2::Model::DescribeVpcAttributeResponse::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: DescribeVpcAttributeResponse.h:45
Aws::EC2::Model::DescribeVpcAttributeResponse::GetVpcId
const Aws::String & GetVpcId() const
Definition: DescribeVpcAttributeResponse.h:40
Aws::EC2::Model::DescribeVpcAttributeResponse::WithEnableDnsSupport
DescribeVpcAttributeResponse & WithEnableDnsSupport(const AttributeBooleanValue &value)
Definition: DescribeVpcAttributeResponse.h:135
Aws::EC2::Model::DescribeVpcAttributeResponse::SetEnableDnsHostnames
void SetEnableDnsHostnames(AttributeBooleanValue &&value)
Definition: DescribeVpcAttributeResponse.h:92
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::DescribeVpcAttributeResponse::WithEnableDnsHostnames
DescribeVpcAttributeResponse & WithEnableDnsHostnames(const AttributeBooleanValue &value)
Definition: DescribeVpcAttributeResponse.h:99
Aws::EC2::Model::DescribeVpcAttributeResponse::DescribeVpcAttributeResponse
DescribeVpcAttributeResponse()
Aws::EC2::Model::DescribeVpcAttributeResponse::WithVpcId
DescribeVpcAttributeResponse & WithVpcId(const Aws::String &value)
Definition: DescribeVpcAttributeResponse.h:60
Aws::EC2::Model::DescribeVpcAttributeResponse::operator=
DescribeVpcAttributeResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeVpcAttributeResponse::WithResponseMetadata
DescribeVpcAttributeResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeVpcAttributeResponse.h:155
Aws::EC2::Model::AttributeBooleanValue
Definition: AttributeBooleanValue.h:31
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeVpcAttributeResponse::DescribeVpcAttributeResponse
DescribeVpcAttributeResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DescribeVpcAttributeResponse::WithEnableDnsHostnames
DescribeVpcAttributeResponse & WithEnableDnsHostnames(AttributeBooleanValue &&value)
Definition: DescribeVpcAttributeResponse.h:106
Aws::EC2::Model::DescribeVpcAttributeResponse::SetEnableDnsSupport
void SetEnableDnsSupport(const AttributeBooleanValue &value)
Definition: DescribeVpcAttributeResponse.h:121
Aws::EC2::Model::DescribeVpcAttributeResponse::SetEnableDnsHostnames
void SetEnableDnsHostnames(const AttributeBooleanValue &value)
Definition: DescribeVpcAttributeResponse.h:85
Aws::EC2::Model::DescribeVpcAttributeResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeVpcAttributeResponse.h:149
EC2_EXPORTS.h
Aws::EC2::Model::DescribeVpcAttributeResponse::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: DescribeVpcAttributeResponse.h:50
Aws::EC2::Model::DescribeVpcAttributeResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeVpcAttributeResponse.h:146
Aws::EC2::Model::DescribeVpcAttributeResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeVpcAttributeResponse.h:152