7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/geo-places/GeoPlaces_EXPORTS.h>
43 template <
typename CodeT = Aws::String>
45 m_codeHasBeenSet =
true;
46 m_code = std::forward<CodeT>(value);
48 template <
typename CodeT = Aws::String>
50 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;
const Aws::String & GetName() const
SubRegion & WithName(NameT &&value)
AWS_GEOPLACES_API SubRegion(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCode() const
bool CodeHasBeenSet() const
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
bool NameHasBeenSet() const
AWS_GEOPLACES_API SubRegion()=default
void SetName(NameT &&value)
AWS_GEOPLACES_API SubRegion & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCode(CodeT &&value)
SubRegion & WithCode(CodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue