7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/geo-places/GeoPlaces_EXPORTS.h>
40 template <
typename CodeT = Aws::String>
42 m_codeHasBeenSet =
true;
43 m_code = std::forward<CodeT>(value);
45 template <
typename CodeT = Aws::String>
47 SetCode(std::forward<CodeT>(value));
58 template <
typename NameT = Aws::String>
60 m_nameHasBeenSet =
true;
61 m_name = std::forward<NameT>(value);
63 template <
typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
71 bool m_codeHasBeenSet =
false;
74 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