AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetOpenCypherQuery(const Aws::String& value) { m_openCypherQueryHasBeenSet = true; m_openCypherQuery = value; }
43 inline void SetOpenCypherQuery(Aws::String&& value) { m_openCypherQueryHasBeenSet = true; m_openCypherQuery = std::move(value); }
44 inline void SetOpenCypherQuery(const char* value) { m_openCypherQueryHasBeenSet = true; m_openCypherQuery.assign(value); }
47 inline ExecuteOpenCypherExplainQueryRequest& WithOpenCypherQuery(const char* value) { SetOpenCypherQuery(value); return *this;}
49
51
54 inline const Aws::String& GetParameters() const{ return m_parameters; }
55 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
56 inline void SetParameters(const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters = value; }
57 inline void SetParameters(Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
58 inline void SetParameters(const char* value) { m_parametersHasBeenSet = true; m_parameters.assign(value); }
60 inline ExecuteOpenCypherExplainQueryRequest& WithParameters(Aws::String&& value) { SetParameters(std::move(value)); return *this;}
61 inline ExecuteOpenCypherExplainQueryRequest& WithParameters(const char* value) { SetParameters(value); return *this;}
63
65
69 inline const OpenCypherExplainMode& GetExplainMode() const{ return m_explainMode; }
70 inline bool ExplainModeHasBeenSet() const { return m_explainModeHasBeenSet; }
71 inline void SetExplainMode(const OpenCypherExplainMode& value) { m_explainModeHasBeenSet = true; m_explainMode = value; }
72 inline void SetExplainMode(OpenCypherExplainMode&& value) { m_explainModeHasBeenSet = true; m_explainMode = std::move(value); }
76 private:
77
78 Aws::String m_openCypherQuery;
79 bool m_openCypherQueryHasBeenSet = false;
80
81 Aws::String m_parameters;
82 bool m_parametersHasBeenSet = false;
83
84 OpenCypherExplainMode m_explainMode;
85 bool m_explainModeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace neptunedata
90} // namespace Aws
ExecuteOpenCypherExplainQueryRequest & WithParameters(Aws::String &&value)
ExecuteOpenCypherExplainQueryRequest & WithParameters(const Aws::String &value)
ExecuteOpenCypherExplainQueryRequest & WithExplainMode(const OpenCypherExplainMode &value)
ExecuteOpenCypherExplainQueryRequest & WithParameters(const char *value)
ExecuteOpenCypherExplainQueryRequest & WithOpenCypherQuery(Aws::String &&value)
ExecuteOpenCypherExplainQueryRequest & WithOpenCypherQuery(const Aws::String &value)
AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override
ExecuteOpenCypherExplainQueryRequest & WithOpenCypherQuery(const char *value)
ExecuteOpenCypherExplainQueryRequest & WithExplainMode(OpenCypherExplainMode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String