AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueryEvalStats.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/core/utils/Document.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace neptunedata
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_NEPTUNEDATA_API QueryEvalStats();
36 AWS_NEPTUNEDATA_API QueryEvalStats(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NEPTUNEDATA_API QueryEvalStats& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetWaited() const{ return m_waited; }
46 inline bool WaitedHasBeenSet() const { return m_waitedHasBeenSet; }
47 inline void SetWaited(int value) { m_waitedHasBeenSet = true; m_waited = value; }
48 inline QueryEvalStats& WithWaited(int value) { SetWaited(value); return *this;}
50
52
55 inline int GetElapsed() const{ return m_elapsed; }
56 inline bool ElapsedHasBeenSet() const { return m_elapsedHasBeenSet; }
57 inline void SetElapsed(int value) { m_elapsedHasBeenSet = true; m_elapsed = value; }
58 inline QueryEvalStats& WithElapsed(int value) { SetElapsed(value); return *this;}
60
62
65 inline bool GetCancelled() const{ return m_cancelled; }
66 inline bool CancelledHasBeenSet() const { return m_cancelledHasBeenSet; }
67 inline void SetCancelled(bool value) { m_cancelledHasBeenSet = true; m_cancelled = value; }
68 inline QueryEvalStats& WithCancelled(bool value) { SetCancelled(value); return *this;}
70
72
75 inline Aws::Utils::DocumentView GetSubqueries() const{ return m_subqueries; }
76 inline bool SubqueriesHasBeenSet() const { return m_subqueriesHasBeenSet; }
77 inline void SetSubqueries(const Aws::Utils::Document& value) { m_subqueriesHasBeenSet = true; m_subqueries = value; }
78 inline void SetSubqueries(Aws::Utils::Document&& value) { m_subqueriesHasBeenSet = true; m_subqueries = std::move(value); }
79 inline QueryEvalStats& WithSubqueries(const Aws::Utils::Document& value) { SetSubqueries(value); return *this;}
80 inline QueryEvalStats& WithSubqueries(Aws::Utils::Document&& value) { SetSubqueries(std::move(value)); return *this;}
82 private:
83
84 int m_waited;
85 bool m_waitedHasBeenSet = false;
86
87 int m_elapsed;
88 bool m_elapsedHasBeenSet = false;
89
90 bool m_cancelled;
91 bool m_cancelledHasBeenSet = false;
92
93 Aws::Utils::Document m_subqueries;
94 bool m_subqueriesHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace neptunedata
99} // namespace Aws
QueryEvalStats & WithSubqueries(const Aws::Utils::Document &value)
AWS_NEPTUNEDATA_API QueryEvalStats(Aws::Utils::Json::JsonView jsonValue)
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSubqueries(const Aws::Utils::Document &value)
QueryEvalStats & WithSubqueries(Aws::Utils::Document &&value)
Aws::Utils::DocumentView GetSubqueries() const
QueryEvalStats & WithWaited(int value)
void SetSubqueries(Aws::Utils::Document &&value)
AWS_NEPTUNEDATA_API QueryEvalStats & operator=(Aws::Utils::Json::JsonView jsonValue)
QueryEvalStats & WithCancelled(bool value)
QueryEvalStats & WithElapsed(int value)
Aws::Utils::Json::JsonValue JsonValue