AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeClustersRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Redshift
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_REDSHIFT_API DescribeClustersRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeClusters"; }
35
36 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
49 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
50 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
51 template<typename ClusterIdentifierT = Aws::String>
52 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
53 template<typename ClusterIdentifierT = Aws::String>
54 DescribeClustersRequest& WithClusterIdentifier(ClusterIdentifierT&& value) { SetClusterIdentifier(std::forward<ClusterIdentifierT>(value)); return *this;}
56
58
66 inline int GetMaxRecords() const { return m_maxRecords; }
67 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
68 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
69 inline DescribeClustersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
71
73
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) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
87 template<typename MarkerT = Aws::String>
88 DescribeClustersRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
90
92
100 inline const Aws::Vector<Aws::String>& GetTagKeys() const { return m_tagKeys; }
101 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
102 template<typename TagKeysT = Aws::Vector<Aws::String>>
103 void SetTagKeys(TagKeysT&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::forward<TagKeysT>(value); }
104 template<typename TagKeysT = Aws::Vector<Aws::String>>
105 DescribeClustersRequest& WithTagKeys(TagKeysT&& value) { SetTagKeys(std::forward<TagKeysT>(value)); return *this;}
106 template<typename TagKeysT = Aws::String>
107 DescribeClustersRequest& AddTagKeys(TagKeysT&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.emplace_back(std::forward<TagKeysT>(value)); return *this; }
109
111
119 inline const Aws::Vector<Aws::String>& GetTagValues() const { return m_tagValues; }
120 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
121 template<typename TagValuesT = Aws::Vector<Aws::String>>
122 void SetTagValues(TagValuesT&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::forward<TagValuesT>(value); }
123 template<typename TagValuesT = Aws::Vector<Aws::String>>
124 DescribeClustersRequest& WithTagValues(TagValuesT&& value) { SetTagValues(std::forward<TagValuesT>(value)); return *this;}
125 template<typename TagValuesT = Aws::String>
126 DescribeClustersRequest& AddTagValues(TagValuesT&& value) { m_tagValuesHasBeenSet = true; m_tagValues.emplace_back(std::forward<TagValuesT>(value)); return *this; }
128 private:
129
130 Aws::String m_clusterIdentifier;
131 bool m_clusterIdentifierHasBeenSet = false;
132
133 int m_maxRecords{0};
134 bool m_maxRecordsHasBeenSet = false;
135
136 Aws::String m_marker;
137 bool m_markerHasBeenSet = false;
138
139 Aws::Vector<Aws::String> m_tagKeys;
140 bool m_tagKeysHasBeenSet = false;
141
142 Aws::Vector<Aws::String> m_tagValues;
143 bool m_tagValuesHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace Redshift
148} // namespace Aws
const Aws::Vector< Aws::String > & GetTagKeys() const
void SetClusterIdentifier(ClusterIdentifierT &&value)
DescribeClustersRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeClustersRequest & WithMaxRecords(int value)
AWS_REDSHIFT_API DescribeClustersRequest()=default
DescribeClustersRequest & WithTagKeys(TagKeysT &&value)
virtual const char * GetServiceRequestName() const override
DescribeClustersRequest & WithTagValues(TagValuesT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< Aws::String > & GetTagValues() const
DescribeClustersRequest & AddTagValues(TagValuesT &&value)
DescribeClustersRequest & AddTagKeys(TagKeysT &&value)
DescribeClustersRequest & WithMarker(MarkerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector