AWS SDK for C++  0.14.3
AWS SDK for C++
GetHostedZoneResult.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>
21 
22 namespace Aws
23 {
24 template<typename RESULT_TYPE>
25 class AmazonWebServiceResult;
26 
27 namespace Utils
28 {
29 namespace Xml
30 {
31  class XmlDocument;
32 } // namespace Xml
33 } // namespace Utils
34 namespace Route53
35 {
36 namespace Model
37 {
42  {
43  public:
47 
52  inline const HostedZone& GetHostedZone() const{ return m_hostedZone; }
53 
58  inline void SetHostedZone(const HostedZone& value) { m_hostedZone = value; }
59 
64  inline void SetHostedZone(HostedZone&& value) { m_hostedZone = value; }
65 
70  inline GetHostedZoneResult& WithHostedZone(const HostedZone& value) { SetHostedZone(value); return *this;}
71 
76  inline GetHostedZoneResult& WithHostedZone(HostedZone&& value) { SetHostedZone(value); return *this;}
77 
82  inline const DelegationSet& GetDelegationSet() const{ return m_delegationSet; }
83 
88  inline void SetDelegationSet(const DelegationSet& value) { m_delegationSet = value; }
89 
94  inline void SetDelegationSet(DelegationSet&& value) { m_delegationSet = value; }
95 
100  inline GetHostedZoneResult& WithDelegationSet(const DelegationSet& value) { SetDelegationSet(value); return *this;}
101 
106  inline GetHostedZoneResult& WithDelegationSet(DelegationSet&& value) { SetDelegationSet(value); return *this;}
107 
112  inline const Aws::Vector<VPC>& GetVPCs() const{ return m_vPCs; }
113 
118  inline void SetVPCs(const Aws::Vector<VPC>& value) { m_vPCs = value; }
119 
124  inline void SetVPCs(Aws::Vector<VPC>&& value) { m_vPCs = value; }
125 
130  inline GetHostedZoneResult& WithVPCs(const Aws::Vector<VPC>& value) { SetVPCs(value); return *this;}
131 
136  inline GetHostedZoneResult& WithVPCs(Aws::Vector<VPC>&& value) { SetVPCs(value); return *this;}
137 
142  inline GetHostedZoneResult& AddVPCs(const VPC& value) { m_vPCs.push_back(value); return *this; }
143 
148  inline GetHostedZoneResult& AddVPCs(VPC&& value) { m_vPCs.push_back(value); return *this; }
149 
150  private:
151  HostedZone m_hostedZone;
152  DelegationSet m_delegationSet;
153  Aws::Vector<VPC> m_vPCs;
154  };
155 
156 } // namespace Model
157 } // namespace Route53
158 } // namespace Aws
void SetDelegationSet(const DelegationSet &value)
void SetHostedZone(const HostedZone &value)
const DelegationSet & GetDelegationSet() const
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
GetHostedZoneResult & WithVPCs(const Aws::Vector< VPC > &value)
GetHostedZoneResult & WithDelegationSet(const DelegationSet &value)
void SetDelegationSet(DelegationSet &&value)
void SetVPCs(const Aws::Vector< VPC > &value)
const Aws::Vector< VPC > & GetVPCs() const
GetHostedZoneResult & WithDelegationSet(DelegationSet &&value)
GetHostedZoneResult & WithVPCs(Aws::Vector< VPC > &&value)
const HostedZone & GetHostedZone() const
GetHostedZoneResult & WithHostedZone(const HostedZone &value)
GetHostedZoneResult & WithHostedZone(HostedZone &&value)
#define AWS_ROUTE53_API
GetHostedZoneResult & AddVPCs(VPC &&value)
void SetVPCs(Aws::Vector< VPC > &&value)
GetHostedZoneResult & AddVPCs(const VPC &value)
JSON (JavaScript Object Notation).