7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
9#include <aws/neptune-graph/model/QueryState.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
22namespace NeptuneGraph {
35 template <
typename IdT = Aws::String>
37 m_idHasBeenSet =
true;
38 m_id = std::forward<IdT>(value);
40 template <
typename IdT = Aws::String>
42 SetId(std::forward<IdT>(value));
52 template <
typename QueryStringT = Aws::String>
54 m_queryStringHasBeenSet =
true;
55 m_queryString = std::forward<QueryStringT>(value);
57 template <
typename QueryStringT = Aws::String>
70 m_waitedHasBeenSet =
true;
85 m_elapsedHasBeenSet =
true;
100 m_stateHasBeenSet =
true;
112 template <
typename RequestIdT = Aws::String>
114 m_requestIdHasBeenSet =
true;
115 m_requestId = std::forward<RequestIdT>(value);
117 template <
typename RequestIdT = Aws::String>
135 bool m_idHasBeenSet =
false;
136 bool m_queryStringHasBeenSet =
false;
137 bool m_waitedHasBeenSet =
false;
138 bool m_elapsedHasBeenSet =
false;
139 bool m_stateHasBeenSet =
false;
140 bool m_requestIdHasBeenSet =
false;
void SetQueryString(QueryStringT &&value)
AWS_NEPTUNEGRAPH_API GetQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NEPTUNEGRAPH_API GetQueryResult()=default
void SetState(QueryState value)
const Aws::String & GetQueryString() const
const Aws::String & GetRequestId() const
GetQueryResult & WithState(QueryState value)
GetQueryResult & WithId(IdT &&value)
GetQueryResult & WithQueryString(QueryStringT &&value)
GetQueryResult & WithElapsed(int value)
const Aws::String & GetId() const
AWS_NEPTUNEGRAPH_API GetQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQueryResult & WithRequestId(RequestIdT &&value)
QueryState GetState() const
void SetWaited(int value)
void SetElapsed(int value)
GetQueryResult & WithWaited(int value)
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue