7#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
8#include <aws/neptune-graph/NeptuneGraphRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/neptune-graph/model/QueryLanguage.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/neptune-graph/model/PlanCacheType.h>
13#include <aws/neptune-graph/model/ExplainMode.h>
14#include <aws/core/utils/Document.h>
52 template<
typename GraphIdentifierT = Aws::String>
53 void SetGraphIdentifier(GraphIdentifierT&& value) { m_graphIdentifierHasBeenSet =
true; m_graphIdentifier = std::forward<GraphIdentifierT>(value); }
54 template<
typename GraphIdentifierT = Aws::String>
64 template<
typename QueryStringT = Aws::String>
65 void SetQueryString(QueryStringT&& value) { m_queryStringHasBeenSet =
true; m_queryString = std::forward<QueryStringT>(value); }
66 template<
typename QueryStringT = Aws::String>
88 template<
typename ParametersT = Aws::Map<Aws::String, Aws::Utils::Document>>
89 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
90 template<
typename ParametersT = Aws::Map<Aws::String, Aws::Utils::Document>>
92 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Utils::Document>
94 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
136 bool m_graphIdentifierHasBeenSet =
false;
139 bool m_queryStringHasBeenSet =
false;
142 bool m_languageHasBeenSet =
false;
145 bool m_parametersHasBeenSet =
false;
148 bool m_planCacheHasBeenSet =
false;
151 bool m_explainModeHasBeenSet =
false;
153 int m_queryTimeoutMilliseconds{0};
154 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