AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLabel(const Aws::Vector<Highlight>& value) { m_labelHasBeenSet = true; m_label = value; }
53 inline void SetLabel(Aws::Vector<Highlight>&& value) { m_labelHasBeenSet = true; m_label = std::move(value); }
54 inline SuggestAddressHighlights& WithLabel(const Aws::Vector<Highlight>& value) { SetLabel(value); return *this;}
55 inline SuggestAddressHighlights& WithLabel(Aws::Vector<Highlight>&& value) { SetLabel(std::move(value)); return *this;}
56 inline SuggestAddressHighlights& AddLabel(const Highlight& value) { m_labelHasBeenSet = true; m_label.push_back(value); return *this; }
57 inline SuggestAddressHighlights& AddLabel(Highlight&& value) { m_labelHasBeenSet = true; m_label.push_back(std::move(value)); return *this; }
59 private:
60
62 bool m_labelHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace GeoPlaces
67} // namespace Aws
void SetLabel(Aws::Vector< Highlight > &&value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOPLACES_API SuggestAddressHighlights(Aws::Utils::Json::JsonView jsonValue)
SuggestAddressHighlights & AddLabel(Highlight &&value)
void SetLabel(const Aws::Vector< Highlight > &value)
const Aws::Vector< Highlight > & GetLabel() const
SuggestAddressHighlights & AddLabel(const Highlight &value)
SuggestAddressHighlights & WithLabel(Aws::Vector< Highlight > &&value)
SuggestAddressHighlights & WithLabel(const Aws::Vector< Highlight > &value)
AWS_GEOPLACES_API SuggestAddressHighlights & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue