AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeVpcAttributeResponse.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/ec2/EC2_EXPORTS.h>
20 
21 namespace Aws
22 {
23 template<typename RESULT_TYPE>
24 class AmazonWebServiceResult;
25 
26 namespace Utils
27 {
28 namespace Xml
29 {
30  class XmlDocument;
31 } // namespace Xml
32 } // namespace Utils
33 namespace EC2
34 {
35 namespace Model
36 {
41  {
42  public:
46 
50  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
51 
55  inline void SetVpcId(const Aws::String& value) { m_vpcId = value; }
56 
60  inline void SetVpcId(Aws::String&& value) { m_vpcId = value; }
61 
65  inline void SetVpcId(const char* value) { m_vpcId.assign(value); }
66 
70  inline DescribeVpcAttributeResponse& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
71 
75  inline DescribeVpcAttributeResponse& WithVpcId(Aws::String&& value) { SetVpcId(value); return *this;}
76 
80  inline DescribeVpcAttributeResponse& WithVpcId(const char* value) { SetVpcId(value); return *this;}
81 
87  inline const AttributeBooleanValue& GetEnableDnsSupport() const{ return m_enableDnsSupport; }
88 
94  inline void SetEnableDnsSupport(const AttributeBooleanValue& value) { m_enableDnsSupport = value; }
95 
101  inline void SetEnableDnsSupport(AttributeBooleanValue&& value) { m_enableDnsSupport = value; }
102 
108  inline DescribeVpcAttributeResponse& WithEnableDnsSupport(const AttributeBooleanValue& value) { SetEnableDnsSupport(value); return *this;}
109 
115  inline DescribeVpcAttributeResponse& WithEnableDnsSupport(AttributeBooleanValue&& value) { SetEnableDnsSupport(value); return *this;}
116 
122  inline const AttributeBooleanValue& GetEnableDnsHostnames() const{ return m_enableDnsHostnames; }
123 
129  inline void SetEnableDnsHostnames(const AttributeBooleanValue& value) { m_enableDnsHostnames = value; }
130 
136  inline void SetEnableDnsHostnames(AttributeBooleanValue&& value) { m_enableDnsHostnames = value; }
137 
143  inline DescribeVpcAttributeResponse& WithEnableDnsHostnames(const AttributeBooleanValue& value) { SetEnableDnsHostnames(value); return *this;}
144 
150  inline DescribeVpcAttributeResponse& WithEnableDnsHostnames(AttributeBooleanValue&& value) { SetEnableDnsHostnames(value); return *this;}
151 
152 
153  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
154 
155 
156  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
157 
158 
159  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
160 
161 
162  inline DescribeVpcAttributeResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
163 
164 
165  inline DescribeVpcAttributeResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
166 
167  private:
168  Aws::String m_vpcId;
169  AttributeBooleanValue m_enableDnsSupport;
170  AttributeBooleanValue m_enableDnsHostnames;
171  ResponseMetadata m_responseMetadata;
172  };
173 
174 } // namespace Model
175 } // namespace EC2
176 } // namespace Aws
DescribeVpcAttributeResponse & WithResponseMetadata(const ResponseMetadata &value)
DescribeVpcAttributeResponse & WithEnableDnsHostnames(AttributeBooleanValue &&value)
DescribeVpcAttributeResponse & WithVpcId(Aws::String &&value)
DescribeVpcAttributeResponse & WithVpcId(const char *value)
DescribeVpcAttributeResponse & WithVpcId(const Aws::String &value)
DescribeVpcAttributeResponse & WithEnableDnsSupport(AttributeBooleanValue &&value)
DescribeVpcAttributeResponse & WithResponseMetadata(ResponseMetadata &&value)
DescribeVpcAttributeResponse & WithEnableDnsSupport(const AttributeBooleanValue &value)
void SetEnableDnsSupport(const AttributeBooleanValue &value)
const AttributeBooleanValue & GetEnableDnsHostnames() const
void SetEnableDnsHostnames(const AttributeBooleanValue &value)
const AttributeBooleanValue & GetEnableDnsSupport() const
void SetEnableDnsHostnames(AttributeBooleanValue &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetResponseMetadata(const ResponseMetadata &value)
void SetEnableDnsSupport(AttributeBooleanValue &&value)
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:37
DescribeVpcAttributeResponse & WithEnableDnsHostnames(const AttributeBooleanValue &value)
JSON (JavaScript Object Notation).