AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
CancelOpenCypherQueryRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptunedata/NeptunedataRequest.h>
9#include <aws/neptunedata/Neptunedata_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace neptunedata {
18namespace Model {
19
23 public:
24 AWS_NEPTUNEDATA_API CancelOpenCypherQueryRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CancelOpenCypherQuery"; }
31
32 AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override;
33
34 AWS_NEPTUNEDATA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetQueryId() const { return m_queryId; }
41 inline bool QueryIdHasBeenSet() const { return m_queryIdHasBeenSet; }
42 template <typename QueryIdT = Aws::String>
43 void SetQueryId(QueryIdT&& value) {
44 m_queryIdHasBeenSet = true;
45 m_queryId = std::forward<QueryIdT>(value);
46 }
47 template <typename QueryIdT = Aws::String>
49 SetQueryId(std::forward<QueryIdT>(value));
50 return *this;
51 }
53
55
59 inline bool GetSilent() const { return m_silent; }
60 inline bool SilentHasBeenSet() const { return m_silentHasBeenSet; }
61 inline void SetSilent(bool value) {
62 m_silentHasBeenSet = true;
63 m_silent = value;
64 }
66 SetSilent(value);
67 return *this;
68 }
70 private:
71 Aws::String m_queryId;
72 bool m_queryIdHasBeenSet = false;
73
74 bool m_silent{false};
75 bool m_silentHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace neptunedata
80} // namespace Aws
AWS_NEPTUNEDATA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CancelOpenCypherQueryRequest & WithQueryId(QueryIdT &&value)
AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override
AWS_NEPTUNEDATA_API CancelOpenCypherQueryRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String