AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GremlinQueryStatus.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptunedata/model/QueryEvalStats.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 neptunedata
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_NEPTUNEDATA_API GremlinQueryStatus() = default;
38 AWS_NEPTUNEDATA_API GremlinQueryStatus(Aws::Utils::Json::JsonView jsonValue);
40 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetQueryId() const { return m_queryId; }
48 inline bool QueryIdHasBeenSet() const { return m_queryIdHasBeenSet; }
49 template<typename QueryIdT = Aws::String>
50 void SetQueryId(QueryIdT&& value) { m_queryIdHasBeenSet = true; m_queryId = std::forward<QueryIdT>(value); }
51 template<typename QueryIdT = Aws::String>
52 GremlinQueryStatus& WithQueryId(QueryIdT&& value) { SetQueryId(std::forward<QueryIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetQueryString() const { return m_queryString; }
60 inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; }
61 template<typename QueryStringT = Aws::String>
62 void SetQueryString(QueryStringT&& value) { m_queryStringHasBeenSet = true; m_queryString = std::forward<QueryStringT>(value); }
63 template<typename QueryStringT = Aws::String>
64 GremlinQueryStatus& WithQueryString(QueryStringT&& value) { SetQueryString(std::forward<QueryStringT>(value)); return *this;}
66
68
71 inline const QueryEvalStats& GetQueryEvalStats() const { return m_queryEvalStats; }
72 inline bool QueryEvalStatsHasBeenSet() const { return m_queryEvalStatsHasBeenSet; }
73 template<typename QueryEvalStatsT = QueryEvalStats>
74 void SetQueryEvalStats(QueryEvalStatsT&& value) { m_queryEvalStatsHasBeenSet = true; m_queryEvalStats = std::forward<QueryEvalStatsT>(value); }
75 template<typename QueryEvalStatsT = QueryEvalStats>
76 GremlinQueryStatus& WithQueryEvalStats(QueryEvalStatsT&& value) { SetQueryEvalStats(std::forward<QueryEvalStatsT>(value)); return *this;}
78 private:
79
80 Aws::String m_queryId;
81 bool m_queryIdHasBeenSet = false;
82
83 Aws::String m_queryString;
84 bool m_queryStringHasBeenSet = false;
85
86 QueryEvalStats m_queryEvalStats;
87 bool m_queryEvalStatsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace neptunedata
92} // namespace Aws
GremlinQueryStatus & WithQueryId(QueryIdT &&value)
const QueryEvalStats & GetQueryEvalStats() const
GremlinQueryStatus & WithQueryString(QueryStringT &&value)
AWS_NEPTUNEDATA_API GremlinQueryStatus()=default
void SetQueryEvalStats(QueryEvalStatsT &&value)
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NEPTUNEDATA_API GremlinQueryStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
GremlinQueryStatus & WithQueryEvalStats(QueryEvalStatsT &&value)
AWS_NEPTUNEDATA_API GremlinQueryStatus(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue