AWS SDK for C++  0.14.3
AWS SDK for C++
ListHostedZonesResult.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 ListHostedZonesResult& WithHostedZones(const Aws::Vector<HostedZone>& value) { SetHostedZones(value); return *this;}
70 
75  inline ListHostedZonesResult& WithHostedZones(Aws::Vector<HostedZone>&& value) { SetHostedZones(value); return *this;}
76 
81  inline ListHostedZonesResult& AddHostedZones(const HostedZone& value) { m_hostedZones.push_back(value); return *this; }
82 
87  inline ListHostedZonesResult& AddHostedZones(HostedZone&& value) { m_hostedZones.push_back(value); return *this; }
88 
94  inline const Aws::String& GetMarker() const{ return m_marker; }
95 
101  inline void SetMarker(const Aws::String& value) { m_marker = value; }
102 
108  inline void SetMarker(Aws::String&& value) { m_marker = value; }
109 
115  inline void SetMarker(const char* value) { m_marker.assign(value); }
116 
122  inline ListHostedZonesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
123 
129  inline ListHostedZonesResult& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
130 
136  inline ListHostedZonesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
137 
144  inline bool GetIsTruncated() const{ return m_isTruncated; }
145 
152  inline void SetIsTruncated(bool value) { m_isTruncated = value; }
153 
160  inline ListHostedZonesResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
161 
168  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
169 
176  inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
177 
184  inline void SetNextMarker(Aws::String&& value) { m_nextMarker = value; }
185 
192  inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
193 
200  inline ListHostedZonesResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
201 
208  inline ListHostedZonesResult& WithNextMarker(Aws::String&& value) { SetNextMarker(value); return *this;}
209 
216  inline ListHostedZonesResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
217 
226  inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
227 
236  inline void SetMaxItems(const Aws::String& value) { m_maxItems = value; }
237 
246  inline void SetMaxItems(Aws::String&& value) { m_maxItems = value; }
247 
256  inline void SetMaxItems(const char* value) { m_maxItems.assign(value); }
257 
266  inline ListHostedZonesResult& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
267 
276  inline ListHostedZonesResult& WithMaxItems(Aws::String&& value) { SetMaxItems(value); return *this;}
277 
286  inline ListHostedZonesResult& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
287 
288  private:
289  Aws::Vector<HostedZone> m_hostedZones;
290  Aws::String m_marker;
291  bool m_isTruncated;
292  Aws::String m_nextMarker;
293  Aws::String m_maxItems;
294  };
295 
296 } // namespace Model
297 } // namespace Route53
298 } // namespace Aws
ListHostedZonesResult & WithHostedZones(Aws::Vector< HostedZone > &&value)
ListHostedZonesResult & WithNextMarker(const char *value)
ListHostedZonesResult & WithMaxItems(const Aws::String &value)
ListHostedZonesResult & AddHostedZones(const HostedZone &value)
void SetNextMarker(const Aws::String &value)
ListHostedZonesResult & WithHostedZones(const Aws::Vector< HostedZone > &value)
ListHostedZonesResult & WithNextMarker(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
ListHostedZonesResult & WithMaxItems(const char *value)
ListHostedZonesResult & WithMarker(Aws::String &&value)
ListHostedZonesResult & WithMarker(const char *value)
const Aws::Vector< HostedZone > & GetHostedZones() const
#define AWS_ROUTE53_API
ListHostedZonesResult & WithNextMarker(const Aws::String &value)
void SetHostedZones(Aws::Vector< HostedZone > &&value)
ListHostedZonesResult & WithIsTruncated(bool value)
ListHostedZonesResult & WithMaxItems(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListHostedZonesResult & WithMarker(const Aws::String &value)
ListHostedZonesResult & AddHostedZones(HostedZone &&value)
void SetHostedZones(const Aws::Vector< HostedZone > &value)
JSON (JavaScript Object Notation).