AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
SuggestAddressHighlights.h
1
6#pragma once
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>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GeoPlaces
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_GEOPLACES_API SuggestAddressHighlights() = default;
40 AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const Aws::Vector<Highlight>& GetLabel() const { return m_label; }
51 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
52 template<typename LabelT = Aws::Vector<Highlight>>
53 void SetLabel(LabelT&& value) { m_labelHasBeenSet = true; m_label = std::forward<LabelT>(value); }
54 template<typename LabelT = Aws::Vector<Highlight>>
55 SuggestAddressHighlights& WithLabel(LabelT&& value) { SetLabel(std::forward<LabelT>(value)); return *this;}
56 template<typename LabelT = Highlight>
57 SuggestAddressHighlights& AddLabel(LabelT&& value) { m_labelHasBeenSet = true; m_label.emplace_back(std::forward<LabelT>(value)); return *this; }
59 private:
60
62 bool m_labelHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace GeoPlaces
67} // 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