AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
SuggestAddressHighlights.h
1
6#pragma once
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>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GeoPlaces {
21namespace Model {
22
31 public:
32 AWS_GEOPLACES_API SuggestAddressHighlights() = default;
35 AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
44 inline const Aws::Vector<Highlight>& GetLabel() const { return m_label; }
45 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
46 template <typename LabelT = Aws::Vector<Highlight>>
47 void SetLabel(LabelT&& value) {
48 m_labelHasBeenSet = true;
49 m_label = std::forward<LabelT>(value);
50 }
51 template <typename LabelT = Aws::Vector<Highlight>>
53 SetLabel(std::forward<LabelT>(value));
54 return *this;
55 }
56 template <typename LabelT = Highlight>
58 m_labelHasBeenSet = true;
59 m_label.emplace_back(std::forward<LabelT>(value));
60 return *this;
61 }
63 private:
65 bool m_labelHasBeenSet = false;
66};
67
68} // namespace Model
69} // namespace GeoPlaces
70} // namespace Aws
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOPLACES_API SuggestAddressHighlights(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Highlight > & GetLabel() const
SuggestAddressHighlights & AddLabel(LabelT &&value)
AWS_GEOPLACES_API SuggestAddressHighlights & operator=(Aws::Utils::Json::JsonView jsonValue)
SuggestAddressHighlights & WithLabel(LabelT &&value)
AWS_GEOPLACES_API SuggestAddressHighlights()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue