AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SuggestQueryResult.h
1
6#pragma once
7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/geo-places/model/QueryType.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
33 {
34 public:
35 AWS_GEOPLACES_API SuggestQueryResult();
36 AWS_GEOPLACES_API SuggestQueryResult(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
50 inline const Aws::String& GetQueryId() const{ return m_queryId; }
51 inline bool QueryIdHasBeenSet() const { return m_queryIdHasBeenSet; }
52 inline void SetQueryId(const Aws::String& value) { m_queryIdHasBeenSet = true; m_queryId = value; }
53 inline void SetQueryId(Aws::String&& value) { m_queryIdHasBeenSet = true; m_queryId = std::move(value); }
54 inline void SetQueryId(const char* value) { m_queryIdHasBeenSet = true; m_queryId.assign(value); }
55 inline SuggestQueryResult& WithQueryId(const Aws::String& value) { SetQueryId(value); return *this;}
56 inline SuggestQueryResult& WithQueryId(Aws::String&& value) { SetQueryId(std::move(value)); return *this;}
57 inline SuggestQueryResult& WithQueryId(const char* value) { SetQueryId(value); return *this;}
59
61
66 inline const QueryType& GetQueryType() const{ return m_queryType; }
67 inline bool QueryTypeHasBeenSet() const { return m_queryTypeHasBeenSet; }
68 inline void SetQueryType(const QueryType& value) { m_queryTypeHasBeenSet = true; m_queryType = value; }
69 inline void SetQueryType(QueryType&& value) { m_queryTypeHasBeenSet = true; m_queryType = std::move(value); }
70 inline SuggestQueryResult& WithQueryType(const QueryType& value) { SetQueryType(value); return *this;}
71 inline SuggestQueryResult& WithQueryType(QueryType&& value) { SetQueryType(std::move(value)); return *this;}
73 private:
74
75 Aws::String m_queryId;
76 bool m_queryIdHasBeenSet = false;
77
78 QueryType m_queryType;
79 bool m_queryTypeHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace GeoPlaces
84} // namespace Aws
AWS_GEOPLACES_API SuggestQueryResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetQueryId(const Aws::String &value)
SuggestQueryResult & WithQueryId(Aws::String &&value)
SuggestQueryResult & WithQueryId(const char *value)
AWS_GEOPLACES_API SuggestQueryResult(Aws::Utils::Json::JsonView jsonValue)
SuggestQueryResult & WithQueryType(const QueryType &value)
void SetQueryType(const QueryType &value)
SuggestQueryResult & WithQueryId(const Aws::String &value)
SuggestQueryResult & WithQueryType(QueryType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue