AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeClusterSubnetGroupsRequest.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 "DescribeClusterSubnetGroups"; }
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
47 inline const Aws::String& GetClusterSubnetGroupName() const{ return m_clusterSubnetGroupName; }
48 inline bool ClusterSubnetGroupNameHasBeenSet() const { return m_clusterSubnetGroupNameHasBeenSet; }
49 inline void SetClusterSubnetGroupName(const Aws::String& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = value; }
50 inline void SetClusterSubnetGroupName(Aws::String&& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = std::move(value); }
51 inline void SetClusterSubnetGroupName(const char* value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName.assign(value); }
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 DescribeClusterSubnetGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
71
73
81 inline const Aws::String& GetMarker() const{ return m_marker; }
82 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
83 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
84 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
85 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
86 inline DescribeClusterSubnetGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
87 inline DescribeClusterSubnetGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
88 inline DescribeClusterSubnetGroupsRequest& WithMarker(const char* value) { SetMarker(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 inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
103 inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
105 inline DescribeClusterSubnetGroupsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
106 inline DescribeClusterSubnetGroupsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
107 inline DescribeClusterSubnetGroupsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
108 inline DescribeClusterSubnetGroupsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(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 inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
123 inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
126 inline DescribeClusterSubnetGroupsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
127 inline DescribeClusterSubnetGroupsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
128 inline DescribeClusterSubnetGroupsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
130 private:
131
132 Aws::String m_clusterSubnetGroupName;
133 bool m_clusterSubnetGroupNameHasBeenSet = false;
134
135 int m_maxRecords;
136 bool m_maxRecordsHasBeenSet = false;
137
138 Aws::String m_marker;
139 bool m_markerHasBeenSet = false;
140
141 Aws::Vector<Aws::String> m_tagKeys;
142 bool m_tagKeysHasBeenSet = false;
143
144 Aws::Vector<Aws::String> m_tagValues;
145 bool m_tagValuesHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace Redshift
150} // namespace Aws
DescribeClusterSubnetGroupsRequest & AddTagValues(const Aws::String &value)
DescribeClusterSubnetGroupsRequest & WithMarker(Aws::String &&value)
DescribeClusterSubnetGroupsRequest & AddTagKeys(const char *value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeClusterSubnetGroupsRequest & AddTagValues(Aws::String &&value)
DescribeClusterSubnetGroupsRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
DescribeClusterSubnetGroupsRequest & WithClusterSubnetGroupName(Aws::String &&value)
DescribeClusterSubnetGroupsRequest & WithClusterSubnetGroupName(const Aws::String &value)
DescribeClusterSubnetGroupsRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
DescribeClusterSubnetGroupsRequest & AddTagKeys(const Aws::String &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeClusterSubnetGroupsRequest & AddTagValues(const char *value)
DescribeClusterSubnetGroupsRequest & WithMarker(const char *value)
DescribeClusterSubnetGroupsRequest & WithClusterSubnetGroupName(const char *value)
DescribeClusterSubnetGroupsRequest & AddTagKeys(Aws::String &&value)
DescribeClusterSubnetGroupsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
DescribeClusterSubnetGroupsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
DescribeClusterSubnetGroupsRequest & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector