7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename CodeT = Aws::String>
47 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
48 template<
typename CodeT = Aws::String>
58 template<
typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
60 template<
typename NameT = Aws::String>
66 bool m_codeHasBeenSet =
false;
69 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