AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExecuteGremlinQueryResult.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/GremlinQueryStatusAttributes.h>
10#include <aws/core/utils/Document.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace neptunedata
26{
27namespace Model
28{
30 {
31 public:
32 AWS_NEPTUNEDATA_API ExecuteGremlinQueryResult();
35
36
38
41 inline const Aws::String& GetRequestId() const{ return m_requestId; }
42 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
43 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
44 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
45 inline ExecuteGremlinQueryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
46 inline ExecuteGremlinQueryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
47 inline ExecuteGremlinQueryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
49
51
54 inline const GremlinQueryStatusAttributes& GetStatus() const{ return m_status; }
55 inline void SetStatus(const GremlinQueryStatusAttributes& value) { m_status = value; }
56 inline void SetStatus(GremlinQueryStatusAttributes&& value) { m_status = std::move(value); }
57 inline ExecuteGremlinQueryResult& WithStatus(const GremlinQueryStatusAttributes& value) { SetStatus(value); return *this;}
58 inline ExecuteGremlinQueryResult& WithStatus(GremlinQueryStatusAttributes&& value) { SetStatus(std::move(value)); return *this;}
60
62
65 inline Aws::Utils::DocumentView GetResult() const{ return m_result; }
66 inline void SetResult(const Aws::Utils::Document& value) { m_result = value; }
67 inline void SetResult(Aws::Utils::Document&& value) { m_result = std::move(value); }
68 inline ExecuteGremlinQueryResult& WithResult(const Aws::Utils::Document& value) { SetResult(value); return *this;}
69 inline ExecuteGremlinQueryResult& WithResult(Aws::Utils::Document&& value) { SetResult(std::move(value)); return *this;}
71
73
76 inline Aws::Utils::DocumentView GetMeta() const{ return m_meta; }
77 inline void SetMeta(const Aws::Utils::Document& value) { m_meta = value; }
78 inline void SetMeta(Aws::Utils::Document&& value) { m_meta = std::move(value); }
79 inline ExecuteGremlinQueryResult& WithMeta(const Aws::Utils::Document& value) { SetMeta(value); return *this;}
80 inline ExecuteGremlinQueryResult& WithMeta(Aws::Utils::Document&& value) { SetMeta(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_requestId;
85
87
88 Aws::Utils::Document m_result;
89
91 };
92
93} // namespace Model
94} // namespace neptunedata
95} // namespace Aws
ExecuteGremlinQueryResult & WithStatus(GremlinQueryStatusAttributes &&value)
ExecuteGremlinQueryResult & WithRequestId(const char *value)
AWS_NEPTUNEDATA_API ExecuteGremlinQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ExecuteGremlinQueryResult & WithResult(Aws::Utils::Document &&value)
ExecuteGremlinQueryResult & WithMeta(const Aws::Utils::Document &value)
ExecuteGremlinQueryResult & WithRequestId(const Aws::String &value)
const GremlinQueryStatusAttributes & GetStatus() const
void SetStatus(GremlinQueryStatusAttributes &&value)
ExecuteGremlinQueryResult & WithStatus(const GremlinQueryStatusAttributes &value)
ExecuteGremlinQueryResult & WithMeta(Aws::Utils::Document &&value)
ExecuteGremlinQueryResult & WithResult(const Aws::Utils::Document &value)
ExecuteGremlinQueryResult & WithRequestId(Aws::String &&value)
AWS_NEPTUNEDATA_API ExecuteGremlinQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(const GremlinQueryStatusAttributes &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue