AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetQueryId(const Aws::String& value) { m_queryIdHasBeenSet = true; m_queryId = value; }
50 inline void SetQueryId(Aws::String&& value) { m_queryIdHasBeenSet = true; m_queryId = std::move(value); }
51 inline void SetQueryId(const char* value) { m_queryIdHasBeenSet = true; m_queryId.assign(value); }
52 inline GremlinQueryStatus& WithQueryId(const Aws::String& value) { SetQueryId(value); return *this;}
53 inline GremlinQueryStatus& WithQueryId(Aws::String&& value) { SetQueryId(std::move(value)); return *this;}
54 inline GremlinQueryStatus& WithQueryId(const char* value) { SetQueryId(value); return *this;}
56
58
61 inline const Aws::String& GetQueryString() const{ return m_queryString; }
62 inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; }
63 inline void SetQueryString(const Aws::String& value) { m_queryStringHasBeenSet = true; m_queryString = value; }
64 inline void SetQueryString(Aws::String&& value) { m_queryStringHasBeenSet = true; m_queryString = std::move(value); }
65 inline void SetQueryString(const char* value) { m_queryStringHasBeenSet = true; m_queryString.assign(value); }
66 inline GremlinQueryStatus& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;}
67 inline GremlinQueryStatus& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;}
68 inline GremlinQueryStatus& WithQueryString(const char* value) { SetQueryString(value); return *this;}
70
72
75 inline const QueryEvalStats& GetQueryEvalStats() const{ return m_queryEvalStats; }
76 inline bool QueryEvalStatsHasBeenSet() const { return m_queryEvalStatsHasBeenSet; }
77 inline void SetQueryEvalStats(const QueryEvalStats& value) { m_queryEvalStatsHasBeenSet = true; m_queryEvalStats = value; }
78 inline void SetQueryEvalStats(QueryEvalStats&& value) { m_queryEvalStatsHasBeenSet = true; m_queryEvalStats = std::move(value); }
79 inline GremlinQueryStatus& WithQueryEvalStats(const QueryEvalStats& value) { SetQueryEvalStats(value); return *this;}
80 inline GremlinQueryStatus& WithQueryEvalStats(QueryEvalStats&& value) { SetQueryEvalStats(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_queryId;
85 bool m_queryIdHasBeenSet = false;
86
87 Aws::String m_queryString;
88 bool m_queryStringHasBeenSet = false;
89
90 QueryEvalStats m_queryEvalStats;
91 bool m_queryEvalStatsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace neptunedata
96} // namespace Aws
void SetQueryId(const Aws::String &value)
GremlinQueryStatus & WithQueryEvalStats(const QueryEvalStats &value)
GremlinQueryStatus & WithQueryId(const Aws::String &value)
void SetQueryString(const Aws::String &value)
GremlinQueryStatus & WithQueryId(const char *value)
const QueryEvalStats & GetQueryEvalStats() const
GremlinQueryStatus & WithQueryString(Aws::String &&value)
GremlinQueryStatus & WithQueryString(const char *value)
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
GremlinQueryStatus & WithQueryEvalStats(QueryEvalStats &&value)
AWS_NEPTUNEDATA_API GremlinQueryStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
GremlinQueryStatus & WithQueryString(const Aws::String &value)
void SetQueryEvalStats(const QueryEvalStats &value)
AWS_NEPTUNEDATA_API GremlinQueryStatus(Aws::Utils::Json::JsonView jsonValue)
GremlinQueryStatus & WithQueryId(Aws::String &&value)
void SetQueryEvalStats(QueryEvalStats &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue