7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/geo-places/model/PostalAuthority.h>
10#include <aws/geo-places/model/PostalCodeType.h>
11#include <aws/geo-places/model/UspsZip.h>
12#include <aws/geo-places/model/UspsZipPlus4.h>
55 inline void SetPostalCode(
const char* value) { m_postalCodeHasBeenSet =
true; m_postalCode.assign(value); }
93 inline void SetUspsZip(
const UspsZip& value) { m_uspsZipHasBeenSet =
true; m_uspsZip = value; }
94 inline void SetUspsZip(
UspsZip&& value) { m_uspsZipHasBeenSet =
true; m_uspsZip = std::move(value); }
113 bool m_postalCodeHasBeenSet =
false;
116 bool m_postalAuthorityHasBeenSet =
false;
119 bool m_postalCodeTypeHasBeenSet =
false;
122 bool m_uspsZipHasBeenSet =
false;
125 bool m_uspsZipPlus4HasBeenSet =
false;
PostalCodeDetails & WithPostalCode(Aws::String &&value)
const PostalCodeType & GetPostalCodeType() const
const Aws::String & GetPostalCode() const
PostalCodeDetails & WithUspsZip(UspsZip &&value)
AWS_GEOPLACES_API PostalCodeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
PostalCodeDetails & WithPostalAuthority(PostalAuthority &&value)
const UspsZipPlus4 & GetUspsZipPlus4() const
void SetUspsZipPlus4(UspsZipPlus4 &&value)
void SetUspsZipPlus4(const UspsZipPlus4 &value)
bool PostalCodeHasBeenSet() const
PostalCodeDetails & WithUspsZip(const UspsZip &value)
const PostalAuthority & GetPostalAuthority() const
const UspsZip & GetUspsZip() const
bool UspsZipPlus4HasBeenSet() const
void SetPostalAuthority(const PostalAuthority &value)
void SetUspsZip(UspsZip &&value)
PostalCodeDetails & WithPostalAuthority(const PostalAuthority &value)
bool PostalAuthorityHasBeenSet() const
void SetPostalCode(const char *value)
void SetPostalCodeType(PostalCodeType &&value)
PostalCodeDetails & WithPostalCode(const char *value)
void SetUspsZip(const UspsZip &value)
PostalCodeDetails & WithUspsZipPlus4(const UspsZipPlus4 &value)
void SetPostalCodeType(const PostalCodeType &value)
PostalCodeDetails & WithUspsZipPlus4(UspsZipPlus4 &&value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOPLACES_API PostalCodeDetails(Aws::Utils::Json::JsonView jsonValue)
bool PostalCodeTypeHasBeenSet() const
PostalCodeDetails & WithPostalCodeType(const PostalCodeType &value)
void SetPostalCode(Aws::String &&value)
PostalCodeDetails & WithPostalCode(const Aws::String &value)
void SetPostalCode(const Aws::String &value)
PostalCodeDetails & WithPostalCodeType(PostalCodeType &&value)
bool UspsZipHasBeenSet() const
AWS_GEOPLACES_API PostalCodeDetails()
void SetPostalAuthority(PostalAuthority &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue