AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
DescribeClusterSecurityGroupsRequest.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/redshift/RedshiftRequest.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Redshift {
16namespace Model {
17
24 public:
25 AWS_REDSHIFT_API DescribeClusterSecurityGroupsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeClusterSecurityGroups"; }
32
33 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
46 inline const Aws::String& GetClusterSecurityGroupName() const { return m_clusterSecurityGroupName; }
47 inline bool ClusterSecurityGroupNameHasBeenSet() const { return m_clusterSecurityGroupNameHasBeenSet; }
48 template <typename ClusterSecurityGroupNameT = Aws::String>
49 void SetClusterSecurityGroupName(ClusterSecurityGroupNameT&& value) {
50 m_clusterSecurityGroupNameHasBeenSet = true;
51 m_clusterSecurityGroupName = std::forward<ClusterSecurityGroupNameT>(value);
52 }
53 template <typename ClusterSecurityGroupNameT = Aws::String>
55 SetClusterSecurityGroupName(std::forward<ClusterSecurityGroupNameT>(value));
56 return *this;
57 }
59
61
69 inline int GetMaxRecords() const { return m_maxRecords; }
70 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
71 inline void SetMaxRecords(int value) {
72 m_maxRecordsHasBeenSet = true;
73 m_maxRecords = value;
74 }
76 SetMaxRecords(value);
77 return *this;
78 }
80
82
92 inline const Aws::String& GetMarker() const { return m_marker; }
93 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
94 template <typename MarkerT = Aws::String>
95 void SetMarker(MarkerT&& value) {
96 m_markerHasBeenSet = true;
97 m_marker = std::forward<MarkerT>(value);
98 }
99 template <typename MarkerT = Aws::String>
101 SetMarker(std::forward<MarkerT>(value));
102 return *this;
103 }
105
107
115 inline const Aws::Vector<Aws::String>& GetTagKeys() const { return m_tagKeys; }
116 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
117 template <typename TagKeysT = Aws::Vector<Aws::String>>
118 void SetTagKeys(TagKeysT&& value) {
119 m_tagKeysHasBeenSet = true;
120 m_tagKeys = std::forward<TagKeysT>(value);
121 }
122 template <typename TagKeysT = Aws::Vector<Aws::String>>
124 SetTagKeys(std::forward<TagKeysT>(value));
125 return *this;
126 }
127 template <typename TagKeysT = Aws::String>
129 m_tagKeysHasBeenSet = true;
130 m_tagKeys.emplace_back(std::forward<TagKeysT>(value));
131 return *this;
132 }
134
136
144 inline const Aws::Vector<Aws::String>& GetTagValues() const { return m_tagValues; }
145 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
146 template <typename TagValuesT = Aws::Vector<Aws::String>>
147 void SetTagValues(TagValuesT&& value) {
148 m_tagValuesHasBeenSet = true;
149 m_tagValues = std::forward<TagValuesT>(value);
150 }
151 template <typename TagValuesT = Aws::Vector<Aws::String>>
153 SetTagValues(std::forward<TagValuesT>(value));
154 return *this;
155 }
156 template <typename TagValuesT = Aws::String>
158 m_tagValuesHasBeenSet = true;
159 m_tagValues.emplace_back(std::forward<TagValuesT>(value));
160 return *this;
161 }
163 private:
164 Aws::String m_clusterSecurityGroupName;
165
166 int m_maxRecords{0};
167
168 Aws::String m_marker;
169
170 Aws::Vector<Aws::String> m_tagKeys;
171
172 Aws::Vector<Aws::String> m_tagValues;
173 bool m_clusterSecurityGroupNameHasBeenSet = false;
174 bool m_maxRecordsHasBeenSet = false;
175 bool m_markerHasBeenSet = false;
176 bool m_tagKeysHasBeenSet = false;
177 bool m_tagValuesHasBeenSet = false;
178};
179
180} // namespace Model
181} // namespace Redshift
182} // namespace Aws
DescribeClusterSecurityGroupsRequest & AddTagKeys(TagKeysT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeClusterSecurityGroupsRequest & WithTagKeys(TagKeysT &&value)
DescribeClusterSecurityGroupsRequest & WithMarker(MarkerT &&value)
DescribeClusterSecurityGroupsRequest & AddTagValues(TagValuesT &&value)
DescribeClusterSecurityGroupsRequest & WithClusterSecurityGroupName(ClusterSecurityGroupNameT &&value)
DescribeClusterSecurityGroupsRequest & WithTagValues(TagValuesT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector