7#include <aws/identitystore/IdentityStore_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace IdentityStore
34 AWS_IDENTITYSTORE_API
Address() =
default;
46 template<
typename StreetAddressT = Aws::String>
47 void SetStreetAddress(StreetAddressT&& value) { m_streetAddressHasBeenSet =
true; m_streetAddress = std::forward<StreetAddressT>(value); }
48 template<
typename StreetAddressT = Aws::String>
58 template<
typename LocalityT = Aws::String>
59 void SetLocality(LocalityT&& value) { m_localityHasBeenSet =
true; m_locality = std::forward<LocalityT>(value); }
60 template<
typename LocalityT = Aws::String>
70 template<
typename RegionT = Aws::String>
71 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
72 template<
typename RegionT = Aws::String>
82 template<
typename PostalCodeT = Aws::String>
83 void SetPostalCode(PostalCodeT&& value) { m_postalCodeHasBeenSet =
true; m_postalCode = std::forward<PostalCodeT>(value); }
84 template<
typename PostalCodeT = Aws::String>
94 template<
typename CountryT = Aws::String>
95 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
96 template<
typename CountryT = Aws::String>
106 template<
typename FormattedT = Aws::String>
107 void SetFormatted(FormattedT&& value) { m_formattedHasBeenSet =
true; m_formatted = std::forward<FormattedT>(value); }
108 template<
typename FormattedT = Aws::String>
118 template<
typename TypeT = Aws::String>
119 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
120 template<
typename TypeT = Aws::String>
131 inline void SetPrimary(
bool value) { m_primaryHasBeenSet =
true; m_primary = value; }
137 bool m_streetAddressHasBeenSet =
false;
140 bool m_localityHasBeenSet =
false;
143 bool m_regionHasBeenSet =
false;
146 bool m_postalCodeHasBeenSet =
false;
149 bool m_countryHasBeenSet =
false;
152 bool m_formattedHasBeenSet =
false;
155 bool m_typeHasBeenSet =
false;
157 bool m_primary{
false};
158 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