AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListGeoLocationsResult.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53/model/GeoLocationDetails.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace Route53
26{
27namespace Model
28{
36 {
37 public:
38 AWS_ROUTE53_API ListGeoLocationsResult();
41
42
44
48 inline const Aws::Vector<GeoLocationDetails>& GetGeoLocationDetailsList() const{ return m_geoLocationDetailsList; }
49 inline void SetGeoLocationDetailsList(const Aws::Vector<GeoLocationDetails>& value) { m_geoLocationDetailsList = value; }
50 inline void SetGeoLocationDetailsList(Aws::Vector<GeoLocationDetails>&& value) { m_geoLocationDetailsList = std::move(value); }
53 inline ListGeoLocationsResult& AddGeoLocationDetailsList(const GeoLocationDetails& value) { m_geoLocationDetailsList.push_back(value); return *this; }
54 inline ListGeoLocationsResult& AddGeoLocationDetailsList(GeoLocationDetails&& value) { m_geoLocationDetailsList.push_back(std::move(value)); return *this; }
56
58
67 inline bool GetIsTruncated() const{ return m_isTruncated; }
68 inline void SetIsTruncated(bool value) { m_isTruncated = value; }
69 inline ListGeoLocationsResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
71
73
79 inline const Aws::String& GetNextContinentCode() const{ return m_nextContinentCode; }
80 inline void SetNextContinentCode(const Aws::String& value) { m_nextContinentCode = value; }
81 inline void SetNextContinentCode(Aws::String&& value) { m_nextContinentCode = std::move(value); }
82 inline void SetNextContinentCode(const char* value) { m_nextContinentCode.assign(value); }
84 inline ListGeoLocationsResult& WithNextContinentCode(Aws::String&& value) { SetNextContinentCode(std::move(value)); return *this;}
85 inline ListGeoLocationsResult& WithNextContinentCode(const char* value) { SetNextContinentCode(value); return *this;}
87
89
95 inline const Aws::String& GetNextCountryCode() const{ return m_nextCountryCode; }
96 inline void SetNextCountryCode(const Aws::String& value) { m_nextCountryCode = value; }
97 inline void SetNextCountryCode(Aws::String&& value) { m_nextCountryCode = std::move(value); }
98 inline void SetNextCountryCode(const char* value) { m_nextCountryCode.assign(value); }
99 inline ListGeoLocationsResult& WithNextCountryCode(const Aws::String& value) { SetNextCountryCode(value); return *this;}
100 inline ListGeoLocationsResult& WithNextCountryCode(Aws::String&& value) { SetNextCountryCode(std::move(value)); return *this;}
101 inline ListGeoLocationsResult& WithNextCountryCode(const char* value) { SetNextCountryCode(value); return *this;}
103
105
111 inline const Aws::String& GetNextSubdivisionCode() const{ return m_nextSubdivisionCode; }
112 inline void SetNextSubdivisionCode(const Aws::String& value) { m_nextSubdivisionCode = value; }
113 inline void SetNextSubdivisionCode(Aws::String&& value) { m_nextSubdivisionCode = std::move(value); }
114 inline void SetNextSubdivisionCode(const char* value) { m_nextSubdivisionCode.assign(value); }
116 inline ListGeoLocationsResult& WithNextSubdivisionCode(Aws::String&& value) { SetNextSubdivisionCode(std::move(value)); return *this;}
117 inline ListGeoLocationsResult& WithNextSubdivisionCode(const char* value) { SetNextSubdivisionCode(value); return *this;}
119
121
124 inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
125 inline void SetMaxItems(const Aws::String& value) { m_maxItems = value; }
126 inline void SetMaxItems(Aws::String&& value) { m_maxItems = std::move(value); }
127 inline void SetMaxItems(const char* value) { m_maxItems.assign(value); }
128 inline ListGeoLocationsResult& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
129 inline ListGeoLocationsResult& WithMaxItems(Aws::String&& value) { SetMaxItems(std::move(value)); return *this;}
130 inline ListGeoLocationsResult& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
132
134
135 inline const Aws::String& GetRequestId() const{ return m_requestId; }
136 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
137 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
138 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
139 inline ListGeoLocationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
140 inline ListGeoLocationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
141 inline ListGeoLocationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
143 private:
144
145 Aws::Vector<GeoLocationDetails> m_geoLocationDetailsList;
146
147 bool m_isTruncated;
148
149 Aws::String m_nextContinentCode;
150
151 Aws::String m_nextCountryCode;
152
153 Aws::String m_nextSubdivisionCode;
154
155 Aws::String m_maxItems;
156
157 Aws::String m_requestId;
158 };
159
160} // namespace Model
161} // namespace Route53
162} // namespace Aws
ListGeoLocationsResult & WithGeoLocationDetailsList(Aws::Vector< GeoLocationDetails > &&value)
ListGeoLocationsResult & WithGeoLocationDetailsList(const Aws::Vector< GeoLocationDetails > &value)
void SetNextContinentCode(const Aws::String &value)
const Aws::Vector< GeoLocationDetails > & GetGeoLocationDetailsList() const
ListGeoLocationsResult & WithNextSubdivisionCode(const char *value)
AWS_ROUTE53_API ListGeoLocationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListGeoLocationsResult & WithMaxItems(const Aws::String &value)
ListGeoLocationsResult & WithNextSubdivisionCode(const Aws::String &value)
ListGeoLocationsResult & WithRequestId(const Aws::String &value)
void SetGeoLocationDetailsList(Aws::Vector< GeoLocationDetails > &&value)
ListGeoLocationsResult & WithNextContinentCode(const char *value)
ListGeoLocationsResult & AddGeoLocationDetailsList(GeoLocationDetails &&value)
ListGeoLocationsResult & WithIsTruncated(bool value)
ListGeoLocationsResult & WithRequestId(const char *value)
ListGeoLocationsResult & WithRequestId(Aws::String &&value)
ListGeoLocationsResult & WithNextCountryCode(const Aws::String &value)
ListGeoLocationsResult & WithNextCountryCode(Aws::String &&value)
AWS_ROUTE53_API ListGeoLocationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListGeoLocationsResult & WithMaxItems(const char *value)
ListGeoLocationsResult & WithNextContinentCode(Aws::String &&value)
ListGeoLocationsResult & WithNextSubdivisionCode(Aws::String &&value)
void SetNextSubdivisionCode(const Aws::String &value)
ListGeoLocationsResult & AddGeoLocationDetailsList(const GeoLocationDetails &value)
ListGeoLocationsResult & WithNextCountryCode(const char *value)
void SetGeoLocationDetailsList(const Aws::Vector< GeoLocationDetails > &value)
ListGeoLocationsResult & WithMaxItems(Aws::String &&value)
ListGeoLocationsResult & WithNextContinentCode(const Aws::String &value)
void SetNextCountryCode(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument