7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-places/GeoPlaces_EXPORTS.h>
9#include <aws/geo-places/model/Highlight.h>
43 template <
typename CodeT = Aws::Vector<Highlight>>
45 m_codeHasBeenSet =
true;
46 m_code = std::forward<CodeT>(value);
48 template <
typename CodeT = Aws::Vector<Highlight>>
50 SetCode(std::forward<CodeT>(value));
53 template <
typename CodeT = Highlight>
55 m_codeHasBeenSet =
true;
56 m_code.emplace_back(std::forward<CodeT>(value));
68 template <
typename NameT = Aws::Vector<Highlight>>
70 m_nameHasBeenSet =
true;
71 m_name = std::forward<NameT>(value);
73 template <
typename NameT = Aws::Vector<Highlight>>
75 SetName(std::forward<NameT>(value));
78 template <
typename NameT = Highlight>
80 m_nameHasBeenSet =
true;
81 m_name.emplace_back(std::forward<NameT>(value));
89 bool m_codeHasBeenSet =
false;
90 bool m_nameHasBeenSet =
false;
void SetCode(CodeT &&value)
const Aws::Vector< Highlight > & GetName() const
bool CodeHasBeenSet() const
AWS_GEOPLACES_API SubRegionHighlights()=default
SubRegionHighlights & AddName(NameT &&value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
SubRegionHighlights & WithName(NameT &&value)
AWS_GEOPLACES_API SubRegionHighlights(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOPLACES_API SubRegionHighlights & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Highlight > & GetCode() const
SubRegionHighlights & AddCode(CodeT &&value)
bool NameHasBeenSet() const
SubRegionHighlights & WithCode(CodeT &&value)
void SetName(NameT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue