AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Address.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Chime
22{
23namespace Model
24{
25
31 class Address
32 {
33 public:
34 AWS_CHIME_API Address();
35 AWS_CHIME_API Address(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CHIME_API Address& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetStreetName() const{ return m_streetName; }
45 inline bool StreetNameHasBeenSet() const { return m_streetNameHasBeenSet; }
46 inline void SetStreetName(const Aws::String& value) { m_streetNameHasBeenSet = true; m_streetName = value; }
47 inline void SetStreetName(Aws::String&& value) { m_streetNameHasBeenSet = true; m_streetName = std::move(value); }
48 inline void SetStreetName(const char* value) { m_streetNameHasBeenSet = true; m_streetName.assign(value); }
49 inline Address& WithStreetName(const Aws::String& value) { SetStreetName(value); return *this;}
50 inline Address& WithStreetName(Aws::String&& value) { SetStreetName(std::move(value)); return *this;}
51 inline Address& WithStreetName(const char* value) { SetStreetName(value); return *this;}
53
55
59 inline const Aws::String& GetStreetSuffix() const{ return m_streetSuffix; }
60 inline bool StreetSuffixHasBeenSet() const { return m_streetSuffixHasBeenSet; }
61 inline void SetStreetSuffix(const Aws::String& value) { m_streetSuffixHasBeenSet = true; m_streetSuffix = value; }
62 inline void SetStreetSuffix(Aws::String&& value) { m_streetSuffixHasBeenSet = true; m_streetSuffix = std::move(value); }
63 inline void SetStreetSuffix(const char* value) { m_streetSuffixHasBeenSet = true; m_streetSuffix.assign(value); }
64 inline Address& WithStreetSuffix(const Aws::String& value) { SetStreetSuffix(value); return *this;}
65 inline Address& WithStreetSuffix(Aws::String&& value) { SetStreetSuffix(std::move(value)); return *this;}
66 inline Address& WithStreetSuffix(const char* value) { SetStreetSuffix(value); return *this;}
68
70
74 inline const Aws::String& GetPostDirectional() const{ return m_postDirectional; }
75 inline bool PostDirectionalHasBeenSet() const { return m_postDirectionalHasBeenSet; }
76 inline void SetPostDirectional(const Aws::String& value) { m_postDirectionalHasBeenSet = true; m_postDirectional = value; }
77 inline void SetPostDirectional(Aws::String&& value) { m_postDirectionalHasBeenSet = true; m_postDirectional = std::move(value); }
78 inline void SetPostDirectional(const char* value) { m_postDirectionalHasBeenSet = true; m_postDirectional.assign(value); }
79 inline Address& WithPostDirectional(const Aws::String& value) { SetPostDirectional(value); return *this;}
80 inline Address& WithPostDirectional(Aws::String&& value) { SetPostDirectional(std::move(value)); return *this;}
81 inline Address& WithPostDirectional(const char* value) { SetPostDirectional(value); return *this;}
83
85
89 inline const Aws::String& GetPreDirectional() const{ return m_preDirectional; }
90 inline bool PreDirectionalHasBeenSet() const { return m_preDirectionalHasBeenSet; }
91 inline void SetPreDirectional(const Aws::String& value) { m_preDirectionalHasBeenSet = true; m_preDirectional = value; }
92 inline void SetPreDirectional(Aws::String&& value) { m_preDirectionalHasBeenSet = true; m_preDirectional = std::move(value); }
93 inline void SetPreDirectional(const char* value) { m_preDirectionalHasBeenSet = true; m_preDirectional.assign(value); }
94 inline Address& WithPreDirectional(const Aws::String& value) { SetPreDirectional(value); return *this;}
95 inline Address& WithPreDirectional(Aws::String&& value) { SetPreDirectional(std::move(value)); return *this;}
96 inline Address& WithPreDirectional(const char* value) { SetPreDirectional(value); return *this;}
98
100
103 inline const Aws::String& GetStreetNumber() const{ return m_streetNumber; }
104 inline bool StreetNumberHasBeenSet() const { return m_streetNumberHasBeenSet; }
105 inline void SetStreetNumber(const Aws::String& value) { m_streetNumberHasBeenSet = true; m_streetNumber = value; }
106 inline void SetStreetNumber(Aws::String&& value) { m_streetNumberHasBeenSet = true; m_streetNumber = std::move(value); }
107 inline void SetStreetNumber(const char* value) { m_streetNumberHasBeenSet = true; m_streetNumber.assign(value); }
108 inline Address& WithStreetNumber(const Aws::String& value) { SetStreetNumber(value); return *this;}
109 inline Address& WithStreetNumber(Aws::String&& value) { SetStreetNumber(std::move(value)); return *this;}
110 inline Address& WithStreetNumber(const char* value) { SetStreetNumber(value); return *this;}
112
114
117 inline const Aws::String& GetCity() const{ return m_city; }
118 inline bool CityHasBeenSet() const { return m_cityHasBeenSet; }
119 inline void SetCity(const Aws::String& value) { m_cityHasBeenSet = true; m_city = value; }
120 inline void SetCity(Aws::String&& value) { m_cityHasBeenSet = true; m_city = std::move(value); }
121 inline void SetCity(const char* value) { m_cityHasBeenSet = true; m_city.assign(value); }
122 inline Address& WithCity(const Aws::String& value) { SetCity(value); return *this;}
123 inline Address& WithCity(Aws::String&& value) { SetCity(std::move(value)); return *this;}
124 inline Address& WithCity(const char* value) { SetCity(value); return *this;}
126
128
131 inline const Aws::String& GetState() const{ return m_state; }
132 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
133 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
134 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
135 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
136 inline Address& WithState(const Aws::String& value) { SetState(value); return *this;}
137 inline Address& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
138 inline Address& WithState(const char* value) { SetState(value); return *this;}
140
142
145 inline const Aws::String& GetPostalCode() const{ return m_postalCode; }
146 inline bool PostalCodeHasBeenSet() const { return m_postalCodeHasBeenSet; }
147 inline void SetPostalCode(const Aws::String& value) { m_postalCodeHasBeenSet = true; m_postalCode = value; }
148 inline void SetPostalCode(Aws::String&& value) { m_postalCodeHasBeenSet = true; m_postalCode = std::move(value); }
149 inline void SetPostalCode(const char* value) { m_postalCodeHasBeenSet = true; m_postalCode.assign(value); }
150 inline Address& WithPostalCode(const Aws::String& value) { SetPostalCode(value); return *this;}
151 inline Address& WithPostalCode(Aws::String&& value) { SetPostalCode(std::move(value)); return *this;}
152 inline Address& WithPostalCode(const char* value) { SetPostalCode(value); return *this;}
154
156
159 inline const Aws::String& GetPostalCodePlus4() const{ return m_postalCodePlus4; }
160 inline bool PostalCodePlus4HasBeenSet() const { return m_postalCodePlus4HasBeenSet; }
161 inline void SetPostalCodePlus4(const Aws::String& value) { m_postalCodePlus4HasBeenSet = true; m_postalCodePlus4 = value; }
162 inline void SetPostalCodePlus4(Aws::String&& value) { m_postalCodePlus4HasBeenSet = true; m_postalCodePlus4 = std::move(value); }
163 inline void SetPostalCodePlus4(const char* value) { m_postalCodePlus4HasBeenSet = true; m_postalCodePlus4.assign(value); }
164 inline Address& WithPostalCodePlus4(const Aws::String& value) { SetPostalCodePlus4(value); return *this;}
165 inline Address& WithPostalCodePlus4(Aws::String&& value) { SetPostalCodePlus4(std::move(value)); return *this;}
166 inline Address& WithPostalCodePlus4(const char* value) { SetPostalCodePlus4(value); return *this;}
168
170
173 inline const Aws::String& GetCountry() const{ return m_country; }
174 inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; }
175 inline void SetCountry(const Aws::String& value) { m_countryHasBeenSet = true; m_country = value; }
176 inline void SetCountry(Aws::String&& value) { m_countryHasBeenSet = true; m_country = std::move(value); }
177 inline void SetCountry(const char* value) { m_countryHasBeenSet = true; m_country.assign(value); }
178 inline Address& WithCountry(const Aws::String& value) { SetCountry(value); return *this;}
179 inline Address& WithCountry(Aws::String&& value) { SetCountry(std::move(value)); return *this;}
180 inline Address& WithCountry(const char* value) { SetCountry(value); return *this;}
182 private:
183
184 Aws::String m_streetName;
185 bool m_streetNameHasBeenSet = false;
186
187 Aws::String m_streetSuffix;
188 bool m_streetSuffixHasBeenSet = false;
189
190 Aws::String m_postDirectional;
191 bool m_postDirectionalHasBeenSet = false;
192
193 Aws::String m_preDirectional;
194 bool m_preDirectionalHasBeenSet = false;
195
196 Aws::String m_streetNumber;
197 bool m_streetNumberHasBeenSet = false;
198
199 Aws::String m_city;
200 bool m_cityHasBeenSet = false;
201
202 Aws::String m_state;
203 bool m_stateHasBeenSet = false;
204
205 Aws::String m_postalCode;
206 bool m_postalCodeHasBeenSet = false;
207
208 Aws::String m_postalCodePlus4;
209 bool m_postalCodePlus4HasBeenSet = false;
210
211 Aws::String m_country;
212 bool m_countryHasBeenSet = false;
213 };
214
215} // namespace Model
216} // namespace Chime
217} // namespace Aws
bool PostalCodePlus4HasBeenSet() const
Definition Address.h:160
void SetCountry(const char *value)
Definition Address.h:177
Address & WithStreetSuffix(const Aws::String &value)
Definition Address.h:64
Address & WithPostDirectional(Aws::String &&value)
Definition Address.h:80
void SetStreetSuffix(const char *value)
Definition Address.h:63
Address & WithCity(const Aws::String &value)
Definition Address.h:122
bool PostDirectionalHasBeenSet() const
Definition Address.h:75
AWS_CHIME_API Address & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PostalCodeHasBeenSet() const
Definition Address.h:146
Address & WithPostalCodePlus4(Aws::String &&value)
Definition Address.h:165
void SetCity(Aws::String &&value)
Definition Address.h:120
AWS_CHIME_API Address(Aws::Utils::Json::JsonView jsonValue)
Address & WithState(const char *value)
Definition Address.h:138
Address & WithState(Aws::String &&value)
Definition Address.h:137
bool StateHasBeenSet() const
Definition Address.h:132
void SetStreetNumber(Aws::String &&value)
Definition Address.h:106
void SetPostDirectional(const char *value)
Definition Address.h:78
const Aws::String & GetPostDirectional() const
Definition Address.h:74
Address & WithPostalCode(const Aws::String &value)
Definition Address.h:150
void SetPostDirectional(Aws::String &&value)
Definition Address.h:77
Address & WithCity(Aws::String &&value)
Definition Address.h:123
const Aws::String & GetStreetSuffix() const
Definition Address.h:59
Address & WithCountry(const char *value)
Definition Address.h:180
Address & WithPostDirectional(const Aws::String &value)
Definition Address.h:79
Address & WithStreetNumber(const char *value)
Definition Address.h:110
Address & WithStreetName(const char *value)
Definition Address.h:51
Address & WithPostalCode(const char *value)
Definition Address.h:152
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCity() const
Definition Address.h:117
const Aws::String & GetStreetNumber() const
Definition Address.h:103
void SetCity(const Aws::String &value)
Definition Address.h:119
void SetCountry(const Aws::String &value)
Definition Address.h:175
Address & WithStreetNumber(Aws::String &&value)
Definition Address.h:109
Address & WithPreDirectional(Aws::String &&value)
Definition Address.h:95
void SetStreetNumber(const char *value)
Definition Address.h:107
Address & WithState(const Aws::String &value)
Definition Address.h:136
void SetStreetNumber(const Aws::String &value)
Definition Address.h:105
void SetPostalCode(const Aws::String &value)
Definition Address.h:147
bool CountryHasBeenSet() const
Definition Address.h:174
Address & WithStreetName(Aws::String &&value)
Definition Address.h:50
Address & WithPostalCodePlus4(const Aws::String &value)
Definition Address.h:164
Address & WithPreDirectional(const char *value)
Definition Address.h:96
Address & WithCity(const char *value)
Definition Address.h:124
void SetPostDirectional(const Aws::String &value)
Definition Address.h:76
void SetPostalCodePlus4(const Aws::String &value)
Definition Address.h:161
void SetStreetSuffix(Aws::String &&value)
Definition Address.h:62
void SetState(Aws::String &&value)
Definition Address.h:134
bool PreDirectionalHasBeenSet() const
Definition Address.h:90
Address & WithPostDirectional(const char *value)
Definition Address.h:81
void SetPostalCodePlus4(const char *value)
Definition Address.h:163
bool StreetSuffixHasBeenSet() const
Definition Address.h:60
Address & WithPreDirectional(const Aws::String &value)
Definition Address.h:94
Address & WithStreetNumber(const Aws::String &value)
Definition Address.h:108
void SetStreetSuffix(const Aws::String &value)
Definition Address.h:61
Address & WithStreetSuffix(const char *value)
Definition Address.h:66
const Aws::String & GetPostalCode() const
Definition Address.h:145
void SetStreetName(Aws::String &&value)
Definition Address.h:47
Address & WithStreetName(const Aws::String &value)
Definition Address.h:49
void SetPostalCode(const char *value)
Definition Address.h:149
void SetPostalCodePlus4(Aws::String &&value)
Definition Address.h:162
bool CityHasBeenSet() const
Definition Address.h:118
void SetCity(const char *value)
Definition Address.h:121
void SetPreDirectional(const char *value)
Definition Address.h:93
void SetState(const Aws::String &value)
Definition Address.h:133
const Aws::String & GetPostalCodePlus4() const
Definition Address.h:159
Address & WithPostalCodePlus4(const char *value)
Definition Address.h:166
void SetPostalCode(Aws::String &&value)
Definition Address.h:148
const Aws::String & GetState() const
Definition Address.h:131
void SetCountry(Aws::String &&value)
Definition Address.h:176
Address & WithCountry(const Aws::String &value)
Definition Address.h:178
bool StreetNumberHasBeenSet() const
Definition Address.h:104
const Aws::String & GetPreDirectional() const
Definition Address.h:89
void SetStreetName(const Aws::String &value)
Definition Address.h:46
void SetStreetName(const char *value)
Definition Address.h:48
Address & WithStreetSuffix(Aws::String &&value)
Definition Address.h:65
Address & WithCountry(Aws::String &&value)
Definition Address.h:179
bool StreetNameHasBeenSet() const
Definition Address.h:45
Address & WithPostalCode(Aws::String &&value)
Definition Address.h:151
const Aws::String & GetStreetName() const
Definition Address.h:44
void SetState(const char *value)
Definition Address.h:135
const Aws::String & GetCountry() const
Definition Address.h:173
void SetPreDirectional(const Aws::String &value)
Definition Address.h:91
void SetPreDirectional(Aws::String &&value)
Definition Address.h:92
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue