7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/geo-places/GeoPlaces_EXPORTS.h>
30 AWS_GEOPLACES_API
Region() =
default;
45 template <
typename CodeT = Aws::String>
47 m_codeHasBeenSet =
true;
48 m_code = std::forward<CodeT>(value);
50 template <
typename CodeT = Aws::String>
52 SetCode(std::forward<CodeT>(value));
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
79 bool m_codeHasBeenSet =
false;
80 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