AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
33
34
36
39 inline const Aws::String& GetStatus() const { return m_status; }
40 template<typename StatusT = Aws::String>
41 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
42 template<typename StatusT = Aws::String>
43 CancelOpenCypherQueryResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
45
47
50 inline bool GetPayload() const { return m_payload; }
51 inline void SetPayload(bool value) { m_payloadHasBeenSet = true; m_payload = value; }
52 inline CancelOpenCypherQueryResult& WithPayload(bool value) { SetPayload(value); return *this;}
54
56
57 inline const Aws::String& GetRequestId() const { return m_requestId; }
58 template<typename RequestIdT = Aws::String>
59 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
60 template<typename RequestIdT = Aws::String>
61 CancelOpenCypherQueryResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
63 private:
64
65 Aws::String m_status;
66 bool m_statusHasBeenSet = false;
67
68 bool m_payload{false};
69 bool m_payloadHasBeenSet = false;
70
71 Aws::String m_requestId;
72 bool m_requestIdHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace neptunedata
77} // namespace Aws
AWS_NEPTUNEDATA_API CancelOpenCypherQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelOpenCypherQueryResult & WithRequestId(RequestIdT &&value)
CancelOpenCypherQueryResult & WithStatus(StatusT &&value)
AWS_NEPTUNEDATA_API CancelOpenCypherQueryResult()=default
AWS_NEPTUNEDATA_API CancelOpenCypherQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue