AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
DescribeClusterDbRevisionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Redshift {
15namespace Model {
16
20 public:
21 AWS_REDSHIFT_API DescribeClusterDbRevisionsRequest() = 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 "DescribeClusterDbRevisions"; }
28
29 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
41 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
42 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
43 template <typename ClusterIdentifierT = Aws::String>
44 void SetClusterIdentifier(ClusterIdentifierT&& value) {
45 m_clusterIdentifierHasBeenSet = true;
46 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
47 }
48 template <typename ClusterIdentifierT = Aws::String>
50 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
51 return *this;
52 }
54
56
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
88 inline const Aws::String& GetMarker() const { return m_marker; }
89 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
90 template <typename MarkerT = Aws::String>
91 void SetMarker(MarkerT&& value) {
92 m_markerHasBeenSet = true;
93 m_marker = std::forward<MarkerT>(value);
94 }
95 template <typename MarkerT = Aws::String>
97 SetMarker(std::forward<MarkerT>(value));
98 return *this;
99 }
101 private:
102 Aws::String m_clusterIdentifier;
103
104 int m_maxRecords{0};
105
106 Aws::String m_marker;
107 bool m_clusterIdentifierHasBeenSet = false;
108 bool m_maxRecordsHasBeenSet = false;
109 bool m_markerHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace Redshift
114} // namespace Aws
AWS_REDSHIFT_API DescribeClusterDbRevisionsRequest()=default
DescribeClusterDbRevisionsRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeClusterDbRevisionsRequest & WithMarker(MarkerT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String