AWS SDK for C++  0.12.9
AWS SDK for C++
ListGeoLocationsResult.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 {
42  {
43  public:
47 
52  inline const Aws::Vector<GeoLocationDetails>& GetGeoLocationDetailsList() const{ return m_geoLocationDetailsList; }
53 
58  inline void SetGeoLocationDetailsList(const Aws::Vector<GeoLocationDetails>& value) { m_geoLocationDetailsList = value; }
59 
64  inline void SetGeoLocationDetailsList(Aws::Vector<GeoLocationDetails>&& value) { m_geoLocationDetailsList = value; }
65 
70  inline ListGeoLocationsResult& WithGeoLocationDetailsList(const Aws::Vector<GeoLocationDetails>& value) { SetGeoLocationDetailsList(value); return *this;}
71 
76  inline ListGeoLocationsResult& WithGeoLocationDetailsList(Aws::Vector<GeoLocationDetails>&& value) { SetGeoLocationDetailsList(value); return *this;}
77 
82  inline ListGeoLocationsResult& AddGeoLocationDetailsList(const GeoLocationDetails& value) { m_geoLocationDetailsList.push_back(value); return *this; }
83 
88  inline ListGeoLocationsResult& AddGeoLocationDetailsList(GeoLocationDetails&& value) { m_geoLocationDetailsList.push_back(value); return *this; }
89 
99  inline bool GetIsTruncated() const{ return m_isTruncated; }
100 
110  inline void SetIsTruncated(bool value) { m_isTruncated = value; }
111 
121  inline ListGeoLocationsResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
122 
129  inline const Aws::String& GetNextContinentCode() const{ return m_nextContinentCode; }
130 
137  inline void SetNextContinentCode(const Aws::String& value) { m_nextContinentCode = value; }
138 
145  inline void SetNextContinentCode(Aws::String&& value) { m_nextContinentCode = value; }
146 
153  inline void SetNextContinentCode(const char* value) { m_nextContinentCode.assign(value); }
154 
161  inline ListGeoLocationsResult& WithNextContinentCode(const Aws::String& value) { SetNextContinentCode(value); return *this;}
162 
169  inline ListGeoLocationsResult& WithNextContinentCode(Aws::String&& value) { SetNextContinentCode(value); return *this;}
170 
177  inline ListGeoLocationsResult& WithNextContinentCode(const char* value) { SetNextContinentCode(value); return *this;}
178 
185  inline const Aws::String& GetNextCountryCode() const{ return m_nextCountryCode; }
186 
193  inline void SetNextCountryCode(const Aws::String& value) { m_nextCountryCode = value; }
194 
201  inline void SetNextCountryCode(Aws::String&& value) { m_nextCountryCode = value; }
202 
209  inline void SetNextCountryCode(const char* value) { m_nextCountryCode.assign(value); }
210 
217  inline ListGeoLocationsResult& WithNextCountryCode(const Aws::String& value) { SetNextCountryCode(value); return *this;}
218 
225  inline ListGeoLocationsResult& WithNextCountryCode(Aws::String&& value) { SetNextCountryCode(value); return *this;}
226 
233  inline ListGeoLocationsResult& WithNextCountryCode(const char* value) { SetNextCountryCode(value); return *this;}
234 
241  inline const Aws::String& GetNextSubdivisionCode() const{ return m_nextSubdivisionCode; }
242 
249  inline void SetNextSubdivisionCode(const Aws::String& value) { m_nextSubdivisionCode = value; }
250 
257  inline void SetNextSubdivisionCode(Aws::String&& value) { m_nextSubdivisionCode = value; }
258 
265  inline void SetNextSubdivisionCode(const char* value) { m_nextSubdivisionCode.assign(value); }
266 
273  inline ListGeoLocationsResult& WithNextSubdivisionCode(const Aws::String& value) { SetNextSubdivisionCode(value); return *this;}
274 
281  inline ListGeoLocationsResult& WithNextSubdivisionCode(Aws::String&& value) { SetNextSubdivisionCode(value); return *this;}
282 
289  inline ListGeoLocationsResult& WithNextSubdivisionCode(const char* value) { SetNextSubdivisionCode(value); return *this;}
290 
295  inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
296 
301  inline void SetMaxItems(const Aws::String& value) { m_maxItems = value; }
302 
307  inline void SetMaxItems(Aws::String&& value) { m_maxItems = value; }
308 
313  inline void SetMaxItems(const char* value) { m_maxItems.assign(value); }
314 
319  inline ListGeoLocationsResult& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
320 
325  inline ListGeoLocationsResult& WithMaxItems(Aws::String&& value) { SetMaxItems(value); return *this;}
326 
331  inline ListGeoLocationsResult& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
332 
333  private:
334  Aws::Vector<GeoLocationDetails> m_geoLocationDetailsList;
335  bool m_isTruncated;
336  Aws::String m_nextContinentCode;
337  Aws::String m_nextCountryCode;
338  Aws::String m_nextSubdivisionCode;
339  Aws::String m_maxItems;
340  };
341 
342 } // namespace Model
343 } // namespace Route53
344 } // namespace Aws
ListGeoLocationsResult & WithGeoLocationDetailsList(Aws::Vector< GeoLocationDetails > &&value)
ListGeoLocationsResult & WithGeoLocationDetailsList(const Aws::Vector< GeoLocationDetails > &value)
ListGeoLocationsResult & WithNextSubdivisionCode(const Aws::String &value)
void SetNextContinentCode(const Aws::String &value)
ListGeoLocationsResult & WithMaxItems(const char *value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
ListGeoLocationsResult & WithNextSubdivisionCode(Aws::String &&value)
ListGeoLocationsResult & WithMaxItems(Aws::String &&value)
ListGeoLocationsResult & AddGeoLocationDetailsList(const GeoLocationDetails &value)
ListGeoLocationsResult & WithNextSubdivisionCode(const char *value)
ListGeoLocationsResult & WithNextCountryCode(Aws::String &&value)
ListGeoLocationsResult & AddGeoLocationDetailsList(GeoLocationDetails &&value)
ListGeoLocationsResult & WithNextContinentCode(const char *value)
ListGeoLocationsResult & WithNextContinentCode(Aws::String &&value)
void SetGeoLocationDetailsList(Aws::Vector< GeoLocationDetails > &&value)
void SetNextCountryCode(const Aws::String &value)
const Aws::Vector< GeoLocationDetails > & GetGeoLocationDetailsList() const
#define AWS_ROUTE53_API
ListGeoLocationsResult & WithNextCountryCode(const char *value)
ListGeoLocationsResult & WithNextContinentCode(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetGeoLocationDetailsList(const Aws::Vector< GeoLocationDetails > &value)
void SetNextSubdivisionCode(const Aws::String &value)
ListGeoLocationsResult & WithIsTruncated(bool value)
ListGeoLocationsResult & WithMaxItems(const Aws::String &value)
ListGeoLocationsResult & WithNextCountryCode(const Aws::String &value)
JSON (JavaScript Object Notation).