AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetQueryRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptune-graph/NeptuneGraphRequest.h>
9#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace NeptuneGraph {
15namespace Model {
16
20 public:
21 AWS_NEPTUNEGRAPH_API GetQueryRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetQuery"; }
28
29 AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override;
30
31 AWS_NEPTUNEGRAPH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
36 AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override;
37
39
42 inline const Aws::String& GetGraphIdentifier() const { return m_graphIdentifier; }
43 inline bool GraphIdentifierHasBeenSet() const { return m_graphIdentifierHasBeenSet; }
44 template <typename GraphIdentifierT = Aws::String>
45 void SetGraphIdentifier(GraphIdentifierT&& value) {
46 m_graphIdentifierHasBeenSet = true;
47 m_graphIdentifier = std::forward<GraphIdentifierT>(value);
48 }
49 template <typename GraphIdentifierT = Aws::String>
50 GetQueryRequest& WithGraphIdentifier(GraphIdentifierT&& value) {
51 SetGraphIdentifier(std::forward<GraphIdentifierT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetQueryId() const { return m_queryId; }
61 inline bool QueryIdHasBeenSet() const { return m_queryIdHasBeenSet; }
62 template <typename QueryIdT = Aws::String>
63 void SetQueryId(QueryIdT&& value) {
64 m_queryIdHasBeenSet = true;
65 m_queryId = std::forward<QueryIdT>(value);
66 }
67 template <typename QueryIdT = Aws::String>
68 GetQueryRequest& WithQueryId(QueryIdT&& value) {
69 SetQueryId(std::forward<QueryIdT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_graphIdentifier;
75
76 Aws::String m_queryId;
77 bool m_graphIdentifierHasBeenSet = false;
78 bool m_queryIdHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace NeptuneGraph
83} // namespace Aws
void SetGraphIdentifier(GraphIdentifierT &&value)
GetQueryRequest & WithGraphIdentifier(GraphIdentifierT &&value)
AWS_NEPTUNEGRAPH_API GetQueryRequest()=default
virtual const char * GetServiceRequestName() const override
GetQueryRequest & WithQueryId(QueryIdT &&value)
AWS_NEPTUNEGRAPH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetQueryId() const
AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override
AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override
const Aws::String & GetGraphIdentifier() const
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String