AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SuggestHighlights.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/SuggestAddressHighlights.h>
10#include <aws/geo-places/model/Highlight.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GeoPlaces
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_GEOPLACES_API SuggestHighlights();
39 AWS_GEOPLACES_API SuggestHighlights(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::Vector<Highlight>& GetTitle() const{ return m_title; }
50 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
51 inline void SetTitle(const Aws::Vector<Highlight>& value) { m_titleHasBeenSet = true; m_title = value; }
52 inline void SetTitle(Aws::Vector<Highlight>&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
53 inline SuggestHighlights& WithTitle(const Aws::Vector<Highlight>& value) { SetTitle(value); return *this;}
54 inline SuggestHighlights& WithTitle(Aws::Vector<Highlight>&& value) { SetTitle(std::move(value)); return *this;}
55 inline SuggestHighlights& AddTitle(const Highlight& value) { m_titleHasBeenSet = true; m_title.push_back(value); return *this; }
56 inline SuggestHighlights& AddTitle(Highlight&& value) { m_titleHasBeenSet = true; m_title.push_back(std::move(value)); return *this; }
58
60
63 inline const SuggestAddressHighlights& GetAddress() const{ return m_address; }
64 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
65 inline void SetAddress(const SuggestAddressHighlights& value) { m_addressHasBeenSet = true; m_address = value; }
66 inline void SetAddress(SuggestAddressHighlights&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
67 inline SuggestHighlights& WithAddress(const SuggestAddressHighlights& value) { SetAddress(value); return *this;}
68 inline SuggestHighlights& WithAddress(SuggestAddressHighlights&& value) { SetAddress(std::move(value)); return *this;}
70 private:
71
73 bool m_titleHasBeenSet = false;
74
76 bool m_addressHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace GeoPlaces
81} // namespace Aws
void SetTitle(Aws::Vector< Highlight > &&value)
SuggestHighlights & WithAddress(const SuggestAddressHighlights &value)
AWS_GEOPLACES_API SuggestHighlights(Aws::Utils::Json::JsonView jsonValue)
void SetTitle(const Aws::Vector< Highlight > &value)
AWS_GEOPLACES_API SuggestHighlights & operator=(Aws::Utils::Json::JsonView jsonValue)
SuggestHighlights & WithAddress(SuggestAddressHighlights &&value)
void SetAddress(SuggestAddressHighlights &&value)
SuggestHighlights & AddTitle(Highlight &&value)
SuggestHighlights & WithTitle(const Aws::Vector< Highlight > &value)
void SetAddress(const SuggestAddressHighlights &value)
const Aws::Vector< Highlight > & GetTitle() const
const SuggestAddressHighlights & GetAddress() const
SuggestHighlights & WithTitle(Aws::Vector< Highlight > &&value)
SuggestHighlights & AddTitle(const Highlight &value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue