AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
AddressComponentPhonemes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-places/GeoPlaces_EXPORTS.h>
9#include <aws/geo-places/model/PhonemeTranscription.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GeoPlaces {
21namespace Model {
22
30 public:
31 AWS_GEOPLACES_API AddressComponentPhonemes() = default;
34 AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<PhonemeTranscription>& GetCountry() const { return m_country; }
42 inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; }
43 template <typename CountryT = Aws::Vector<PhonemeTranscription>>
44 void SetCountry(CountryT&& value) {
45 m_countryHasBeenSet = true;
46 m_country = std::forward<CountryT>(value);
47 }
48 template <typename CountryT = Aws::Vector<PhonemeTranscription>>
50 SetCountry(std::forward<CountryT>(value));
51 return *this;
52 }
53 template <typename CountryT = PhonemeTranscription>
55 m_countryHasBeenSet = true;
56 m_country.emplace_back(std::forward<CountryT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::Vector<PhonemeTranscription>& GetRegion() const { return m_region; }
66 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
67 template <typename RegionT = Aws::Vector<PhonemeTranscription>>
68 void SetRegion(RegionT&& value) {
69 m_regionHasBeenSet = true;
70 m_region = std::forward<RegionT>(value);
71 }
72 template <typename RegionT = Aws::Vector<PhonemeTranscription>>
74 SetRegion(std::forward<RegionT>(value));
75 return *this;
76 }
77 template <typename RegionT = PhonemeTranscription>
79 m_regionHasBeenSet = true;
80 m_region.emplace_back(std::forward<RegionT>(value));
81 return *this;
82 }
84
86
90 inline const Aws::Vector<PhonemeTranscription>& GetSubRegion() const { return m_subRegion; }
91 inline bool SubRegionHasBeenSet() const { return m_subRegionHasBeenSet; }
92 template <typename SubRegionT = Aws::Vector<PhonemeTranscription>>
93 void SetSubRegion(SubRegionT&& value) {
94 m_subRegionHasBeenSet = true;
95 m_subRegion = std::forward<SubRegionT>(value);
96 }
97 template <typename SubRegionT = Aws::Vector<PhonemeTranscription>>
99 SetSubRegion(std::forward<SubRegionT>(value));
100 return *this;
101 }
102 template <typename SubRegionT = PhonemeTranscription>
104 m_subRegionHasBeenSet = true;
105 m_subRegion.emplace_back(std::forward<SubRegionT>(value));
106 return *this;
107 }
109
111
115 inline const Aws::Vector<PhonemeTranscription>& GetLocality() const { return m_locality; }
116 inline bool LocalityHasBeenSet() const { return m_localityHasBeenSet; }
117 template <typename LocalityT = Aws::Vector<PhonemeTranscription>>
118 void SetLocality(LocalityT&& value) {
119 m_localityHasBeenSet = true;
120 m_locality = std::forward<LocalityT>(value);
121 }
122 template <typename LocalityT = Aws::Vector<PhonemeTranscription>>
124 SetLocality(std::forward<LocalityT>(value));
125 return *this;
126 }
127 template <typename LocalityT = PhonemeTranscription>
129 m_localityHasBeenSet = true;
130 m_locality.emplace_back(std::forward<LocalityT>(value));
131 return *this;
132 }
134
136
140 inline const Aws::Vector<PhonemeTranscription>& GetDistrict() const { return m_district; }
141 inline bool DistrictHasBeenSet() const { return m_districtHasBeenSet; }
142 template <typename DistrictT = Aws::Vector<PhonemeTranscription>>
143 void SetDistrict(DistrictT&& value) {
144 m_districtHasBeenSet = true;
145 m_district = std::forward<DistrictT>(value);
146 }
147 template <typename DistrictT = Aws::Vector<PhonemeTranscription>>
149 SetDistrict(std::forward<DistrictT>(value));
150 return *this;
151 }
152 template <typename DistrictT = PhonemeTranscription>
154 m_districtHasBeenSet = true;
155 m_district.emplace_back(std::forward<DistrictT>(value));
156 return *this;
157 }
159
161
165 inline const Aws::Vector<PhonemeTranscription>& GetSubDistrict() const { return m_subDistrict; }
166 inline bool SubDistrictHasBeenSet() const { return m_subDistrictHasBeenSet; }
167 template <typename SubDistrictT = Aws::Vector<PhonemeTranscription>>
168 void SetSubDistrict(SubDistrictT&& value) {
169 m_subDistrictHasBeenSet = true;
170 m_subDistrict = std::forward<SubDistrictT>(value);
171 }
172 template <typename SubDistrictT = Aws::Vector<PhonemeTranscription>>
174 SetSubDistrict(std::forward<SubDistrictT>(value));
175 return *this;
176 }
177 template <typename SubDistrictT = PhonemeTranscription>
179 m_subDistrictHasBeenSet = true;
180 m_subDistrict.emplace_back(std::forward<SubDistrictT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::Vector<PhonemeTranscription>& GetBlock() const { return m_block; }
190 inline bool BlockHasBeenSet() const { return m_blockHasBeenSet; }
191 template <typename BlockT = Aws::Vector<PhonemeTranscription>>
192 void SetBlock(BlockT&& value) {
193 m_blockHasBeenSet = true;
194 m_block = std::forward<BlockT>(value);
195 }
196 template <typename BlockT = Aws::Vector<PhonemeTranscription>>
198 SetBlock(std::forward<BlockT>(value));
199 return *this;
200 }
201 template <typename BlockT = PhonemeTranscription>
203 m_blockHasBeenSet = true;
204 m_block.emplace_back(std::forward<BlockT>(value));
205 return *this;
206 }
208
210
213 inline const Aws::Vector<PhonemeTranscription>& GetSubBlock() const { return m_subBlock; }
214 inline bool SubBlockHasBeenSet() const { return m_subBlockHasBeenSet; }
215 template <typename SubBlockT = Aws::Vector<PhonemeTranscription>>
216 void SetSubBlock(SubBlockT&& value) {
217 m_subBlockHasBeenSet = true;
218 m_subBlock = std::forward<SubBlockT>(value);
219 }
220 template <typename SubBlockT = Aws::Vector<PhonemeTranscription>>
222 SetSubBlock(std::forward<SubBlockT>(value));
223 return *this;
224 }
225 template <typename SubBlockT = PhonemeTranscription>
227 m_subBlockHasBeenSet = true;
228 m_subBlock.emplace_back(std::forward<SubBlockT>(value));
229 return *this;
230 }
232
234
237 inline const Aws::Vector<PhonemeTranscription>& GetStreet() const { return m_street; }
238 inline bool StreetHasBeenSet() const { return m_streetHasBeenSet; }
239 template <typename StreetT = Aws::Vector<PhonemeTranscription>>
240 void SetStreet(StreetT&& value) {
241 m_streetHasBeenSet = true;
242 m_street = std::forward<StreetT>(value);
243 }
244 template <typename StreetT = Aws::Vector<PhonemeTranscription>>
246 SetStreet(std::forward<StreetT>(value));
247 return *this;
248 }
249 template <typename StreetT = PhonemeTranscription>
251 m_streetHasBeenSet = true;
252 m_street.emplace_back(std::forward<StreetT>(value));
253 return *this;
254 }
256 private:
258
260
262
264
266
268
270
272
274 bool m_countryHasBeenSet = false;
275 bool m_regionHasBeenSet = false;
276 bool m_subRegionHasBeenSet = false;
277 bool m_localityHasBeenSet = false;
278 bool m_districtHasBeenSet = false;
279 bool m_subDistrictHasBeenSet = false;
280 bool m_blockHasBeenSet = false;
281 bool m_subBlockHasBeenSet = false;
282 bool m_streetHasBeenSet = false;
283};
284
285} // namespace Model
286} // namespace GeoPlaces
287} // namespace Aws
AddressComponentPhonemes & WithStreet(StreetT &&value)
AddressComponentPhonemes & AddStreet(StreetT &&value)
AddressComponentPhonemes & AddDistrict(DistrictT &&value)
AddressComponentPhonemes & WithSubBlock(SubBlockT &&value)
const Aws::Vector< PhonemeTranscription > & GetRegion() const
const Aws::Vector< PhonemeTranscription > & GetSubDistrict() const
const Aws::Vector< PhonemeTranscription > & GetLocality() const
AddressComponentPhonemes & WithRegion(RegionT &&value)
AddressComponentPhonemes & AddLocality(LocalityT &&value)
AWS_GEOPLACES_API AddressComponentPhonemes()=default
AddressComponentPhonemes & AddRegion(RegionT &&value)
const Aws::Vector< PhonemeTranscription > & GetStreet() const
AddressComponentPhonemes & AddCountry(CountryT &&value)
const Aws::Vector< PhonemeTranscription > & GetSubRegion() const
AddressComponentPhonemes & WithDistrict(DistrictT &&value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
AddressComponentPhonemes & AddSubBlock(SubBlockT &&value)
AddressComponentPhonemes & WithBlock(BlockT &&value)
AddressComponentPhonemes & WithSubRegion(SubRegionT &&value)
AddressComponentPhonemes & AddBlock(BlockT &&value)
AddressComponentPhonemes & AddSubDistrict(SubDistrictT &&value)
AWS_GEOPLACES_API AddressComponentPhonemes(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< PhonemeTranscription > & GetSubBlock() const
AWS_GEOPLACES_API AddressComponentPhonemes & operator=(Aws::Utils::Json::JsonView jsonValue)
AddressComponentPhonemes & WithCountry(CountryT &&value)
const Aws::Vector< PhonemeTranscription > & GetDistrict() const
const Aws::Vector< PhonemeTranscription > & GetCountry() const
AddressComponentPhonemes & WithSubDistrict(SubDistrictT &&value)
AddressComponentPhonemes & AddSubRegion(SubRegionT &&value)
const Aws::Vector< PhonemeTranscription > & GetBlock() const
AddressComponentPhonemes & WithLocality(LocalityT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue