AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
CancelOpenCypherQueryResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptunedata/Neptunedata_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace neptunedata {
22namespace Model {
24 public:
25 AWS_NEPTUNEDATA_API CancelOpenCypherQueryResult() = default;
28
30
33 inline const Aws::String& GetStatus() const { return m_status; }
34 template <typename StatusT = Aws::String>
35 void SetStatus(StatusT&& value) {
36 m_statusHasBeenSet = true;
37 m_status = std::forward<StatusT>(value);
38 }
39 template <typename StatusT = Aws::String>
41 SetStatus(std::forward<StatusT>(value));
42 return *this;
43 }
45
47
50 inline bool GetPayload() const { return m_payload; }
51 inline void SetPayload(bool value) {
52 m_payloadHasBeenSet = true;
53 m_payload = value;
54 }
56 SetPayload(value);
57 return *this;
58 }
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template <typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) {
66 m_requestIdHasBeenSet = true;
67 m_requestId = std::forward<RequestIdT>(value);
68 }
69 template <typename RequestIdT = Aws::String>
71 SetRequestId(std::forward<RequestIdT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_status;
77 bool m_statusHasBeenSet = false;
78
79 bool m_payload{false};
80 bool m_payloadHasBeenSet = false;
81
82 Aws::String m_requestId;
83 bool m_requestIdHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace neptunedata
88} // 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