7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-places/model/Highlight.h>
49 template<
typename CodeT = Aws::Vector<Highlight>>
50 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
51 template<
typename CodeT = Aws::Vector<Highlight>>
53 template<
typename CodeT = Highlight>
54 RegionHighlights&
AddCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code.emplace_back(std::forward<CodeT>(value));
return *
this; }
64 template<
typename NameT = Aws::Vector<Highlight>>
65 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
66 template<
typename NameT = Aws::Vector<Highlight>>
68 template<
typename NameT = Highlight>
69 RegionHighlights&
AddName(NameT&& value) { m_nameHasBeenSet =
true; m_name.emplace_back(std::forward<NameT>(value));
return *
this; }
74 bool m_codeHasBeenSet =
false;
77 bool m_nameHasBeenSet =
false;
bool NameHasBeenSet() const
bool CodeHasBeenSet() const
const Aws::Vector< Highlight > & GetCode() const
void SetName(NameT &&value)
RegionHighlights & AddCode(CodeT &&value)
AWS_GEOPLACES_API RegionHighlights()=default
void SetCode(CodeT &&value)
RegionHighlights & AddName(NameT &&value)
AWS_GEOPLACES_API RegionHighlights(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Highlight > & GetName() const
RegionHighlights & WithName(NameT &&value)
AWS_GEOPLACES_API RegionHighlights & operator=(Aws::Utils::Json::JsonView jsonValue)
RegionHighlights & WithCode(CodeT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue