AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetGraphSummaryRequest.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/GraphSummaryMode.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 GetGraphSummaryRequest() = 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 "GetGraphSummary"; }
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 GetGraphSummaryRequest& WithGraphIdentifier(GraphIdentifierT&& value) { SetGraphIdentifier(std::forward<GraphIdentifierT>(value)); return *this;}
59
61
65 inline GraphSummaryMode GetMode() const { return m_mode; }
66 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
67 inline void SetMode(GraphSummaryMode value) { m_modeHasBeenSet = true; m_mode = value; }
68 inline GetGraphSummaryRequest& WithMode(GraphSummaryMode value) { SetMode(value); return *this;}
70 private:
71
72 Aws::String m_graphIdentifier;
73 bool m_graphIdentifierHasBeenSet = false;
74
76 bool m_modeHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace NeptuneGraph
81} // 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