AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QuerySummary.h
1
6#pragma once
7#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptune-graph/model/QueryState.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 NeptuneGraph
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_NEPTUNEGRAPH_API QuerySummary();
36 AWS_NEPTUNEGRAPH_API QuerySummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NEPTUNEGRAPH_API QuerySummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline QuerySummary& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline QuerySummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline QuerySummary& WithId(const char* value) { SetId(value); return *this;}
54
56
60 inline const Aws::String& GetQueryString() const{ return m_queryString; }
61 inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; }
62 inline void SetQueryString(const Aws::String& value) { m_queryStringHasBeenSet = true; m_queryString = value; }
63 inline void SetQueryString(Aws::String&& value) { m_queryStringHasBeenSet = true; m_queryString = std::move(value); }
64 inline void SetQueryString(const char* value) { m_queryStringHasBeenSet = true; m_queryString.assign(value); }
65 inline QuerySummary& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;}
66 inline QuerySummary& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;}
67 inline QuerySummary& WithQueryString(const char* value) { SetQueryString(value); return *this;}
69
71
75 inline int GetWaited() const{ return m_waited; }
76 inline bool WaitedHasBeenSet() const { return m_waitedHasBeenSet; }
77 inline void SetWaited(int value) { m_waitedHasBeenSet = true; m_waited = value; }
78 inline QuerySummary& WithWaited(int value) { SetWaited(value); return *this;}
80
82
85 inline int GetElapsed() const{ return m_elapsed; }
86 inline bool ElapsedHasBeenSet() const { return m_elapsedHasBeenSet; }
87 inline void SetElapsed(int value) { m_elapsedHasBeenSet = true; m_elapsed = value; }
88 inline QuerySummary& WithElapsed(int value) { SetElapsed(value); return *this;}
90
92
95 inline const QueryState& GetState() const{ return m_state; }
96 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
97 inline void SetState(const QueryState& value) { m_stateHasBeenSet = true; m_state = value; }
98 inline void SetState(QueryState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
99 inline QuerySummary& WithState(const QueryState& value) { SetState(value); return *this;}
100 inline QuerySummary& WithState(QueryState&& value) { SetState(std::move(value)); return *this;}
102 private:
103
104 Aws::String m_id;
105 bool m_idHasBeenSet = false;
106
107 Aws::String m_queryString;
108 bool m_queryStringHasBeenSet = false;
109
110 int m_waited;
111 bool m_waitedHasBeenSet = false;
112
113 int m_elapsed;
114 bool m_elapsedHasBeenSet = false;
115
116 QueryState m_state;
117 bool m_stateHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace NeptuneGraph
122} // namespace Aws
void SetQueryString(const Aws::String &value)
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetState(const QueryState &value)
QuerySummary & WithId(const char *value)
QuerySummary & WithId(const Aws::String &value)
void SetQueryString(const char *value)
const Aws::String & GetQueryString() const
const Aws::String & GetId() const
const QueryState & GetState() const
void SetQueryString(Aws::String &&value)
AWS_NEPTUNEGRAPH_API QuerySummary()
QuerySummary & WithElapsed(int value)
QuerySummary & WithState(QueryState &&value)
QuerySummary & WithId(Aws::String &&value)
void SetState(QueryState &&value)
QuerySummary & WithQueryString(const Aws::String &value)
QuerySummary & WithState(const QueryState &value)
void SetId(Aws::String &&value)
QuerySummary & WithQueryString(Aws::String &&value)
QuerySummary & WithWaited(int value)
void SetId(const Aws::String &value)
QuerySummary & WithQueryString(const char *value)
AWS_NEPTUNEGRAPH_API QuerySummary(Aws::Utils::Json::JsonView jsonValue)
AWS_NEPTUNEGRAPH_API QuerySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue