AWS SDK for C++  0.14.3
AWS SDK for C++
CreateHostedZoneResult.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
20 #include <aws/route53/model/VPC.h>
22 
23 namespace Aws
24 {
25 template<typename RESULT_TYPE>
26 class AmazonWebServiceResult;
27 
28 namespace Utils
29 {
30 namespace Xml
31 {
32  class XmlDocument;
33 } // namespace Xml
34 } // namespace Utils
35 namespace Route53
36 {
37 namespace Model
38 {
44  {
45  public:
49 
54  inline const HostedZone& GetHostedZone() const{ return m_hostedZone; }
55 
60  inline void SetHostedZone(const HostedZone& value) { m_hostedZone = value; }
61 
66  inline void SetHostedZone(HostedZone&& value) { m_hostedZone = value; }
67 
72  inline CreateHostedZoneResult& WithHostedZone(const HostedZone& value) { SetHostedZone(value); return *this;}
73 
78  inline CreateHostedZoneResult& WithHostedZone(HostedZone&& value) { SetHostedZone(value); return *this;}
79 
85  inline const ChangeInfo& GetChangeInfo() const{ return m_changeInfo; }
86 
92  inline void SetChangeInfo(const ChangeInfo& value) { m_changeInfo = value; }
93 
99  inline void SetChangeInfo(ChangeInfo&& value) { m_changeInfo = value; }
100 
106  inline CreateHostedZoneResult& WithChangeInfo(const ChangeInfo& value) { SetChangeInfo(value); return *this;}
107 
113  inline CreateHostedZoneResult& WithChangeInfo(ChangeInfo&& value) { SetChangeInfo(value); return *this;}
114 
118  inline const DelegationSet& GetDelegationSet() const{ return m_delegationSet; }
119 
123  inline void SetDelegationSet(const DelegationSet& value) { m_delegationSet = value; }
124 
128  inline void SetDelegationSet(DelegationSet&& value) { m_delegationSet = value; }
129 
133  inline CreateHostedZoneResult& WithDelegationSet(const DelegationSet& value) { SetDelegationSet(value); return *this;}
134 
138  inline CreateHostedZoneResult& WithDelegationSet(DelegationSet&& value) { SetDelegationSet(value); return *this;}
139 
140 
141  inline const VPC& GetVPC() const{ return m_vPC; }
142 
143 
144  inline void SetVPC(const VPC& value) { m_vPC = value; }
145 
146 
147  inline void SetVPC(VPC&& value) { m_vPC = value; }
148 
149 
150  inline CreateHostedZoneResult& WithVPC(const VPC& value) { SetVPC(value); return *this;}
151 
152 
153  inline CreateHostedZoneResult& WithVPC(VPC&& value) { SetVPC(value); return *this;}
154 
158  inline const Aws::String& GetLocation() const{ return m_location; }
159 
163  inline void SetLocation(const Aws::String& value) { m_location = value; }
164 
168  inline void SetLocation(Aws::String&& value) { m_location = value; }
169 
173  inline void SetLocation(const char* value) { m_location.assign(value); }
174 
178  inline CreateHostedZoneResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
179 
183  inline CreateHostedZoneResult& WithLocation(Aws::String&& value) { SetLocation(value); return *this;}
184 
188  inline CreateHostedZoneResult& WithLocation(const char* value) { SetLocation(value); return *this;}
189 
190  private:
191  HostedZone m_hostedZone;
192  ChangeInfo m_changeInfo;
193  DelegationSet m_delegationSet;
194  VPC m_vPC;
195  Aws::String m_location;
196  };
197 
198 } // namespace Model
199 } // namespace Route53
200 } // namespace Aws
CreateHostedZoneResult & WithVPC(VPC &&value)
CreateHostedZoneResult & WithHostedZone(const HostedZone &value)
CreateHostedZoneResult & WithLocation(const char *value)
CreateHostedZoneResult & WithChangeInfo(ChangeInfo &&value)
CreateHostedZoneResult & WithHostedZone(HostedZone &&value)
CreateHostedZoneResult & WithDelegationSet(const DelegationSet &value)
CreateHostedZoneResult & WithLocation(Aws::String &&value)
CreateHostedZoneResult & WithChangeInfo(const ChangeInfo &value)
CreateHostedZoneResult & WithVPC(const VPC &value)
void SetDelegationSet(const DelegationSet &value)
CreateHostedZoneResult & WithDelegationSet(DelegationSet &&value)
CreateHostedZoneResult & WithLocation(const Aws::String &value)
#define AWS_ROUTE53_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
JSON (JavaScript Object Notation).