AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContactInformation.h
1
6#pragma once
7#include <aws/account/Account_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 Account
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ACCOUNT_API ContactInformation();
38 AWS_ACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAddressLine1() const{ return m_addressLine1; }
46 inline bool AddressLine1HasBeenSet() const { return m_addressLine1HasBeenSet; }
47 inline void SetAddressLine1(const Aws::String& value) { m_addressLine1HasBeenSet = true; m_addressLine1 = value; }
48 inline void SetAddressLine1(Aws::String&& value) { m_addressLine1HasBeenSet = true; m_addressLine1 = std::move(value); }
49 inline void SetAddressLine1(const char* value) { m_addressLine1HasBeenSet = true; m_addressLine1.assign(value); }
50 inline ContactInformation& WithAddressLine1(const Aws::String& value) { SetAddressLine1(value); return *this;}
51 inline ContactInformation& WithAddressLine1(Aws::String&& value) { SetAddressLine1(std::move(value)); return *this;}
52 inline ContactInformation& WithAddressLine1(const char* value) { SetAddressLine1(value); return *this;}
54
56
59 inline const Aws::String& GetAddressLine2() const{ return m_addressLine2; }
60 inline bool AddressLine2HasBeenSet() const { return m_addressLine2HasBeenSet; }
61 inline void SetAddressLine2(const Aws::String& value) { m_addressLine2HasBeenSet = true; m_addressLine2 = value; }
62 inline void SetAddressLine2(Aws::String&& value) { m_addressLine2HasBeenSet = true; m_addressLine2 = std::move(value); }
63 inline void SetAddressLine2(const char* value) { m_addressLine2HasBeenSet = true; m_addressLine2.assign(value); }
64 inline ContactInformation& WithAddressLine2(const Aws::String& value) { SetAddressLine2(value); return *this;}
65 inline ContactInformation& WithAddressLine2(Aws::String&& value) { SetAddressLine2(std::move(value)); return *this;}
66 inline ContactInformation& WithAddressLine2(const char* value) { SetAddressLine2(value); return *this;}
68
70
73 inline const Aws::String& GetAddressLine3() const{ return m_addressLine3; }
74 inline bool AddressLine3HasBeenSet() const { return m_addressLine3HasBeenSet; }
75 inline void SetAddressLine3(const Aws::String& value) { m_addressLine3HasBeenSet = true; m_addressLine3 = value; }
76 inline void SetAddressLine3(Aws::String&& value) { m_addressLine3HasBeenSet = true; m_addressLine3 = std::move(value); }
77 inline void SetAddressLine3(const char* value) { m_addressLine3HasBeenSet = true; m_addressLine3.assign(value); }
78 inline ContactInformation& WithAddressLine3(const Aws::String& value) { SetAddressLine3(value); return *this;}
79 inline ContactInformation& WithAddressLine3(Aws::String&& value) { SetAddressLine3(std::move(value)); return *this;}
80 inline ContactInformation& WithAddressLine3(const char* value) { SetAddressLine3(value); return *this;}
82
84
87 inline const Aws::String& GetCity() const{ return m_city; }
88 inline bool CityHasBeenSet() const { return m_cityHasBeenSet; }
89 inline void SetCity(const Aws::String& value) { m_cityHasBeenSet = true; m_city = value; }
90 inline void SetCity(Aws::String&& value) { m_cityHasBeenSet = true; m_city = std::move(value); }
91 inline void SetCity(const char* value) { m_cityHasBeenSet = true; m_city.assign(value); }
92 inline ContactInformation& WithCity(const Aws::String& value) { SetCity(value); return *this;}
93 inline ContactInformation& WithCity(Aws::String&& value) { SetCity(std::move(value)); return *this;}
94 inline ContactInformation& WithCity(const char* value) { SetCity(value); return *this;}
96
98
102 inline const Aws::String& GetCompanyName() const{ return m_companyName; }
103 inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
104 inline void SetCompanyName(const Aws::String& value) { m_companyNameHasBeenSet = true; m_companyName = value; }
105 inline void SetCompanyName(Aws::String&& value) { m_companyNameHasBeenSet = true; m_companyName = std::move(value); }
106 inline void SetCompanyName(const char* value) { m_companyNameHasBeenSet = true; m_companyName.assign(value); }
107 inline ContactInformation& WithCompanyName(const Aws::String& value) { SetCompanyName(value); return *this;}
108 inline ContactInformation& WithCompanyName(Aws::String&& value) { SetCompanyName(std::move(value)); return *this;}
109 inline ContactInformation& WithCompanyName(const char* value) { SetCompanyName(value); return *this;}
111
113
116 inline const Aws::String& GetCountryCode() const{ return m_countryCode; }
117 inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
118 inline void SetCountryCode(const Aws::String& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; }
119 inline void SetCountryCode(Aws::String&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); }
120 inline void SetCountryCode(const char* value) { m_countryCodeHasBeenSet = true; m_countryCode.assign(value); }
121 inline ContactInformation& WithCountryCode(const Aws::String& value) { SetCountryCode(value); return *this;}
122 inline ContactInformation& WithCountryCode(Aws::String&& value) { SetCountryCode(std::move(value)); return *this;}
123 inline ContactInformation& WithCountryCode(const char* value) { SetCountryCode(value); return *this;}
125
127
130 inline const Aws::String& GetDistrictOrCounty() const{ return m_districtOrCounty; }
131 inline bool DistrictOrCountyHasBeenSet() const { return m_districtOrCountyHasBeenSet; }
132 inline void SetDistrictOrCounty(const Aws::String& value) { m_districtOrCountyHasBeenSet = true; m_districtOrCounty = value; }
133 inline void SetDistrictOrCounty(Aws::String&& value) { m_districtOrCountyHasBeenSet = true; m_districtOrCounty = std::move(value); }
134 inline void SetDistrictOrCounty(const char* value) { m_districtOrCountyHasBeenSet = true; m_districtOrCounty.assign(value); }
135 inline ContactInformation& WithDistrictOrCounty(const Aws::String& value) { SetDistrictOrCounty(value); return *this;}
136 inline ContactInformation& WithDistrictOrCounty(Aws::String&& value) { SetDistrictOrCounty(std::move(value)); return *this;}
137 inline ContactInformation& WithDistrictOrCounty(const char* value) { SetDistrictOrCounty(value); return *this;}
139
141
144 inline const Aws::String& GetFullName() const{ return m_fullName; }
145 inline bool FullNameHasBeenSet() const { return m_fullNameHasBeenSet; }
146 inline void SetFullName(const Aws::String& value) { m_fullNameHasBeenSet = true; m_fullName = value; }
147 inline void SetFullName(Aws::String&& value) { m_fullNameHasBeenSet = true; m_fullName = std::move(value); }
148 inline void SetFullName(const char* value) { m_fullNameHasBeenSet = true; m_fullName.assign(value); }
149 inline ContactInformation& WithFullName(const Aws::String& value) { SetFullName(value); return *this;}
150 inline ContactInformation& WithFullName(Aws::String&& value) { SetFullName(std::move(value)); return *this;}
151 inline ContactInformation& WithFullName(const char* value) { SetFullName(value); return *this;}
153
155
159 inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
160 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
161 inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
162 inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
163 inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
164 inline ContactInformation& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
165 inline ContactInformation& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
166 inline ContactInformation& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
168
170
173 inline const Aws::String& GetPostalCode() const{ return m_postalCode; }
174 inline bool PostalCodeHasBeenSet() const { return m_postalCodeHasBeenSet; }
175 inline void SetPostalCode(const Aws::String& value) { m_postalCodeHasBeenSet = true; m_postalCode = value; }
176 inline void SetPostalCode(Aws::String&& value) { m_postalCodeHasBeenSet = true; m_postalCode = std::move(value); }
177 inline void SetPostalCode(const char* value) { m_postalCodeHasBeenSet = true; m_postalCode.assign(value); }
178 inline ContactInformation& WithPostalCode(const Aws::String& value) { SetPostalCode(value); return *this;}
179 inline ContactInformation& WithPostalCode(Aws::String&& value) { SetPostalCode(std::move(value)); return *this;}
180 inline ContactInformation& WithPostalCode(const char* value) { SetPostalCode(value); return *this;}
182
184
192 inline const Aws::String& GetStateOrRegion() const{ return m_stateOrRegion; }
193 inline bool StateOrRegionHasBeenSet() const { return m_stateOrRegionHasBeenSet; }
194 inline void SetStateOrRegion(const Aws::String& value) { m_stateOrRegionHasBeenSet = true; m_stateOrRegion = value; }
195 inline void SetStateOrRegion(Aws::String&& value) { m_stateOrRegionHasBeenSet = true; m_stateOrRegion = std::move(value); }
196 inline void SetStateOrRegion(const char* value) { m_stateOrRegionHasBeenSet = true; m_stateOrRegion.assign(value); }
197 inline ContactInformation& WithStateOrRegion(const Aws::String& value) { SetStateOrRegion(value); return *this;}
198 inline ContactInformation& WithStateOrRegion(Aws::String&& value) { SetStateOrRegion(std::move(value)); return *this;}
199 inline ContactInformation& WithStateOrRegion(const char* value) { SetStateOrRegion(value); return *this;}
201
203
207 inline const Aws::String& GetWebsiteUrl() const{ return m_websiteUrl; }
208 inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; }
209 inline void SetWebsiteUrl(const Aws::String& value) { m_websiteUrlHasBeenSet = true; m_websiteUrl = value; }
210 inline void SetWebsiteUrl(Aws::String&& value) { m_websiteUrlHasBeenSet = true; m_websiteUrl = std::move(value); }
211 inline void SetWebsiteUrl(const char* value) { m_websiteUrlHasBeenSet = true; m_websiteUrl.assign(value); }
212 inline ContactInformation& WithWebsiteUrl(const Aws::String& value) { SetWebsiteUrl(value); return *this;}
213 inline ContactInformation& WithWebsiteUrl(Aws::String&& value) { SetWebsiteUrl(std::move(value)); return *this;}
214 inline ContactInformation& WithWebsiteUrl(const char* value) { SetWebsiteUrl(value); return *this;}
216 private:
217
218 Aws::String m_addressLine1;
219 bool m_addressLine1HasBeenSet = false;
220
221 Aws::String m_addressLine2;
222 bool m_addressLine2HasBeenSet = false;
223
224 Aws::String m_addressLine3;
225 bool m_addressLine3HasBeenSet = false;
226
227 Aws::String m_city;
228 bool m_cityHasBeenSet = false;
229
230 Aws::String m_companyName;
231 bool m_companyNameHasBeenSet = false;
232
233 Aws::String m_countryCode;
234 bool m_countryCodeHasBeenSet = false;
235
236 Aws::String m_districtOrCounty;
237 bool m_districtOrCountyHasBeenSet = false;
238
239 Aws::String m_fullName;
240 bool m_fullNameHasBeenSet = false;
241
242 Aws::String m_phoneNumber;
243 bool m_phoneNumberHasBeenSet = false;
244
245 Aws::String m_postalCode;
246 bool m_postalCodeHasBeenSet = false;
247
248 Aws::String m_stateOrRegion;
249 bool m_stateOrRegionHasBeenSet = false;
250
251 Aws::String m_websiteUrl;
252 bool m_websiteUrlHasBeenSet = false;
253 };
254
255} // namespace Model
256} // namespace Account
257} // namespace Aws
ContactInformation & WithPhoneNumber(Aws::String &&value)
ContactInformation & WithDistrictOrCounty(const char *value)
ContactInformation & WithCity(Aws::String &&value)
void SetCountryCode(const Aws::String &value)
ContactInformation & WithCountryCode(const char *value)
ContactInformation & WithAddressLine1(const Aws::String &value)
void SetStateOrRegion(const Aws::String &value)
ContactInformation & WithFullName(const char *value)
void SetPostalCode(const Aws::String &value)
const Aws::String & GetPhoneNumber() const
ContactInformation & WithCity(const Aws::String &value)
ContactInformation & WithCountryCode(const Aws::String &value)
ContactInformation & WithStateOrRegion(Aws::String &&value)
const Aws::String & GetCompanyName() const
const Aws::String & GetPostalCode() const
ContactInformation & WithPostalCode(Aws::String &&value)
void SetCompanyName(const Aws::String &value)
ContactInformation & WithDistrictOrCounty(const Aws::String &value)
ContactInformation & WithPhoneNumber(const char *value)
ContactInformation & WithStateOrRegion(const char *value)
const Aws::String & GetWebsiteUrl() const
ContactInformation & WithCompanyName(const Aws::String &value)
void SetFullName(const Aws::String &value)
ContactInformation & WithPostalCode(const Aws::String &value)
ContactInformation & WithAddressLine3(Aws::String &&value)
const Aws::String & GetAddressLine1() const
ContactInformation & WithPhoneNumber(const Aws::String &value)
ContactInformation & WithAddressLine1(Aws::String &&value)
ContactInformation & WithStateOrRegion(const Aws::String &value)
ContactInformation & WithFullName(Aws::String &&value)
ContactInformation & WithAddressLine3(const char *value)
ContactInformation & WithAddressLine1(const char *value)
void SetAddressLine3(const Aws::String &value)
ContactInformation & WithCountryCode(Aws::String &&value)
const Aws::String & GetStateOrRegion() const
ContactInformation & WithWebsiteUrl(const Aws::String &value)
const Aws::String & GetAddressLine3() const
AWS_ACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAddressLine2() const
ContactInformation & WithCity(const char *value)
ContactInformation & WithAddressLine2(Aws::String &&value)
ContactInformation & WithAddressLine2(const char *value)
ContactInformation & WithWebsiteUrl(Aws::String &&value)
const Aws::String & GetDistrictOrCounty() const
ContactInformation & WithAddressLine2(const Aws::String &value)
void SetPhoneNumber(const Aws::String &value)
const Aws::String & GetCountryCode() const
ContactInformation & WithDistrictOrCounty(Aws::String &&value)
ContactInformation & WithCompanyName(Aws::String &&value)
void SetAddressLine2(const Aws::String &value)
ContactInformation & WithWebsiteUrl(const char *value)
AWS_ACCOUNT_API ContactInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
ContactInformation & WithFullName(const Aws::String &value)
ContactInformation & WithPostalCode(const char *value)
void SetDistrictOrCounty(const Aws::String &value)
void SetCity(const Aws::String &value)
void SetAddressLine1(const Aws::String &value)
AWS_ACCOUNT_API ContactInformation(Aws::Utils::Json::JsonView jsonValue)
ContactInformation & WithAddressLine3(const Aws::String &value)
void SetWebsiteUrl(const Aws::String &value)
void SetDistrictOrCounty(Aws::String &&value)
ContactInformation & WithCompanyName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue