AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename CountryT = Aws::Vector<PhonemeTranscription>>
50 void SetCountry(CountryT&& value) { m_countryHasBeenSet = true; m_country = std::forward<CountryT>(value); }
51 template<typename CountryT = Aws::Vector<PhonemeTranscription>>
52 AddressComponentPhonemes& WithCountry(CountryT&& value) { SetCountry(std::forward<CountryT>(value)); return *this;}
53 template<typename CountryT = PhonemeTranscription>
54 AddressComponentPhonemes& AddCountry(CountryT&& value) { m_countryHasBeenSet = true; m_country.emplace_back(std::forward<CountryT>(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 template<typename RegionT = Aws::Vector<PhonemeTranscription>>
64 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
65 template<typename RegionT = Aws::Vector<PhonemeTranscription>>
66 AddressComponentPhonemes& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
67 template<typename RegionT = PhonemeTranscription>
68 AddressComponentPhonemes& AddRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region.emplace_back(std::forward<RegionT>(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 template<typename SubRegionT = Aws::Vector<PhonemeTranscription>>
79 void SetSubRegion(SubRegionT&& value) { m_subRegionHasBeenSet = true; m_subRegion = std::forward<SubRegionT>(value); }
80 template<typename SubRegionT = Aws::Vector<PhonemeTranscription>>
81 AddressComponentPhonemes& WithSubRegion(SubRegionT&& value) { SetSubRegion(std::forward<SubRegionT>(value)); return *this;}
82 template<typename SubRegionT = PhonemeTranscription>
83 AddressComponentPhonemes& AddSubRegion(SubRegionT&& value) { m_subRegionHasBeenSet = true; m_subRegion.emplace_back(std::forward<SubRegionT>(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 template<typename LocalityT = Aws::Vector<PhonemeTranscription>>
94 void SetLocality(LocalityT&& value) { m_localityHasBeenSet = true; m_locality = std::forward<LocalityT>(value); }
95 template<typename LocalityT = Aws::Vector<PhonemeTranscription>>
96 AddressComponentPhonemes& WithLocality(LocalityT&& value) { SetLocality(std::forward<LocalityT>(value)); return *this;}
97 template<typename LocalityT = PhonemeTranscription>
98 AddressComponentPhonemes& AddLocality(LocalityT&& value) { m_localityHasBeenSet = true; m_locality.emplace_back(std::forward<LocalityT>(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 template<typename DistrictT = Aws::Vector<PhonemeTranscription>>
109 void SetDistrict(DistrictT&& value) { m_districtHasBeenSet = true; m_district = std::forward<DistrictT>(value); }
110 template<typename DistrictT = Aws::Vector<PhonemeTranscription>>
111 AddressComponentPhonemes& WithDistrict(DistrictT&& value) { SetDistrict(std::forward<DistrictT>(value)); return *this;}
112 template<typename DistrictT = PhonemeTranscription>
113 AddressComponentPhonemes& AddDistrict(DistrictT&& value) { m_districtHasBeenSet = true; m_district.emplace_back(std::forward<DistrictT>(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 template<typename SubDistrictT = Aws::Vector<PhonemeTranscription>>
124 void SetSubDistrict(SubDistrictT&& value) { m_subDistrictHasBeenSet = true; m_subDistrict = std::forward<SubDistrictT>(value); }
125 template<typename SubDistrictT = Aws::Vector<PhonemeTranscription>>
126 AddressComponentPhonemes& WithSubDistrict(SubDistrictT&& value) { SetSubDistrict(std::forward<SubDistrictT>(value)); return *this;}
127 template<typename SubDistrictT = PhonemeTranscription>
128 AddressComponentPhonemes& AddSubDistrict(SubDistrictT&& value) { m_subDistrictHasBeenSet = true; m_subDistrict.emplace_back(std::forward<SubDistrictT>(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 template<typename BlockT = Aws::Vector<PhonemeTranscription>>
138 void SetBlock(BlockT&& value) { m_blockHasBeenSet = true; m_block = std::forward<BlockT>(value); }
139 template<typename BlockT = Aws::Vector<PhonemeTranscription>>
140 AddressComponentPhonemes& WithBlock(BlockT&& value) { SetBlock(std::forward<BlockT>(value)); return *this;}
141 template<typename BlockT = PhonemeTranscription>
142 AddressComponentPhonemes& AddBlock(BlockT&& value) { m_blockHasBeenSet = true; m_block.emplace_back(std::forward<BlockT>(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 template<typename SubBlockT = Aws::Vector<PhonemeTranscription>>
152 void SetSubBlock(SubBlockT&& value) { m_subBlockHasBeenSet = true; m_subBlock = std::forward<SubBlockT>(value); }
153 template<typename SubBlockT = Aws::Vector<PhonemeTranscription>>
154 AddressComponentPhonemes& WithSubBlock(SubBlockT&& value) { SetSubBlock(std::forward<SubBlockT>(value)); return *this;}
155 template<typename SubBlockT = PhonemeTranscription>
156 AddressComponentPhonemes& AddSubBlock(SubBlockT&& value) { m_subBlockHasBeenSet = true; m_subBlock.emplace_back(std::forward<SubBlockT>(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 template<typename StreetT = Aws::Vector<PhonemeTranscription>>
166 void SetStreet(StreetT&& value) { m_streetHasBeenSet = true; m_street = std::forward<StreetT>(value); }
167 template<typename StreetT = Aws::Vector<PhonemeTranscription>>
168 AddressComponentPhonemes& WithStreet(StreetT&& value) { SetStreet(std::forward<StreetT>(value)); return *this;}
169 template<typename StreetT = PhonemeTranscription>
170 AddressComponentPhonemes& AddStreet(StreetT&& value) { m_streetHasBeenSet = true; m_street.emplace_back(std::forward<StreetT>(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 & 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