AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GremlinQueryStatus.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptunedata/Neptunedata_EXPORTS.h>
9#include <aws/neptunedata/model/QueryEvalStats.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace neptunedata {
21namespace Model {
22
31 public:
32 AWS_NEPTUNEDATA_API GremlinQueryStatus() = default;
33 AWS_NEPTUNEDATA_API GremlinQueryStatus(Aws::Utils::Json::JsonView jsonValue);
35 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetQueryId() const { return m_queryId; }
42 inline bool QueryIdHasBeenSet() const { return m_queryIdHasBeenSet; }
43 template <typename QueryIdT = Aws::String>
44 void SetQueryId(QueryIdT&& value) {
45 m_queryIdHasBeenSet = true;
46 m_queryId = std::forward<QueryIdT>(value);
47 }
48 template <typename QueryIdT = Aws::String>
49 GremlinQueryStatus& WithQueryId(QueryIdT&& value) {
50 SetQueryId(std::forward<QueryIdT>(value));
51 return *this;
52 }
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) {
63 m_queryStringHasBeenSet = true;
64 m_queryString = std::forward<QueryStringT>(value);
65 }
66 template <typename QueryStringT = Aws::String>
67 GremlinQueryStatus& WithQueryString(QueryStringT&& value) {
68 SetQueryString(std::forward<QueryStringT>(value));
69 return *this;
70 }
72
74
77 inline const QueryEvalStats& GetQueryEvalStats() const { return m_queryEvalStats; }
78 inline bool QueryEvalStatsHasBeenSet() const { return m_queryEvalStatsHasBeenSet; }
79 template <typename QueryEvalStatsT = QueryEvalStats>
80 void SetQueryEvalStats(QueryEvalStatsT&& value) {
81 m_queryEvalStatsHasBeenSet = true;
82 m_queryEvalStats = std::forward<QueryEvalStatsT>(value);
83 }
84 template <typename QueryEvalStatsT = QueryEvalStats>
85 GremlinQueryStatus& WithQueryEvalStats(QueryEvalStatsT&& value) {
86 SetQueryEvalStats(std::forward<QueryEvalStatsT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_queryId;
92
93 Aws::String m_queryString;
94
95 QueryEvalStats m_queryEvalStats;
96 bool m_queryIdHasBeenSet = false;
97 bool m_queryStringHasBeenSet = false;
98 bool m_queryEvalStatsHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace neptunedata
103} // 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