AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGraphIdentifier(const Aws::String& value) { m_graphIdentifierHasBeenSet = true; m_graphIdentifier = value; }
55 inline void SetGraphIdentifier(Aws::String&& value) { m_graphIdentifierHasBeenSet = true; m_graphIdentifier = std::move(value); }
56 inline void SetGraphIdentifier(const char* value) { m_graphIdentifierHasBeenSet = true; m_graphIdentifier.assign(value); }
57 inline ListQueriesRequest& WithGraphIdentifier(const Aws::String& value) { SetGraphIdentifier(value); return *this;}
58 inline ListQueriesRequest& WithGraphIdentifier(Aws::String&& value) { SetGraphIdentifier(std::move(value)); return *this;}
59 inline ListQueriesRequest& WithGraphIdentifier(const char* value) { SetGraphIdentifier(value); return *this;}
61
63
66 inline int GetMaxResults() const{ return m_maxResults; }
67 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
68 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
69 inline ListQueriesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
71
73
76 inline const QueryStateInput& GetState() const{ return m_state; }
77 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
78 inline void SetState(const QueryStateInput& value) { m_stateHasBeenSet = true; m_state = value; }
79 inline void SetState(QueryStateInput&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
80 inline ListQueriesRequest& WithState(const QueryStateInput& value) { SetState(value); return *this;}
81 inline ListQueriesRequest& WithState(QueryStateInput&& value) { SetState(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_graphIdentifier;
86 bool m_graphIdentifierHasBeenSet = false;
87
88 int m_maxResults;
89 bool m_maxResultsHasBeenSet = false;
90
91 QueryStateInput m_state;
92 bool m_stateHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace NeptuneGraph
97} // namespace Aws
void SetState(const QueryStateInput &value)
AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override
AWS_NEPTUNEGRAPH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListQueriesRequest & WithGraphIdentifier(const char *value)
AWS_NEPTUNEGRAPH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetGraphIdentifier(const Aws::String &value)
ListQueriesRequest & WithState(const QueryStateInput &value)
AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override
virtual const char * GetServiceRequestName() const override
ListQueriesRequest & WithState(QueryStateInput &&value)
ListQueriesRequest & WithMaxResults(int value)
ListQueriesRequest & WithGraphIdentifier(Aws::String &&value)
ListQueriesRequest & WithGraphIdentifier(const Aws::String &value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String