AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeClustersRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dax/DAXRequest.h>
10#include <aws/dax/DAX_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DAX {
16namespace Model {
17
21 public:
22 AWS_DAX_API DescribeClustersRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeClusters"; }
29
30 AWS_DAX_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::Vector<Aws::String>& GetClusterNames() const { return m_clusterNames; }
39 inline bool ClusterNamesHasBeenSet() const { return m_clusterNamesHasBeenSet; }
40 template <typename ClusterNamesT = Aws::Vector<Aws::String>>
41 void SetClusterNames(ClusterNamesT&& value) {
42 m_clusterNamesHasBeenSet = true;
43 m_clusterNames = std::forward<ClusterNamesT>(value);
44 }
45 template <typename ClusterNamesT = Aws::Vector<Aws::String>>
46 DescribeClustersRequest& WithClusterNames(ClusterNamesT&& value) {
47 SetClusterNames(std::forward<ClusterNamesT>(value));
48 return *this;
49 }
50 template <typename ClusterNamesT = Aws::String>
51 DescribeClustersRequest& AddClusterNames(ClusterNamesT&& value) {
52 m_clusterNamesHasBeenSet = true;
53 m_clusterNames.emplace_back(std::forward<ClusterNamesT>(value));
54 return *this;
55 }
57
59
65 inline int GetMaxResults() const { return m_maxResults; }
66 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
67 inline void SetMaxResults(int value) {
68 m_maxResultsHasBeenSet = true;
69 m_maxResults = value;
70 }
72 SetMaxResults(value);
73 return *this;
74 }
76
78
84 inline const Aws::String& GetNextToken() const { return m_nextToken; }
85 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
86 template <typename NextTokenT = Aws::String>
87 void SetNextToken(NextTokenT&& value) {
88 m_nextTokenHasBeenSet = true;
89 m_nextToken = std::forward<NextTokenT>(value);
90 }
91 template <typename NextTokenT = Aws::String>
93 SetNextToken(std::forward<NextTokenT>(value));
94 return *this;
95 }
97 private:
98 Aws::Vector<Aws::String> m_clusterNames;
99
100 int m_maxResults{0};
101
102 Aws::String m_nextToken;
103 bool m_clusterNamesHasBeenSet = false;
104 bool m_maxResultsHasBeenSet = false;
105 bool m_nextTokenHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace DAX
110} // namespace Aws
AWS_DAX_API DescribeClustersRequest()=default
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetClusterNames() const
AWS_DAX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeClustersRequest & WithClusterNames(ClusterNamesT &&value)
DescribeClustersRequest & WithMaxResults(int value)
AWS_DAX_API Aws::String SerializePayload() const override
DescribeClustersRequest & AddClusterNames(ClusterNamesT &&value)
DescribeClustersRequest & WithNextToken(NextTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector