AWS SDK for C++  0.14.3
AWS SDK for C++
ListHostedZonesByNameRequest.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 
43  {
44  public:
46  Aws::String SerializePayload() const override;
47 
48  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
49 
58  inline const Aws::String& GetDNSName() const{ return m_dNSName; }
59 
68  inline void SetDNSName(const Aws::String& value) { m_dNSNameHasBeenSet = true; m_dNSName = value; }
69 
78  inline void SetDNSName(Aws::String&& value) { m_dNSNameHasBeenSet = true; m_dNSName = value; }
79 
88  inline void SetDNSName(const char* value) { m_dNSNameHasBeenSet = true; m_dNSName.assign(value); }
89 
98  inline ListHostedZonesByNameRequest& WithDNSName(const Aws::String& value) { SetDNSName(value); return *this;}
99 
108  inline ListHostedZonesByNameRequest& WithDNSName(Aws::String&& value) { SetDNSName(value); return *this;}
109 
118  inline ListHostedZonesByNameRequest& WithDNSName(const char* value) { SetDNSName(value); return *this;}
119 
126  inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
127 
134  inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
135 
142  inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
143 
150  inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
151 
158  inline ListHostedZonesByNameRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
159 
166  inline ListHostedZonesByNameRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(value); return *this;}
167 
174  inline ListHostedZonesByNameRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
175 
179  inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
180 
184  inline void SetMaxItems(const Aws::String& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
185 
189  inline void SetMaxItems(Aws::String&& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
190 
194  inline void SetMaxItems(const char* value) { m_maxItemsHasBeenSet = true; m_maxItems.assign(value); }
195 
199  inline ListHostedZonesByNameRequest& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
200 
204  inline ListHostedZonesByNameRequest& WithMaxItems(Aws::String&& value) { SetMaxItems(value); return *this;}
205 
209  inline ListHostedZonesByNameRequest& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
210 
211  private:
212  Aws::String m_dNSName;
213  bool m_dNSNameHasBeenSet;
214  Aws::String m_hostedZoneId;
215  bool m_hostedZoneIdHasBeenSet;
216  Aws::String m_maxItems;
217  bool m_maxItemsHasBeenSet;
218  };
219 
220 } // namespace Model
221 } // namespace Route53
222 } // namespace Aws
ListHostedZonesByNameRequest & WithHostedZoneId(Aws::String &&value)
ListHostedZonesByNameRequest & WithHostedZoneId(const Aws::String &value)
ListHostedZonesByNameRequest & WithMaxItems(const Aws::String &value)
ListHostedZonesByNameRequest & WithMaxItems(const char *value)
ListHostedZonesByNameRequest & WithDNSName(const Aws::String &value)
ListHostedZonesByNameRequest & WithDNSName(Aws::String &&value)
ListHostedZonesByNameRequest & WithDNSName(const char *value)
ListHostedZonesByNameRequest & WithMaxItems(Aws::String &&value)
#define AWS_ROUTE53_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
JSON (JavaScript Object Notation).
ListHostedZonesByNameRequest & WithHostedZoneId(const char *value)