AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 GetGraphSummaryRequest& WithGraphIdentifier(const Aws::String& value) { SetGraphIdentifier(value); return *this;}
58 inline GetGraphSummaryRequest& WithGraphIdentifier(Aws::String&& value) { SetGraphIdentifier(std::move(value)); return *this;}
59 inline GetGraphSummaryRequest& WithGraphIdentifier(const char* value) { SetGraphIdentifier(value); return *this;}
61
63
67 inline const GraphSummaryMode& GetMode() const{ return m_mode; }
68 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
69 inline void SetMode(const GraphSummaryMode& value) { m_modeHasBeenSet = true; m_mode = value; }
70 inline void SetMode(GraphSummaryMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
71 inline GetGraphSummaryRequest& WithMode(const GraphSummaryMode& value) { SetMode(value); return *this;}
72 inline GetGraphSummaryRequest& WithMode(GraphSummaryMode&& value) { SetMode(std::move(value)); return *this;}
74 private:
75
76 Aws::String m_graphIdentifier;
77 bool m_graphIdentifierHasBeenSet = false;
78
79 GraphSummaryMode m_mode;
80 bool m_modeHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace NeptuneGraph
85} // namespace Aws
GetGraphSummaryRequest & WithGraphIdentifier(const Aws::String &value)
GetGraphSummaryRequest & WithMode(const GraphSummaryMode &value)
GetGraphSummaryRequest & WithMode(GraphSummaryMode &&value)
GetGraphSummaryRequest & WithGraphIdentifier(const char *value)
virtual const char * GetServiceRequestName() const override
GetGraphSummaryRequest & WithGraphIdentifier(Aws::String &&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