7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/geo-places/GeoPlaces_EXPORTS.h>
30 AWS_GEOPLACES_API
Region() =
default;
42 template <
typename CodeT = Aws::String>
44 m_codeHasBeenSet =
true;
45 m_code = std::forward<CodeT>(value);
47 template <
typename CodeT = Aws::String>
49 SetCode(std::forward<CodeT>(value));
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
76 bool m_codeHasBeenSet =
false;
77 bool m_nameHasBeenSet =
false;
bool CodeHasBeenSet() const
const Aws::String & GetName() const
const Aws::String & GetCode() const
AWS_GEOPLACES_API Region()=default
bool NameHasBeenSet() const
void SetName(NameT &&value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
Region & WithName(NameT &&value)
AWS_GEOPLACES_API Region & operator=(Aws::Utils::Json::JsonView jsonValue)
Region & WithCode(CodeT &&value)
AWS_GEOPLACES_API Region(Aws::Utils::Json::JsonView jsonValue)
void SetCode(CodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue