AWS SDK for C++

AWS SDK for C++ Version 1.11.687

Loading...
Searching...
No Matches
DescribeGlobalClustersRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/neptune/Neptune_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Neptune {
15namespace Model {
16
20 public:
21 AWS_NEPTUNE_API DescribeGlobalClustersRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeGlobalClusters"; }
28
29 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
42 inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
43 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
44 template <typename GlobalClusterIdentifierT = Aws::String>
45 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
46 m_globalClusterIdentifierHasBeenSet = true;
47 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
48 }
49 template <typename GlobalClusterIdentifierT = Aws::String>
51 SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value));
52 return *this;
53 }
55
57
64 inline int GetMaxRecords() const { return m_maxRecords; }
65 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
66 inline void SetMaxRecords(int value) {
67 m_maxRecordsHasBeenSet = true;
68 m_maxRecords = value;
69 }
71 SetMaxRecords(value);
72 return *this;
73 }
75
77
83 inline const Aws::String& GetMarker() const { return m_marker; }
84 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
85 template <typename MarkerT = Aws::String>
86 void SetMarker(MarkerT&& value) {
87 m_markerHasBeenSet = true;
88 m_marker = std::forward<MarkerT>(value);
89 }
90 template <typename MarkerT = Aws::String>
92 SetMarker(std::forward<MarkerT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_globalClusterIdentifier;
98 bool m_globalClusterIdentifierHasBeenSet = false;
99
100 int m_maxRecords{0};
101 bool m_maxRecordsHasBeenSet = false;
102
103 Aws::String m_marker;
104 bool m_markerHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace Neptune
109} // namespace Aws
DescribeGlobalClustersRequest & WithMarker(MarkerT &&value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeGlobalClustersRequest & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
DescribeGlobalClustersRequest & WithMaxRecords(int value)
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
AWS_NEPTUNE_API DescribeGlobalClustersRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String