AWS SDK for C++  0.14.3
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 
97  inline bool GetIsTruncated() const{ return m_isTruncated; }
98 
106  inline void SetIsTruncated(bool value) { m_isTruncated = value; }
107 
115  inline ListGeoLocationsResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
116 
122  inline const Aws::String& GetNextContinentCode() const{ return m_nextContinentCode; }
123 
129  inline void SetNextContinentCode(const Aws::String& value) { m_nextContinentCode = value; }
130 
136  inline void SetNextContinentCode(Aws::String&& value) { m_nextContinentCode = value; }
137 
143  inline void SetNextContinentCode(const char* value) { m_nextContinentCode.assign(value); }
144 
150  inline ListGeoLocationsResult& WithNextContinentCode(const Aws::String& value) { SetNextContinentCode(value); return *this;}
151 
157  inline ListGeoLocationsResult& WithNextContinentCode(Aws::String&& value) { SetNextContinentCode(value); return *this;}
158 
164  inline ListGeoLocationsResult& WithNextContinentCode(const char* value) { SetNextContinentCode(value); return *this;}
165 
171  inline const Aws::String& GetNextCountryCode() const{ return m_nextCountryCode; }
172 
178  inline void SetNextCountryCode(const Aws::String& value) { m_nextCountryCode = value; }
179 
185  inline void SetNextCountryCode(Aws::String&& value) { m_nextCountryCode = value; }
186 
192  inline void SetNextCountryCode(const char* value) { m_nextCountryCode.assign(value); }
193 
199  inline ListGeoLocationsResult& WithNextCountryCode(const Aws::String& value) { SetNextCountryCode(value); return *this;}
200 
206  inline ListGeoLocationsResult& WithNextCountryCode(Aws::String&& value) { SetNextCountryCode(value); return *this;}
207 
213  inline ListGeoLocationsResult& WithNextCountryCode(const char* value) { SetNextCountryCode(value); return *this;}
214 
220  inline const Aws::String& GetNextSubdivisionCode() const{ return m_nextSubdivisionCode; }
221 
227  inline void SetNextSubdivisionCode(const Aws::String& value) { m_nextSubdivisionCode = value; }
228 
234  inline void SetNextSubdivisionCode(Aws::String&& value) { m_nextSubdivisionCode = value; }
235 
241  inline void SetNextSubdivisionCode(const char* value) { m_nextSubdivisionCode.assign(value); }
242 
248  inline ListGeoLocationsResult& WithNextSubdivisionCode(const Aws::String& value) { SetNextSubdivisionCode(value); return *this;}
249 
255  inline ListGeoLocationsResult& WithNextSubdivisionCode(Aws::String&& value) { SetNextSubdivisionCode(value); return *this;}
256 
262  inline ListGeoLocationsResult& WithNextSubdivisionCode(const char* value) { SetNextSubdivisionCode(value); return *this;}
263 
268  inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
269 
274  inline void SetMaxItems(const Aws::String& value) { m_maxItems = value; }
275 
280  inline void SetMaxItems(Aws::String&& value) { m_maxItems = value; }
281 
286  inline void SetMaxItems(const char* value) { m_maxItems.assign(value); }
287 
292  inline ListGeoLocationsResult& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
293 
298  inline ListGeoLocationsResult& WithMaxItems(Aws::String&& value) { SetMaxItems(value); return *this;}
299 
304  inline ListGeoLocationsResult& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
305 
306  private:
307  Aws::Vector<GeoLocationDetails> m_geoLocationDetailsList;
308  bool m_isTruncated;
309  Aws::String m_nextContinentCode;
310  Aws::String m_nextCountryCode;
311  Aws::String m_nextSubdivisionCode;
312  Aws::String m_maxItems;
313  };
314 
315 } // namespace Model
316 } // namespace Route53
317 } // 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).