AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeClusterSecurityGroupsRequest.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 DescribeClusterSecurityGroupsRequest() = 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 "DescribeClusterSecurityGroups"; }
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
50 inline const Aws::String& GetClusterSecurityGroupName() const { return m_clusterSecurityGroupName; }
51 inline bool ClusterSecurityGroupNameHasBeenSet() const { return m_clusterSecurityGroupNameHasBeenSet; }
52 template<typename ClusterSecurityGroupNameT = Aws::String>
53 void SetClusterSecurityGroupName(ClusterSecurityGroupNameT&& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = std::forward<ClusterSecurityGroupNameT>(value); }
54 template<typename ClusterSecurityGroupNameT = Aws::String>
55 DescribeClusterSecurityGroupsRequest& WithClusterSecurityGroupName(ClusterSecurityGroupNameT&& value) { SetClusterSecurityGroupName(std::forward<ClusterSecurityGroupNameT>(value)); return *this;}
57
59
67 inline int GetMaxRecords() const { return m_maxRecords; }
68 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
69 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
70 inline DescribeClusterSecurityGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
72
74
84 inline const Aws::String& GetMarker() const { return m_marker; }
85 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
86 template<typename MarkerT = Aws::String>
87 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
88 template<typename MarkerT = Aws::String>
89 DescribeClusterSecurityGroupsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
91
93
101 inline const Aws::Vector<Aws::String>& GetTagKeys() const { return m_tagKeys; }
102 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
103 template<typename TagKeysT = Aws::Vector<Aws::String>>
104 void SetTagKeys(TagKeysT&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::forward<TagKeysT>(value); }
105 template<typename TagKeysT = Aws::Vector<Aws::String>>
106 DescribeClusterSecurityGroupsRequest& WithTagKeys(TagKeysT&& value) { SetTagKeys(std::forward<TagKeysT>(value)); return *this;}
107 template<typename TagKeysT = Aws::String>
108 DescribeClusterSecurityGroupsRequest& AddTagKeys(TagKeysT&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.emplace_back(std::forward<TagKeysT>(value)); return *this; }
110
112
120 inline const Aws::Vector<Aws::String>& GetTagValues() const { return m_tagValues; }
121 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
122 template<typename TagValuesT = Aws::Vector<Aws::String>>
123 void SetTagValues(TagValuesT&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::forward<TagValuesT>(value); }
124 template<typename TagValuesT = Aws::Vector<Aws::String>>
125 DescribeClusterSecurityGroupsRequest& WithTagValues(TagValuesT&& value) { SetTagValues(std::forward<TagValuesT>(value)); return *this;}
126 template<typename TagValuesT = Aws::String>
127 DescribeClusterSecurityGroupsRequest& AddTagValues(TagValuesT&& value) { m_tagValuesHasBeenSet = true; m_tagValues.emplace_back(std::forward<TagValuesT>(value)); return *this; }
129 private:
130
131 Aws::String m_clusterSecurityGroupName;
132 bool m_clusterSecurityGroupNameHasBeenSet = false;
133
134 int m_maxRecords{0};
135 bool m_maxRecordsHasBeenSet = false;
136
137 Aws::String m_marker;
138 bool m_markerHasBeenSet = false;
139
140 Aws::Vector<Aws::String> m_tagKeys;
141 bool m_tagKeysHasBeenSet = false;
142
143 Aws::Vector<Aws::String> m_tagValues;
144 bool m_tagValuesHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Redshift
149} // 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