AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CancelOpenCypherQueryResult.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace neptunedata
24{
25namespace Model
26{
28 {
29 public:
30 AWS_NEPTUNEDATA_API CancelOpenCypherQueryResult();
33
34
36
39 inline const Aws::String& GetStatus() const{ return m_status; }
40 inline void SetStatus(const Aws::String& value) { m_status = value; }
41 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
42 inline void SetStatus(const char* value) { m_status.assign(value); }
43 inline CancelOpenCypherQueryResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
44 inline CancelOpenCypherQueryResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
45 inline CancelOpenCypherQueryResult& WithStatus(const char* value) { SetStatus(value); return *this;}
47
49
52 inline bool GetPayload() const{ return m_payload; }
53 inline void SetPayload(bool value) { m_payload = value; }
54 inline CancelOpenCypherQueryResult& WithPayload(bool value) { SetPayload(value); return *this;}
56
58
59 inline const Aws::String& GetRequestId() const{ return m_requestId; }
60 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
61 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
62 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
63 inline CancelOpenCypherQueryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
64 inline CancelOpenCypherQueryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
65 inline CancelOpenCypherQueryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
67 private:
68
69 Aws::String m_status;
70
71 bool m_payload;
72
73 Aws::String m_requestId;
74 };
75
76} // namespace Model
77} // namespace neptunedata
78} // namespace Aws
AWS_NEPTUNEDATA_API CancelOpenCypherQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelOpenCypherQueryResult & WithStatus(const char *value)
CancelOpenCypherQueryResult & WithRequestId(const Aws::String &value)
CancelOpenCypherQueryResult & WithRequestId(const char *value)
CancelOpenCypherQueryResult & WithStatus(const Aws::String &value)
CancelOpenCypherQueryResult & WithStatus(Aws::String &&value)
AWS_NEPTUNEDATA_API CancelOpenCypherQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelOpenCypherQueryResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue