AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetGraphSummaryRequest.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/GraphSummaryMode.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 GetGraphSummaryRequest() = 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 "GetGraphSummary"; }
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 GetGraphSummaryRequest& WithGraphIdentifier(GraphIdentifierT&& value) {
57 SetGraphIdentifier(std::forward<GraphIdentifierT>(value));
58 return *this;
59 }
61
63
67 inline GraphSummaryMode GetMode() const { return m_mode; }
68 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
69 inline void SetMode(GraphSummaryMode value) {
70 m_modeHasBeenSet = true;
71 m_mode = value;
72 }
74 SetMode(value);
75 return *this;
76 }
78 private:
79 Aws::String m_graphIdentifier;
80
82 bool m_graphIdentifierHasBeenSet = false;
83 bool m_modeHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace NeptuneGraph
88} // namespace Aws
virtual const char * GetServiceRequestName() const override
GetGraphSummaryRequest & WithGraphIdentifier(GraphIdentifierT &&value)
AWS_NEPTUNEGRAPH_API GetGraphSummaryRequest()=default
GetGraphSummaryRequest & WithMode(GraphSummaryMode value)
AWS_NEPTUNEGRAPH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override
AWS_NEPTUNEGRAPH_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String