AWS SDK for C++  0.14.3
AWS SDK for C++
ListReusableDelegationSetsResult.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<DelegationSet>& GetDelegationSets() const{ return m_delegationSets; }
52 
57  inline void SetDelegationSets(const Aws::Vector<DelegationSet>& value) { m_delegationSets = value; }
58 
63  inline void SetDelegationSets(Aws::Vector<DelegationSet>&& value) { m_delegationSets = value; }
64 
69  inline ListReusableDelegationSetsResult& WithDelegationSets(const Aws::Vector<DelegationSet>& value) { SetDelegationSets(value); return *this;}
70 
75  inline ListReusableDelegationSetsResult& WithDelegationSets(Aws::Vector<DelegationSet>&& value) { SetDelegationSets(value); return *this;}
76 
81  inline ListReusableDelegationSetsResult& AddDelegationSets(const DelegationSet& value) { m_delegationSets.push_back(value); return *this; }
82 
87  inline ListReusableDelegationSetsResult& AddDelegationSets(DelegationSet&& value) { m_delegationSets.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 ListReusableDelegationSetsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
123 
129  inline ListReusableDelegationSetsResult& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
130 
136  inline ListReusableDelegationSetsResult& 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 ListReusableDelegationSetsResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
161 
169  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
170 
178  inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
179 
187  inline void SetNextMarker(Aws::String&& value) { m_nextMarker = value; }
188 
196  inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
197 
205  inline ListReusableDelegationSetsResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
206 
214  inline ListReusableDelegationSetsResult& WithNextMarker(Aws::String&& value) { SetNextMarker(value); return *this;}
215 
223  inline ListReusableDelegationSetsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
224 
234  inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
235 
245  inline void SetMaxItems(const Aws::String& value) { m_maxItems = value; }
246 
256  inline void SetMaxItems(Aws::String&& value) { m_maxItems = value; }
257 
267  inline void SetMaxItems(const char* value) { m_maxItems.assign(value); }
268 
278  inline ListReusableDelegationSetsResult& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
279 
289  inline ListReusableDelegationSetsResult& WithMaxItems(Aws::String&& value) { SetMaxItems(value); return *this;}
290 
300  inline ListReusableDelegationSetsResult& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
301 
302  private:
303  Aws::Vector<DelegationSet> m_delegationSets;
304  Aws::String m_marker;
305  bool m_isTruncated;
306  Aws::String m_nextMarker;
307  Aws::String m_maxItems;
308  };
309 
310 } // namespace Model
311 } // namespace Route53
312 } // namespace Aws
ListReusableDelegationSetsResult & WithMarker(const Aws::String &value)
ListReusableDelegationSetsResult & WithDelegationSets(const Aws::Vector< DelegationSet > &value)
ListReusableDelegationSetsResult & WithMaxItems(const Aws::String &value)
ListReusableDelegationSetsResult & WithNextMarker(Aws::String &&value)
ListReusableDelegationSetsResult & WithNextMarker(const Aws::String &value)
ListReusableDelegationSetsResult & WithDelegationSets(Aws::Vector< DelegationSet > &&value)
ListReusableDelegationSetsResult & WithIsTruncated(bool value)
ListReusableDelegationSetsResult & WithMaxItems(const char *value)
ListReusableDelegationSetsResult & WithMarker(const char *value)
ListReusableDelegationSetsResult & AddDelegationSets(const DelegationSet &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
ListReusableDelegationSetsResult & WithMaxItems(Aws::String &&value)
const Aws::Vector< DelegationSet > & GetDelegationSets() const
void SetDelegationSets(const Aws::Vector< DelegationSet > &value)
#define AWS_ROUTE53_API
ListReusableDelegationSetsResult & WithMarker(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListReusableDelegationSetsResult & WithNextMarker(const char *value)
ListReusableDelegationSetsResult & AddDelegationSets(DelegationSet &&value)
JSON (JavaScript Object Notation).