AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ListQueriesRequest.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#include <aws/neptune-graph/model/QueryStateInput.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace NeptuneGraph {
19namespace Model {
20
24 public:
25 AWS_NEPTUNEGRAPH_API ListQueriesRequest() = default;
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 "ListQueries"; }
32
33 AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override;
34
35 AWS_NEPTUNEGRAPH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
37 AWS_NEPTUNEGRAPH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
42 AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override;
43
45
48 inline const Aws::String& GetGraphIdentifier() const { return m_graphIdentifier; }
49 inline bool GraphIdentifierHasBeenSet() const { return m_graphIdentifierHasBeenSet; }
50 template <typename GraphIdentifierT = Aws::String>
51 void SetGraphIdentifier(GraphIdentifierT&& value) {
52 m_graphIdentifierHasBeenSet = true;
53 m_graphIdentifier = std::forward<GraphIdentifierT>(value);
54 }
55 template <typename GraphIdentifierT = Aws::String>
56 ListQueriesRequest& WithGraphIdentifier(GraphIdentifierT&& value) {
57 SetGraphIdentifier(std::forward<GraphIdentifierT>(value));
58 return *this;
59 }
61
63
66 inline int GetMaxResults() const { return m_maxResults; }
67 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
68 inline void SetMaxResults(int value) {
69 m_maxResultsHasBeenSet = true;
70 m_maxResults = value;
71 }
73 SetMaxResults(value);
74 return *this;
75 }
77
79
82 inline QueryStateInput GetState() const { return m_state; }
83 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
84 inline void SetState(QueryStateInput value) {
85 m_stateHasBeenSet = true;
86 m_state = value;
87 }
89 SetState(value);
90 return *this;
91 }
93 private:
94 Aws::String m_graphIdentifier;
95
96 int m_maxResults{0};
97
99 bool m_graphIdentifierHasBeenSet = false;
100 bool m_maxResultsHasBeenSet = false;
101 bool m_stateHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace NeptuneGraph
106} // namespace Aws
ListQueriesRequest & WithGraphIdentifier(GraphIdentifierT &&value)
AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override
void SetGraphIdentifier(GraphIdentifierT &&value)
AWS_NEPTUNEGRAPH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_NEPTUNEGRAPH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListQueriesRequest & WithState(QueryStateInput value)
AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override
virtual const char * GetServiceRequestName() const override
ListQueriesRequest & WithMaxResults(int value)
AWS_NEPTUNEGRAPH_API ListQueriesRequest()=default
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String