AWS SDK for C++  0.12.9
AWS SDK for C++
ListGeoLocationsRequest.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 
35  {
36  public:
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
51  inline const Aws::String& GetStartContinentCode() const{ return m_startContinentCode; }
52 
62  inline void SetStartContinentCode(const Aws::String& value) { m_startContinentCodeHasBeenSet = true; m_startContinentCode = value; }
63 
73  inline void SetStartContinentCode(Aws::String&& value) { m_startContinentCodeHasBeenSet = true; m_startContinentCode = value; }
74 
84  inline void SetStartContinentCode(const char* value) { m_startContinentCodeHasBeenSet = true; m_startContinentCode.assign(value); }
85 
95  inline ListGeoLocationsRequest& WithStartContinentCode(const Aws::String& value) { SetStartContinentCode(value); return *this;}
96 
106  inline ListGeoLocationsRequest& WithStartContinentCode(Aws::String&& value) { SetStartContinentCode(value); return *this;}
107 
117  inline ListGeoLocationsRequest& WithStartContinentCode(const char* value) { SetStartContinentCode(value); return *this;}
118 
125  inline const Aws::String& GetStartCountryCode() const{ return m_startCountryCode; }
126 
133  inline void SetStartCountryCode(const Aws::String& value) { m_startCountryCodeHasBeenSet = true; m_startCountryCode = value; }
134 
141  inline void SetStartCountryCode(Aws::String&& value) { m_startCountryCodeHasBeenSet = true; m_startCountryCode = value; }
142 
149  inline void SetStartCountryCode(const char* value) { m_startCountryCodeHasBeenSet = true; m_startCountryCode.assign(value); }
150 
157  inline ListGeoLocationsRequest& WithStartCountryCode(const Aws::String& value) { SetStartCountryCode(value); return *this;}
158 
165  inline ListGeoLocationsRequest& WithStartCountryCode(Aws::String&& value) { SetStartCountryCode(value); return *this;}
166 
173  inline ListGeoLocationsRequest& WithStartCountryCode(const char* value) { SetStartCountryCode(value); return *this;}
174 
181  inline const Aws::String& GetStartSubdivisionCode() const{ return m_startSubdivisionCode; }
182 
189  inline void SetStartSubdivisionCode(const Aws::String& value) { m_startSubdivisionCodeHasBeenSet = true; m_startSubdivisionCode = value; }
190 
197  inline void SetStartSubdivisionCode(Aws::String&& value) { m_startSubdivisionCodeHasBeenSet = true; m_startSubdivisionCode = value; }
198 
205  inline void SetStartSubdivisionCode(const char* value) { m_startSubdivisionCodeHasBeenSet = true; m_startSubdivisionCode.assign(value); }
206 
213  inline ListGeoLocationsRequest& WithStartSubdivisionCode(const Aws::String& value) { SetStartSubdivisionCode(value); return *this;}
214 
221  inline ListGeoLocationsRequest& WithStartSubdivisionCode(Aws::String&& value) { SetStartSubdivisionCode(value); return *this;}
222 
229  inline ListGeoLocationsRequest& WithStartSubdivisionCode(const char* value) { SetStartSubdivisionCode(value); return *this;}
230 
234  inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
235 
239  inline void SetMaxItems(const Aws::String& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
240 
244  inline void SetMaxItems(Aws::String&& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
245 
249  inline void SetMaxItems(const char* value) { m_maxItemsHasBeenSet = true; m_maxItems.assign(value); }
250 
254  inline ListGeoLocationsRequest& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
255 
259  inline ListGeoLocationsRequest& WithMaxItems(Aws::String&& value) { SetMaxItems(value); return *this;}
260 
264  inline ListGeoLocationsRequest& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
265 
266  private:
267  Aws::String m_startContinentCode;
268  bool m_startContinentCodeHasBeenSet;
269  Aws::String m_startCountryCode;
270  bool m_startCountryCodeHasBeenSet;
271  Aws::String m_startSubdivisionCode;
272  bool m_startSubdivisionCodeHasBeenSet;
273  Aws::String m_maxItems;
274  bool m_maxItemsHasBeenSet;
275  };
276 
277 } // namespace Model
278 } // namespace Route53
279 } // namespace Aws
ListGeoLocationsRequest & WithStartCountryCode(const char *value)
void SetStartSubdivisionCode(const Aws::String &value)
ListGeoLocationsRequest & WithStartContinentCode(const Aws::String &value)
ListGeoLocationsRequest & WithStartContinentCode(Aws::String &&value)
ListGeoLocationsRequest & WithStartSubdivisionCode(const Aws::String &value)
void SetStartContinentCode(const Aws::String &value)
ListGeoLocationsRequest & WithStartContinentCode(const char *value)
#define AWS_ROUTE53_API
ListGeoLocationsRequest & WithStartSubdivisionCode(const char *value)
ListGeoLocationsRequest & WithMaxItems(const char *value)
ListGeoLocationsRequest & WithStartSubdivisionCode(Aws::String &&value)
ListGeoLocationsRequest & WithMaxItems(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListGeoLocationsRequest & WithStartCountryCode(const Aws::String &value)
ListGeoLocationsRequest & WithMaxItems(const Aws::String &value)
ListGeoLocationsRequest & WithStartCountryCode(Aws::String &&value)
JSON (JavaScript Object Notation).