AWS SDK for C++  0.14.3
AWS SDK for C++
ListHostedZonesRequest.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
19 
20 namespace Aws
21 {
22 namespace Http
23 {
24  class URI;
25 } //namespace Http
26 namespace Route53
27 {
28 namespace Model
29 {
30 
44  {
45  public:
47  Aws::String SerializePayload() const override;
48 
49  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
50 
56  inline const Aws::String& GetMarker() const{ return m_marker; }
57 
63  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
64 
70  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
71 
77  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
78 
84  inline ListHostedZonesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
85 
91  inline ListHostedZonesRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
92 
98  inline ListHostedZonesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
99 
103  inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
104 
108  inline void SetMaxItems(const Aws::String& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
109 
113  inline void SetMaxItems(Aws::String&& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
114 
118  inline void SetMaxItems(const char* value) { m_maxItemsHasBeenSet = true; m_maxItems.assign(value); }
119 
123  inline ListHostedZonesRequest& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
124 
128  inline ListHostedZonesRequest& WithMaxItems(Aws::String&& value) { SetMaxItems(value); return *this;}
129 
133  inline ListHostedZonesRequest& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
134 
135 
136  inline const Aws::String& GetDelegationSetId() const{ return m_delegationSetId; }
137 
138 
139  inline void SetDelegationSetId(const Aws::String& value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId = value; }
140 
141 
142  inline void SetDelegationSetId(Aws::String&& value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId = value; }
143 
144 
145  inline void SetDelegationSetId(const char* value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId.assign(value); }
146 
147 
148  inline ListHostedZonesRequest& WithDelegationSetId(const Aws::String& value) { SetDelegationSetId(value); return *this;}
149 
150 
151  inline ListHostedZonesRequest& WithDelegationSetId(Aws::String&& value) { SetDelegationSetId(value); return *this;}
152 
153 
154  inline ListHostedZonesRequest& WithDelegationSetId(const char* value) { SetDelegationSetId(value); return *this;}
155 
156  private:
157  Aws::String m_marker;
158  bool m_markerHasBeenSet;
159  Aws::String m_maxItems;
160  bool m_maxItemsHasBeenSet;
161  Aws::String m_delegationSetId;
162  bool m_delegationSetIdHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace Route53
167 } // namespace Aws
ListHostedZonesRequest & WithMaxItems(Aws::String &&value)
ListHostedZonesRequest & WithDelegationSetId(const Aws::String &value)
ListHostedZonesRequest & WithDelegationSetId(Aws::String &&value)
ListHostedZonesRequest & WithMaxItems(const Aws::String &value)
void SetDelegationSetId(const Aws::String &value)
ListHostedZonesRequest & WithMaxItems(const char *value)
ListHostedZonesRequest & WithMarker(const char *value)
ListHostedZonesRequest & WithMarker(Aws::String &&value)
#define AWS_ROUTE53_API
ListHostedZonesRequest & WithDelegationSetId(const char *value)
ListHostedZonesRequest & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
JSON (JavaScript Object Notation).