AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
41
42
44
48 inline const Aws::Vector<GeoLocationDetails>& GetGeoLocationDetailsList() const { return m_geoLocationDetailsList; }
49 template<typename GeoLocationDetailsListT = Aws::Vector<GeoLocationDetails>>
50 void SetGeoLocationDetailsList(GeoLocationDetailsListT&& value) { m_geoLocationDetailsListHasBeenSet = true; m_geoLocationDetailsList = std::forward<GeoLocationDetailsListT>(value); }
51 template<typename GeoLocationDetailsListT = Aws::Vector<GeoLocationDetails>>
52 ListGeoLocationsResult& WithGeoLocationDetailsList(GeoLocationDetailsListT&& value) { SetGeoLocationDetailsList(std::forward<GeoLocationDetailsListT>(value)); return *this;}
53 template<typename GeoLocationDetailsListT = GeoLocationDetails>
54 ListGeoLocationsResult& AddGeoLocationDetailsList(GeoLocationDetailsListT&& value) { m_geoLocationDetailsListHasBeenSet = true; m_geoLocationDetailsList.emplace_back(std::forward<GeoLocationDetailsListT>(value)); return *this; }
56
58
67 inline bool GetIsTruncated() const { return m_isTruncated; }
68 inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; 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 template<typename NextContinentCodeT = Aws::String>
81 void SetNextContinentCode(NextContinentCodeT&& value) { m_nextContinentCodeHasBeenSet = true; m_nextContinentCode = std::forward<NextContinentCodeT>(value); }
82 template<typename NextContinentCodeT = Aws::String>
83 ListGeoLocationsResult& WithNextContinentCode(NextContinentCodeT&& value) { SetNextContinentCode(std::forward<NextContinentCodeT>(value)); return *this;}
85
87
93 inline const Aws::String& GetNextCountryCode() const { return m_nextCountryCode; }
94 template<typename NextCountryCodeT = Aws::String>
95 void SetNextCountryCode(NextCountryCodeT&& value) { m_nextCountryCodeHasBeenSet = true; m_nextCountryCode = std::forward<NextCountryCodeT>(value); }
96 template<typename NextCountryCodeT = Aws::String>
97 ListGeoLocationsResult& WithNextCountryCode(NextCountryCodeT&& value) { SetNextCountryCode(std::forward<NextCountryCodeT>(value)); return *this;}
99
101
107 inline const Aws::String& GetNextSubdivisionCode() const { return m_nextSubdivisionCode; }
108 template<typename NextSubdivisionCodeT = Aws::String>
109 void SetNextSubdivisionCode(NextSubdivisionCodeT&& value) { m_nextSubdivisionCodeHasBeenSet = true; m_nextSubdivisionCode = std::forward<NextSubdivisionCodeT>(value); }
110 template<typename NextSubdivisionCodeT = Aws::String>
111 ListGeoLocationsResult& WithNextSubdivisionCode(NextSubdivisionCodeT&& value) { SetNextSubdivisionCode(std::forward<NextSubdivisionCodeT>(value)); return *this;}
113
115
118 inline const Aws::String& GetMaxItems() const { return m_maxItems; }
119 template<typename MaxItemsT = Aws::String>
120 void SetMaxItems(MaxItemsT&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::forward<MaxItemsT>(value); }
121 template<typename MaxItemsT = Aws::String>
122 ListGeoLocationsResult& WithMaxItems(MaxItemsT&& value) { SetMaxItems(std::forward<MaxItemsT>(value)); return *this;}
124
126
127 inline const Aws::String& GetRequestId() const { return m_requestId; }
128 template<typename RequestIdT = Aws::String>
129 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
130 template<typename RequestIdT = Aws::String>
131 ListGeoLocationsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
133 private:
134
135 Aws::Vector<GeoLocationDetails> m_geoLocationDetailsList;
136 bool m_geoLocationDetailsListHasBeenSet = false;
137
138 bool m_isTruncated{false};
139 bool m_isTruncatedHasBeenSet = false;
140
141 Aws::String m_nextContinentCode;
142 bool m_nextContinentCodeHasBeenSet = false;
143
144 Aws::String m_nextCountryCode;
145 bool m_nextCountryCodeHasBeenSet = false;
146
147 Aws::String m_nextSubdivisionCode;
148 bool m_nextSubdivisionCodeHasBeenSet = false;
149
150 Aws::String m_maxItems;
151 bool m_maxItemsHasBeenSet = false;
152
153 Aws::String m_requestId;
154 bool m_requestIdHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace Route53
159} // namespace Aws
void SetNextContinentCode(NextContinentCodeT &&value)
ListGeoLocationsResult & WithGeoLocationDetailsList(GeoLocationDetailsListT &&value)
void SetNextSubdivisionCode(NextSubdivisionCodeT &&value)
const Aws::Vector< GeoLocationDetails > & GetGeoLocationDetailsList() const
AWS_ROUTE53_API ListGeoLocationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListGeoLocationsResult & WithNextSubdivisionCode(NextSubdivisionCodeT &&value)
ListGeoLocationsResult & WithNextContinentCode(NextContinentCodeT &&value)
ListGeoLocationsResult & WithIsTruncated(bool value)
ListGeoLocationsResult & WithMaxItems(MaxItemsT &&value)
ListGeoLocationsResult & WithNextCountryCode(NextCountryCodeT &&value)
AWS_ROUTE53_API ListGeoLocationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetGeoLocationDetailsList(GeoLocationDetailsListT &&value)
void SetNextCountryCode(NextCountryCodeT &&value)
ListGeoLocationsResult & AddGeoLocationDetailsList(GeoLocationDetailsListT &&value)
ListGeoLocationsResult & WithRequestId(RequestIdT &&value)
AWS_ROUTE53_API ListGeoLocationsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument