AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetClusterSecurityGroupName(const Aws::String& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = value; }
53 inline void SetClusterSecurityGroupName(Aws::String&& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = std::move(value); }
54 inline void SetClusterSecurityGroupName(const char* value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName.assign(value); }
59
61
69 inline int GetMaxRecords() const{ return m_maxRecords; }
70 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
71 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
72 inline DescribeClusterSecurityGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
74
76
86 inline const Aws::String& GetMarker() const{ return m_marker; }
87 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
88 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
89 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
90 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
91 inline DescribeClusterSecurityGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
92 inline DescribeClusterSecurityGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
93 inline DescribeClusterSecurityGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
95
97
105 inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
106 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
107 inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
108 inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
110 inline DescribeClusterSecurityGroupsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
111 inline DescribeClusterSecurityGroupsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
112 inline DescribeClusterSecurityGroupsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
113 inline DescribeClusterSecurityGroupsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
115
117
125 inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
126 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
127 inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
128 inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
131 inline DescribeClusterSecurityGroupsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
132 inline DescribeClusterSecurityGroupsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
133 inline DescribeClusterSecurityGroupsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
135 private:
136
137 Aws::String m_clusterSecurityGroupName;
138 bool m_clusterSecurityGroupNameHasBeenSet = false;
139
140 int m_maxRecords;
141 bool m_maxRecordsHasBeenSet = false;
142
143 Aws::String m_marker;
144 bool m_markerHasBeenSet = false;
145
146 Aws::Vector<Aws::String> m_tagKeys;
147 bool m_tagKeysHasBeenSet = false;
148
149 Aws::Vector<Aws::String> m_tagValues;
150 bool m_tagValuesHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace Redshift
155} // namespace Aws
DescribeClusterSecurityGroupsRequest & AddTagValues(Aws::String &&value)
DescribeClusterSecurityGroupsRequest & AddTagKeys(const Aws::String &value)
DescribeClusterSecurityGroupsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
DescribeClusterSecurityGroupsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
DescribeClusterSecurityGroupsRequest & WithMarker(const char *value)
DescribeClusterSecurityGroupsRequest & AddTagKeys(const char *value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeClusterSecurityGroupsRequest & WithClusterSecurityGroupName(const Aws::String &value)
DescribeClusterSecurityGroupsRequest & AddTagKeys(Aws::String &&value)
DescribeClusterSecurityGroupsRequest & WithMarker(Aws::String &&value)
DescribeClusterSecurityGroupsRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
DescribeClusterSecurityGroupsRequest & AddTagValues(const char *value)
DescribeClusterSecurityGroupsRequest & WithClusterSecurityGroupName(Aws::String &&value)
DescribeClusterSecurityGroupsRequest & WithMarker(const Aws::String &value)
DescribeClusterSecurityGroupsRequest & WithClusterSecurityGroupName(const char *value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeClusterSecurityGroupsRequest & AddTagValues(const Aws::String &value)
DescribeClusterSecurityGroupsRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector