AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddressComponentPhonemes.h
1
6#pragma once
7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-places/model/PhonemeTranscription.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GeoPlaces
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GEOPLACES_API AddressComponentPhonemes();
39 AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<PhonemeTranscription>& GetCountry() const{ return m_country; }
48 inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; }
49 inline void SetCountry(const Aws::Vector<PhonemeTranscription>& value) { m_countryHasBeenSet = true; m_country = value; }
50 inline void SetCountry(Aws::Vector<PhonemeTranscription>&& value) { m_countryHasBeenSet = true; m_country = std::move(value); }
52 inline AddressComponentPhonemes& WithCountry(Aws::Vector<PhonemeTranscription>&& value) { SetCountry(std::move(value)); return *this;}
53 inline AddressComponentPhonemes& AddCountry(const PhonemeTranscription& value) { m_countryHasBeenSet = true; m_country.push_back(value); return *this; }
54 inline AddressComponentPhonemes& AddCountry(PhonemeTranscription&& value) { m_countryHasBeenSet = true; m_country.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::Vector<PhonemeTranscription>& GetRegion() const{ return m_region; }
62 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
63 inline void SetRegion(const Aws::Vector<PhonemeTranscription>& value) { m_regionHasBeenSet = true; m_region = value; }
64 inline void SetRegion(Aws::Vector<PhonemeTranscription>&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
66 inline AddressComponentPhonemes& WithRegion(Aws::Vector<PhonemeTranscription>&& value) { SetRegion(std::move(value)); return *this;}
67 inline AddressComponentPhonemes& AddRegion(const PhonemeTranscription& value) { m_regionHasBeenSet = true; m_region.push_back(value); return *this; }
68 inline AddressComponentPhonemes& AddRegion(PhonemeTranscription&& value) { m_regionHasBeenSet = true; m_region.push_back(std::move(value)); return *this; }
70
72
76 inline const Aws::Vector<PhonemeTranscription>& GetSubRegion() const{ return m_subRegion; }
77 inline bool SubRegionHasBeenSet() const { return m_subRegionHasBeenSet; }
78 inline void SetSubRegion(const Aws::Vector<PhonemeTranscription>& value) { m_subRegionHasBeenSet = true; m_subRegion = value; }
79 inline void SetSubRegion(Aws::Vector<PhonemeTranscription>&& value) { m_subRegionHasBeenSet = true; m_subRegion = std::move(value); }
81 inline AddressComponentPhonemes& WithSubRegion(Aws::Vector<PhonemeTranscription>&& value) { SetSubRegion(std::move(value)); return *this;}
82 inline AddressComponentPhonemes& AddSubRegion(const PhonemeTranscription& value) { m_subRegionHasBeenSet = true; m_subRegion.push_back(value); return *this; }
83 inline AddressComponentPhonemes& AddSubRegion(PhonemeTranscription&& value) { m_subRegionHasBeenSet = true; m_subRegion.push_back(std::move(value)); return *this; }
85
87
91 inline const Aws::Vector<PhonemeTranscription>& GetLocality() const{ return m_locality; }
92 inline bool LocalityHasBeenSet() const { return m_localityHasBeenSet; }
93 inline void SetLocality(const Aws::Vector<PhonemeTranscription>& value) { m_localityHasBeenSet = true; m_locality = value; }
94 inline void SetLocality(Aws::Vector<PhonemeTranscription>&& value) { m_localityHasBeenSet = true; m_locality = std::move(value); }
96 inline AddressComponentPhonemes& WithLocality(Aws::Vector<PhonemeTranscription>&& value) { SetLocality(std::move(value)); return *this;}
97 inline AddressComponentPhonemes& AddLocality(const PhonemeTranscription& value) { m_localityHasBeenSet = true; m_locality.push_back(value); return *this; }
98 inline AddressComponentPhonemes& AddLocality(PhonemeTranscription&& value) { m_localityHasBeenSet = true; m_locality.push_back(std::move(value)); return *this; }
100
102
106 inline const Aws::Vector<PhonemeTranscription>& GetDistrict() const{ return m_district; }
107 inline bool DistrictHasBeenSet() const { return m_districtHasBeenSet; }
108 inline void SetDistrict(const Aws::Vector<PhonemeTranscription>& value) { m_districtHasBeenSet = true; m_district = value; }
109 inline void SetDistrict(Aws::Vector<PhonemeTranscription>&& value) { m_districtHasBeenSet = true; m_district = std::move(value); }
111 inline AddressComponentPhonemes& WithDistrict(Aws::Vector<PhonemeTranscription>&& value) { SetDistrict(std::move(value)); return *this;}
112 inline AddressComponentPhonemes& AddDistrict(const PhonemeTranscription& value) { m_districtHasBeenSet = true; m_district.push_back(value); return *this; }
113 inline AddressComponentPhonemes& AddDistrict(PhonemeTranscription&& value) { m_districtHasBeenSet = true; m_district.push_back(std::move(value)); return *this; }
115
117
121 inline const Aws::Vector<PhonemeTranscription>& GetSubDistrict() const{ return m_subDistrict; }
122 inline bool SubDistrictHasBeenSet() const { return m_subDistrictHasBeenSet; }
123 inline void SetSubDistrict(const Aws::Vector<PhonemeTranscription>& value) { m_subDistrictHasBeenSet = true; m_subDistrict = value; }
124 inline void SetSubDistrict(Aws::Vector<PhonemeTranscription>&& value) { m_subDistrictHasBeenSet = true; m_subDistrict = std::move(value); }
127 inline AddressComponentPhonemes& AddSubDistrict(const PhonemeTranscription& value) { m_subDistrictHasBeenSet = true; m_subDistrict.push_back(value); return *this; }
128 inline AddressComponentPhonemes& AddSubDistrict(PhonemeTranscription&& value) { m_subDistrictHasBeenSet = true; m_subDistrict.push_back(std::move(value)); return *this; }
130
132
135 inline const Aws::Vector<PhonemeTranscription>& GetBlock() const{ return m_block; }
136 inline bool BlockHasBeenSet() const { return m_blockHasBeenSet; }
137 inline void SetBlock(const Aws::Vector<PhonemeTranscription>& value) { m_blockHasBeenSet = true; m_block = value; }
138 inline void SetBlock(Aws::Vector<PhonemeTranscription>&& value) { m_blockHasBeenSet = true; m_block = std::move(value); }
140 inline AddressComponentPhonemes& WithBlock(Aws::Vector<PhonemeTranscription>&& value) { SetBlock(std::move(value)); return *this;}
141 inline AddressComponentPhonemes& AddBlock(const PhonemeTranscription& value) { m_blockHasBeenSet = true; m_block.push_back(value); return *this; }
142 inline AddressComponentPhonemes& AddBlock(PhonemeTranscription&& value) { m_blockHasBeenSet = true; m_block.push_back(std::move(value)); return *this; }
144
146
149 inline const Aws::Vector<PhonemeTranscription>& GetSubBlock() const{ return m_subBlock; }
150 inline bool SubBlockHasBeenSet() const { return m_subBlockHasBeenSet; }
151 inline void SetSubBlock(const Aws::Vector<PhonemeTranscription>& value) { m_subBlockHasBeenSet = true; m_subBlock = value; }
152 inline void SetSubBlock(Aws::Vector<PhonemeTranscription>&& value) { m_subBlockHasBeenSet = true; m_subBlock = std::move(value); }
154 inline AddressComponentPhonemes& WithSubBlock(Aws::Vector<PhonemeTranscription>&& value) { SetSubBlock(std::move(value)); return *this;}
155 inline AddressComponentPhonemes& AddSubBlock(const PhonemeTranscription& value) { m_subBlockHasBeenSet = true; m_subBlock.push_back(value); return *this; }
156 inline AddressComponentPhonemes& AddSubBlock(PhonemeTranscription&& value) { m_subBlockHasBeenSet = true; m_subBlock.push_back(std::move(value)); return *this; }
158
160
163 inline const Aws::Vector<PhonemeTranscription>& GetStreet() const{ return m_street; }
164 inline bool StreetHasBeenSet() const { return m_streetHasBeenSet; }
165 inline void SetStreet(const Aws::Vector<PhonemeTranscription>& value) { m_streetHasBeenSet = true; m_street = value; }
166 inline void SetStreet(Aws::Vector<PhonemeTranscription>&& value) { m_streetHasBeenSet = true; m_street = std::move(value); }
168 inline AddressComponentPhonemes& WithStreet(Aws::Vector<PhonemeTranscription>&& value) { SetStreet(std::move(value)); return *this;}
169 inline AddressComponentPhonemes& AddStreet(const PhonemeTranscription& value) { m_streetHasBeenSet = true; m_street.push_back(value); return *this; }
170 inline AddressComponentPhonemes& AddStreet(PhonemeTranscription&& value) { m_streetHasBeenSet = true; m_street.push_back(std::move(value)); return *this; }
172 private:
173
175 bool m_countryHasBeenSet = false;
176
178 bool m_regionHasBeenSet = false;
179
181 bool m_subRegionHasBeenSet = false;
182
184 bool m_localityHasBeenSet = false;
185
187 bool m_districtHasBeenSet = false;
188
190 bool m_subDistrictHasBeenSet = false;
191
193 bool m_blockHasBeenSet = false;
194
196 bool m_subBlockHasBeenSet = false;
197
199 bool m_streetHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace GeoPlaces
204} // namespace Aws
AddressComponentPhonemes & WithLocality(const Aws::Vector< PhonemeTranscription > &value)
void SetRegion(Aws::Vector< PhonemeTranscription > &&value)
AddressComponentPhonemes & AddRegion(const PhonemeTranscription &value)
const Aws::Vector< PhonemeTranscription > & GetRegion() const
AddressComponentPhonemes & AddCountry(const PhonemeTranscription &value)
AddressComponentPhonemes & AddLocality(const PhonemeTranscription &value)
AddressComponentPhonemes & WithBlock(Aws::Vector< PhonemeTranscription > &&value)
AddressComponentPhonemes & AddCountry(PhonemeTranscription &&value)
AddressComponentPhonemes & AddSubRegion(PhonemeTranscription &&value)
AddressComponentPhonemes & WithCountry(Aws::Vector< PhonemeTranscription > &&value)
void SetSubRegion(const Aws::Vector< PhonemeTranscription > &value)
AddressComponentPhonemes & WithSubDistrict(const Aws::Vector< PhonemeTranscription > &value)
AddressComponentPhonemes & WithSubBlock(const Aws::Vector< PhonemeTranscription > &value)
const Aws::Vector< PhonemeTranscription > & GetSubDistrict() const
AddressComponentPhonemes & AddSubDistrict(const PhonemeTranscription &value)
AddressComponentPhonemes & WithStreet(const Aws::Vector< PhonemeTranscription > &value)
AddressComponentPhonemes & AddStreet(PhonemeTranscription &&value)
AddressComponentPhonemes & AddSubBlock(PhonemeTranscription &&value)
const Aws::Vector< PhonemeTranscription > & GetLocality() const
AddressComponentPhonemes & WithBlock(const Aws::Vector< PhonemeTranscription > &value)
void SetSubBlock(Aws::Vector< PhonemeTranscription > &&value)
void SetDistrict(Aws::Vector< PhonemeTranscription > &&value)
AddressComponentPhonemes & AddBlock(const PhonemeTranscription &value)
AddressComponentPhonemes & AddStreet(const PhonemeTranscription &value)
void SetSubRegion(Aws::Vector< PhonemeTranscription > &&value)
void SetCountry(Aws::Vector< PhonemeTranscription > &&value)
AddressComponentPhonemes & WithSubDistrict(Aws::Vector< PhonemeTranscription > &&value)
void SetLocality(const Aws::Vector< PhonemeTranscription > &value)
const Aws::Vector< PhonemeTranscription > & GetStreet() const
AddressComponentPhonemes & WithSubBlock(Aws::Vector< PhonemeTranscription > &&value)
void SetCountry(const Aws::Vector< PhonemeTranscription > &value)
AddressComponentPhonemes & WithDistrict(Aws::Vector< PhonemeTranscription > &&value)
const Aws::Vector< PhonemeTranscription > & GetSubRegion() const
void SetBlock(const Aws::Vector< PhonemeTranscription > &value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
AddressComponentPhonemes & WithStreet(Aws::Vector< PhonemeTranscription > &&value)
void SetLocality(Aws::Vector< PhonemeTranscription > &&value)
AddressComponentPhonemes & AddLocality(PhonemeTranscription &&value)
void SetBlock(Aws::Vector< PhonemeTranscription > &&value)
AddressComponentPhonemes & AddDistrict(PhonemeTranscription &&value)
AddressComponentPhonemes & AddSubBlock(const PhonemeTranscription &value)
AddressComponentPhonemes & AddSubDistrict(PhonemeTranscription &&value)
void SetStreet(Aws::Vector< PhonemeTranscription > &&value)
AddressComponentPhonemes & AddRegion(PhonemeTranscription &&value)
AddressComponentPhonemes & WithRegion(const Aws::Vector< PhonemeTranscription > &value)
AddressComponentPhonemes & AddDistrict(const PhonemeTranscription &value)
AddressComponentPhonemes & AddBlock(PhonemeTranscription &&value)
AddressComponentPhonemes & WithSubRegion(const Aws::Vector< PhonemeTranscription > &value)
AddressComponentPhonemes & AddSubRegion(const PhonemeTranscription &value)
void SetSubBlock(const Aws::Vector< PhonemeTranscription > &value)
void SetRegion(const Aws::Vector< PhonemeTranscription > &value)
void SetSubDistrict(Aws::Vector< PhonemeTranscription > &&value)
AddressComponentPhonemes & WithLocality(Aws::Vector< PhonemeTranscription > &&value)
AWS_GEOPLACES_API AddressComponentPhonemes(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< PhonemeTranscription > & GetSubBlock() const
void SetSubDistrict(const Aws::Vector< PhonemeTranscription > &value)
void SetDistrict(const Aws::Vector< PhonemeTranscription > &value)
AddressComponentPhonemes & WithSubRegion(Aws::Vector< PhonemeTranscription > &&value)
AWS_GEOPLACES_API AddressComponentPhonemes & operator=(Aws::Utils::Json::JsonView jsonValue)
AddressComponentPhonemes & WithRegion(Aws::Vector< PhonemeTranscription > &&value)
void SetStreet(const Aws::Vector< PhonemeTranscription > &value)
const Aws::Vector< PhonemeTranscription > & GetDistrict() const
const Aws::Vector< PhonemeTranscription > & GetCountry() const
const Aws::Vector< PhonemeTranscription > & GetBlock() const
AddressComponentPhonemes & WithCountry(const Aws::Vector< PhonemeTranscription > &value)
AddressComponentPhonemes & WithDistrict(const Aws::Vector< PhonemeTranscription > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue