AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ExecuteOpenCypherExplainQueryRequest.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/neptunedata/NeptunedataRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/neptunedata/model/OpenCypherExplainMode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace neptunedata
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_NEPTUNEDATA_API ExecuteOpenCypherExplainQueryRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ExecuteOpenCypherExplainQuery"; }
32
33 AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetOpenCypherQuery() const { return m_openCypherQuery; }
41 inline bool OpenCypherQueryHasBeenSet() const { return m_openCypherQueryHasBeenSet; }
42 template<typename OpenCypherQueryT = Aws::String>
43 void SetOpenCypherQuery(OpenCypherQueryT&& value) { m_openCypherQueryHasBeenSet = true; m_openCypherQuery = std::forward<OpenCypherQueryT>(value); }
44 template<typename OpenCypherQueryT = Aws::String>
45 ExecuteOpenCypherExplainQueryRequest& WithOpenCypherQuery(OpenCypherQueryT&& value) { SetOpenCypherQuery(std::forward<OpenCypherQueryT>(value)); return *this;}
47
49
52 inline const Aws::String& GetParameters() const { return m_parameters; }
53 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
54 template<typename ParametersT = Aws::String>
55 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
56 template<typename ParametersT = Aws::String>
57 ExecuteOpenCypherExplainQueryRequest& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
59
61
65 inline OpenCypherExplainMode GetExplainMode() const { return m_explainMode; }
66 inline bool ExplainModeHasBeenSet() const { return m_explainModeHasBeenSet; }
67 inline void SetExplainMode(OpenCypherExplainMode value) { m_explainModeHasBeenSet = true; m_explainMode = value; }
70 private:
71
72 Aws::String m_openCypherQuery;
73 bool m_openCypherQueryHasBeenSet = false;
74
75 Aws::String m_parameters;
76 bool m_parametersHasBeenSet = false;
77
79 bool m_explainModeHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace neptunedata
84} // namespace Aws
ExecuteOpenCypherExplainQueryRequest & WithParameters(ParametersT &&value)
ExecuteOpenCypherExplainQueryRequest & WithOpenCypherQuery(OpenCypherQueryT &&value)
AWS_NEPTUNEDATA_API ExecuteOpenCypherExplainQueryRequest()=default
ExecuteOpenCypherExplainQueryRequest & WithExplainMode(OpenCypherExplainMode value)
AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String