AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
36 AWS_GEOPLACES_API SuggestQueryResult(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
51 inline const Aws::String& GetQueryId() const { return m_queryId; }
52 inline bool QueryIdHasBeenSet() const { return m_queryIdHasBeenSet; }
53 template<typename QueryIdT = Aws::String>
54 void SetQueryId(QueryIdT&& value) { m_queryIdHasBeenSet = true; m_queryId = std::forward<QueryIdT>(value); }
55 template<typename QueryIdT = Aws::String>
56 SuggestQueryResult& WithQueryId(QueryIdT&& value) { SetQueryId(std::forward<QueryIdT>(value)); return *this;}
58
60
65 inline QueryType GetQueryType() const { return m_queryType; }
66 inline bool QueryTypeHasBeenSet() const { return m_queryTypeHasBeenSet; }
67 inline void SetQueryType(QueryType value) { m_queryTypeHasBeenSet = true; m_queryType = value; }
68 inline SuggestQueryResult& WithQueryType(QueryType value) { SetQueryType(value); return *this;}
70 private:
71
72 Aws::String m_queryId;
73 bool m_queryIdHasBeenSet = false;
74
75 QueryType m_queryType{QueryType::NOT_SET};
76 bool m_queryTypeHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace GeoPlaces
81} // namespace Aws
AWS_GEOPLACES_API SuggestQueryResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
SuggestQueryResult & WithQueryId(QueryIdT &&value)
AWS_GEOPLACES_API SuggestQueryResult(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOPLACES_API SuggestQueryResult()=default
SuggestQueryResult & WithQueryType(QueryType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue