7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/neptune-graph/NeptuneGraphRequest.h>
11#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
12#include <aws/neptune-graph/model/ExplainMode.h>
13#include <aws/neptune-graph/model/PlanCacheType.h>
14#include <aws/neptune-graph/model/QueryLanguage.h>
19namespace NeptuneGraph {
49 template <
typename GraphIdentifierT = Aws::String>
51 m_graphIdentifierHasBeenSet =
true;
52 m_graphIdentifier = std::forward<GraphIdentifierT>(value);
54 template <
typename GraphIdentifierT = Aws::String>
67 template <
typename QueryStringT = Aws::String>
69 m_queryStringHasBeenSet =
true;
70 m_queryString = std::forward<QueryStringT>(value);
72 template <
typename QueryStringT = Aws::String>
87 m_languageHasBeenSet =
true;
103 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Utils::Document>>
105 m_parametersHasBeenSet =
true;
106 m_parameters = std::forward<ParametersT>(value);
108 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Utils::Document>>
113 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Utils::Document>
115 m_parametersHasBeenSet =
true;
116 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
131 m_planCacheHasBeenSet =
true;
150 m_explainModeHasBeenSet =
true;
151 m_explainMode = value;
166 m_queryTimeoutMillisecondsHasBeenSet =
true;
167 m_queryTimeoutMilliseconds = value;
187 int m_queryTimeoutMilliseconds{0};
188 bool m_graphIdentifierHasBeenSet =
false;
189 bool m_queryStringHasBeenSet =
false;
190 bool m_languageHasBeenSet =
false;
191 bool m_parametersHasBeenSet =
false;
192 bool m_planCacheHasBeenSet =
false;
193 bool m_explainModeHasBeenSet =
false;
194 bool m_queryTimeoutMillisecondsHasBeenSet =
false;
int GetQueryTimeoutMilliseconds() const
ExecuteQueryRequest & WithExplainMode(ExplainMode value)
void SetQueryString(QueryStringT &&value)
bool PlanCacheHasBeenSet() const
QueryLanguage GetLanguage() const
void SetPlanCache(PlanCacheType value)
virtual const char * GetServiceRequestName() const override
bool ParametersHasBeenSet() const
AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override
const Aws::String & GetGraphIdentifier() const
ExecuteQueryRequest & WithQueryString(QueryStringT &&value)
bool QueryStringHasBeenSet() const
ExecuteQueryRequest & WithQueryTimeoutMilliseconds(int value)
bool ExplainModeHasBeenSet() const
const Aws::String & GetQueryString() const
ExecuteQueryRequest & WithLanguage(QueryLanguage value)
ExecuteQueryRequest & WithParameters(ParametersT &&value)
ExecuteQueryRequest & WithGraphIdentifier(GraphIdentifierT &&value)
void SetQueryTimeoutMilliseconds(int value)
void SetLanguage(QueryLanguage value)
PlanCacheType GetPlanCache() const
void SetExplainMode(ExplainMode value)
AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override
ExplainMode GetExplainMode() const
bool LanguageHasBeenSet() const
AWS_NEPTUNEGRAPH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Map< Aws::String, Aws::Utils::Document > & GetParameters() const
void SetParameters(ParametersT &&value)
void SetGraphIdentifier(GraphIdentifierT &&value)
ExecuteQueryRequest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
bool GraphIdentifierHasBeenSet() const
AWS_NEPTUNEGRAPH_API ExecuteQueryRequest()=default
ExecuteQueryRequest & WithPlanCache(PlanCacheType value)
bool QueryTimeoutMillisecondsHasBeenSet() const
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String