7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/identitystore/IdentityStore_EXPORTS.h>
19namespace IdentityStore {
29 AWS_IDENTITYSTORE_API
Address() =
default;
40 template <
typename StreetAddressT = Aws::String>
42 m_streetAddressHasBeenSet =
true;
43 m_streetAddress = std::forward<StreetAddressT>(value);
45 template <
typename StreetAddressT = Aws::String>
58 template <
typename LocalityT = Aws::String>
60 m_localityHasBeenSet =
true;
61 m_locality = std::forward<LocalityT>(value);
63 template <
typename LocalityT = Aws::String>
76 template <
typename RegionT = Aws::String>
78 m_regionHasBeenSet =
true;
79 m_region = std::forward<RegionT>(value);
81 template <
typename RegionT = Aws::String>
94 template <
typename PostalCodeT = Aws::String>
96 m_postalCodeHasBeenSet =
true;
97 m_postalCode = std::forward<PostalCodeT>(value);
99 template <
typename PostalCodeT = Aws::String>
112 template <
typename CountryT = Aws::String>
114 m_countryHasBeenSet =
true;
115 m_country = std::forward<CountryT>(value);
117 template <
typename CountryT = Aws::String>
130 template <
typename FormattedT = Aws::String>
132 m_formattedHasBeenSet =
true;
133 m_formatted = std::forward<FormattedT>(value);
135 template <
typename FormattedT = Aws::String>
148 template <
typename TypeT = Aws::String>
150 m_typeHasBeenSet =
true;
151 m_type = std::forward<TypeT>(value);
153 template <
typename TypeT = Aws::String>
155 SetType(std::forward<TypeT>(value));
168 m_primaryHasBeenSet =
true;
191 bool m_primary{
false};
192 bool m_streetAddressHasBeenSet =
false;
193 bool m_localityHasBeenSet =
false;
194 bool m_regionHasBeenSet =
false;
195 bool m_postalCodeHasBeenSet =
false;
196 bool m_countryHasBeenSet =
false;
197 bool m_formattedHasBeenSet =
false;
198 bool m_typeHasBeenSet =
false;
199 bool m_primaryHasBeenSet =
false;
const Aws::String & GetCountry() const
void SetPostalCode(PostalCodeT &&value)
Address & WithFormatted(FormattedT &&value)
AWS_IDENTITYSTORE_API Address(Aws::Utils::Json::JsonView jsonValue)
AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const
bool LocalityHasBeenSet() const
void SetType(TypeT &&value)
bool FormattedHasBeenSet() const
Address & WithPrimary(bool value)
AWS_IDENTITYSTORE_API Address()=default
AWS_IDENTITYSTORE_API Address & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLocality() const
Address & WithStreetAddress(StreetAddressT &&value)
const Aws::String & GetFormatted() const
const Aws::String & GetType() const
void SetPrimary(bool value)
bool RegionHasBeenSet() const
void SetRegion(RegionT &&value)
Address & WithLocality(LocalityT &&value)
bool PostalCodeHasBeenSet() const
const Aws::String & GetPostalCode() const
Address & WithType(TypeT &&value)
bool StreetAddressHasBeenSet() const
void SetLocality(LocalityT &&value)
void SetFormatted(FormattedT &&value)
void SetCountry(CountryT &&value)
bool CountryHasBeenSet() const
const Aws::String & GetRegion() const
bool PrimaryHasBeenSet() const
Address & WithPostalCode(PostalCodeT &&value)
Address & WithRegion(RegionT &&value)
Address & WithCountry(CountryT &&value)
const Aws::String & GetStreetAddress() const
void SetStreetAddress(StreetAddressT &&value)
bool TypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue