AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListQueriesRequest.h
1
6#pragma once
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/QueryStateInput.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace NeptuneGraph
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_NEPTUNEGRAPH_API ListQueriesRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListQueries"; }
36
37 AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override;
38
39 AWS_NEPTUNEGRAPH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41 AWS_NEPTUNEGRAPH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42
46 AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override;
47
49
52 inline const Aws::String& GetGraphIdentifier() const { return m_graphIdentifier; }
53 inline bool GraphIdentifierHasBeenSet() const { return m_graphIdentifierHasBeenSet; }
54 template<typename GraphIdentifierT = Aws::String>
55 void SetGraphIdentifier(GraphIdentifierT&& value) { m_graphIdentifierHasBeenSet = true; m_graphIdentifier = std::forward<GraphIdentifierT>(value); }
56 template<typename GraphIdentifierT = Aws::String>
57 ListQueriesRequest& WithGraphIdentifier(GraphIdentifierT&& value) { SetGraphIdentifier(std::forward<GraphIdentifierT>(value)); return *this;}
59
61
64 inline int GetMaxResults() const { return m_maxResults; }
65 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
66 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
67 inline ListQueriesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
69
71
74 inline QueryStateInput GetState() const { return m_state; }
75 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
76 inline void SetState(QueryStateInput value) { m_stateHasBeenSet = true; m_state = value; }
77 inline ListQueriesRequest& WithState(QueryStateInput value) { SetState(value); return *this;}
79 private:
80
81 Aws::String m_graphIdentifier;
82 bool m_graphIdentifierHasBeenSet = false;
83
84 int m_maxResults{0};
85 bool m_maxResultsHasBeenSet = false;
86
88 bool m_stateHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace NeptuneGraph
93} // 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