AWS SDK for C++  0.14.3
AWS SDK for C++
ListHostedZonesByNameResult.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 
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 Route53
34 {
35 namespace Model
36 {
41  {
42  public:
46 
51  inline const Aws::Vector<HostedZone>& GetHostedZones() const{ return m_hostedZones; }
52 
57  inline void SetHostedZones(const Aws::Vector<HostedZone>& value) { m_hostedZones = value; }
58 
63  inline void SetHostedZones(Aws::Vector<HostedZone>&& value) { m_hostedZones = value; }
64 
69  inline ListHostedZonesByNameResult& WithHostedZones(const Aws::Vector<HostedZone>& value) { SetHostedZones(value); return *this;}
70 
75  inline ListHostedZonesByNameResult& WithHostedZones(Aws::Vector<HostedZone>&& value) { SetHostedZones(value); return *this;}
76 
81  inline ListHostedZonesByNameResult& AddHostedZones(const HostedZone& value) { m_hostedZones.push_back(value); return *this; }
82 
87  inline ListHostedZonesByNameResult& AddHostedZones(HostedZone&& value) { m_hostedZones.push_back(value); return *this; }
88 
92  inline const Aws::String& GetDNSName() const{ return m_dNSName; }
93 
97  inline void SetDNSName(const Aws::String& value) { m_dNSName = value; }
98 
102  inline void SetDNSName(Aws::String&& value) { m_dNSName = value; }
103 
107  inline void SetDNSName(const char* value) { m_dNSName.assign(value); }
108 
112  inline ListHostedZonesByNameResult& WithDNSName(const Aws::String& value) { SetDNSName(value); return *this;}
113 
117  inline ListHostedZonesByNameResult& WithDNSName(Aws::String&& value) { SetDNSName(value); return *this;}
118 
122  inline ListHostedZonesByNameResult& WithDNSName(const char* value) { SetDNSName(value); return *this;}
123 
127  inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
128 
132  inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneId = value; }
133 
137  inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneId = value; }
138 
142  inline void SetHostedZoneId(const char* value) { m_hostedZoneId.assign(value); }
143 
147  inline ListHostedZonesByNameResult& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
148 
152  inline ListHostedZonesByNameResult& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(value); return *this;}
153 
157  inline ListHostedZonesByNameResult& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
158 
165  inline bool GetIsTruncated() const{ return m_isTruncated; }
166 
173  inline void SetIsTruncated(bool value) { m_isTruncated = value; }
174 
181  inline ListHostedZonesByNameResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
182 
191  inline const Aws::String& GetNextDNSName() const{ return m_nextDNSName; }
192 
201  inline void SetNextDNSName(const Aws::String& value) { m_nextDNSName = value; }
202 
211  inline void SetNextDNSName(Aws::String&& value) { m_nextDNSName = value; }
212 
221  inline void SetNextDNSName(const char* value) { m_nextDNSName.assign(value); }
222 
231  inline ListHostedZonesByNameResult& WithNextDNSName(const Aws::String& value) { SetNextDNSName(value); return *this;}
232 
241  inline ListHostedZonesByNameResult& WithNextDNSName(Aws::String&& value) { SetNextDNSName(value); return *this;}
242 
251  inline ListHostedZonesByNameResult& WithNextDNSName(const char* value) { SetNextDNSName(value); return *this;}
252 
261  inline const Aws::String& GetNextHostedZoneId() const{ return m_nextHostedZoneId; }
262 
271  inline void SetNextHostedZoneId(const Aws::String& value) { m_nextHostedZoneId = value; }
272 
281  inline void SetNextHostedZoneId(Aws::String&& value) { m_nextHostedZoneId = value; }
282 
291  inline void SetNextHostedZoneId(const char* value) { m_nextHostedZoneId.assign(value); }
292 
301  inline ListHostedZonesByNameResult& WithNextHostedZoneId(const Aws::String& value) { SetNextHostedZoneId(value); return *this;}
302 
311  inline ListHostedZonesByNameResult& WithNextHostedZoneId(Aws::String&& value) { SetNextHostedZoneId(value); return *this;}
312 
321  inline ListHostedZonesByNameResult& WithNextHostedZoneId(const char* value) { SetNextHostedZoneId(value); return *this;}
322 
332  inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
333 
343  inline void SetMaxItems(const Aws::String& value) { m_maxItems = value; }
344 
354  inline void SetMaxItems(Aws::String&& value) { m_maxItems = value; }
355 
365  inline void SetMaxItems(const char* value) { m_maxItems.assign(value); }
366 
376  inline ListHostedZonesByNameResult& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
377 
387  inline ListHostedZonesByNameResult& WithMaxItems(Aws::String&& value) { SetMaxItems(value); return *this;}
388 
398  inline ListHostedZonesByNameResult& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
399 
400  private:
401  Aws::Vector<HostedZone> m_hostedZones;
402  Aws::String m_dNSName;
403  Aws::String m_hostedZoneId;
404  bool m_isTruncated;
405  Aws::String m_nextDNSName;
406  Aws::String m_nextHostedZoneId;
407  Aws::String m_maxItems;
408  };
409 
410 } // namespace Model
411 } // namespace Route53
412 } // namespace Aws
ListHostedZonesByNameResult & WithMaxItems(const Aws::String &value)
ListHostedZonesByNameResult & AddHostedZones(const HostedZone &value)
ListHostedZonesByNameResult & WithNextDNSName(Aws::String &&value)
ListHostedZonesByNameResult & WithHostedZoneId(const char *value)
ListHostedZonesByNameResult & WithIsTruncated(bool value)
ListHostedZonesByNameResult & WithDNSName(Aws::String &&value)
ListHostedZonesByNameResult & WithDNSName(const Aws::String &value)
void SetHostedZones(Aws::Vector< HostedZone > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
ListHostedZonesByNameResult & WithNextDNSName(const char *value)
ListHostedZonesByNameResult & WithDNSName(const char *value)
ListHostedZonesByNameResult & AddHostedZones(HostedZone &&value)
ListHostedZonesByNameResult & WithHostedZoneId(const Aws::String &value)
ListHostedZonesByNameResult & WithHostedZoneId(Aws::String &&value)
ListHostedZonesByNameResult & WithNextHostedZoneId(const char *value)
ListHostedZonesByNameResult & WithHostedZones(Aws::Vector< HostedZone > &&value)
const Aws::Vector< HostedZone > & GetHostedZones() const
ListHostedZonesByNameResult & WithHostedZones(const Aws::Vector< HostedZone > &value)
ListHostedZonesByNameResult & WithMaxItems(const char *value)
#define AWS_ROUTE53_API
ListHostedZonesByNameResult & WithMaxItems(Aws::String &&value)
void SetHostedZones(const Aws::Vector< HostedZone > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListHostedZonesByNameResult & WithNextHostedZoneId(Aws::String &&value)
ListHostedZonesByNameResult & WithNextHostedZoneId(const Aws::String &value)
ListHostedZonesByNameResult & WithNextDNSName(const Aws::String &value)
JSON (JavaScript Object Notation).