AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetQueryResult.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{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace NeptuneGraph
25{
26namespace Model
27{
29 {
30 public:
31 AWS_NEPTUNEGRAPH_API GetQueryResult();
34
35
37
40 inline const Aws::String& GetId() const{ return m_id; }
41 inline void SetId(const Aws::String& value) { m_id = value; }
42 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
43 inline void SetId(const char* value) { m_id.assign(value); }
44 inline GetQueryResult& WithId(const Aws::String& value) { SetId(value); return *this;}
45 inline GetQueryResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
46 inline GetQueryResult& WithId(const char* value) { SetId(value); return *this;}
48
50
53 inline const Aws::String& GetQueryString() const{ return m_queryString; }
54 inline void SetQueryString(const Aws::String& value) { m_queryString = value; }
55 inline void SetQueryString(Aws::String&& value) { m_queryString = std::move(value); }
56 inline void SetQueryString(const char* value) { m_queryString.assign(value); }
57 inline GetQueryResult& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;}
58 inline GetQueryResult& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;}
59 inline GetQueryResult& WithQueryString(const char* value) { SetQueryString(value); return *this;}
61
63
66 inline int GetWaited() const{ return m_waited; }
67 inline void SetWaited(int value) { m_waited = value; }
68 inline GetQueryResult& WithWaited(int value) { SetWaited(value); return *this;}
70
72
75 inline int GetElapsed() const{ return m_elapsed; }
76 inline void SetElapsed(int value) { m_elapsed = value; }
77 inline GetQueryResult& WithElapsed(int value) { SetElapsed(value); return *this;}
79
81
84 inline const QueryState& GetState() const{ return m_state; }
85 inline void SetState(const QueryState& value) { m_state = value; }
86 inline void SetState(QueryState&& value) { m_state = std::move(value); }
87 inline GetQueryResult& WithState(const QueryState& value) { SetState(value); return *this;}
88 inline GetQueryResult& WithState(QueryState&& value) { SetState(std::move(value)); return *this;}
90
92
93 inline const Aws::String& GetRequestId() const{ return m_requestId; }
94 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
95 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
96 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
97 inline GetQueryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
98 inline GetQueryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
99 inline GetQueryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
101 private:
102
103 Aws::String m_id;
104
105 Aws::String m_queryString;
106
107 int m_waited;
108
109 int m_elapsed;
110
111 QueryState m_state;
112
113 Aws::String m_requestId;
114 };
115
116} // namespace Model
117} // namespace NeptuneGraph
118} // namespace Aws
GetQueryResult & WithState(const QueryState &value)
AWS_NEPTUNEGRAPH_API GetQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQueryResult & WithQueryString(Aws::String &&value)
const Aws::String & GetQueryString() const
const Aws::String & GetRequestId() const
GetQueryResult & WithState(QueryState &&value)
void SetId(const Aws::String &value)
GetQueryResult & WithRequestId(Aws::String &&value)
const QueryState & GetState() const
GetQueryResult & WithElapsed(int value)
const Aws::String & GetId() const
GetQueryResult & WithId(const Aws::String &value)
GetQueryResult & WithQueryString(const char *value)
AWS_NEPTUNEGRAPH_API GetQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetQueryString(Aws::String &&value)
void SetState(const QueryState &value)
void SetRequestId(Aws::String &&value)
void SetQueryString(const Aws::String &value)
GetQueryResult & WithId(Aws::String &&value)
GetQueryResult & WithRequestId(const Aws::String &value)
GetQueryResult & WithQueryString(const Aws::String &value)
GetQueryResult & WithRequestId(const char *value)
GetQueryResult & WithId(const char *value)
GetQueryResult & WithWaited(int value)
void SetRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue