AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEventSubscriptionsRequest.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 "DescribeEventSubscriptions"; }
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
48 inline const Aws::String& GetSubscriptionName() const{ return m_subscriptionName; }
49 inline bool SubscriptionNameHasBeenSet() const { return m_subscriptionNameHasBeenSet; }
50 inline void SetSubscriptionName(const Aws::String& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = value; }
51 inline void SetSubscriptionName(Aws::String&& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = std::move(value); }
52 inline void SetSubscriptionName(const char* value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName.assign(value); }
55 inline DescribeEventSubscriptionsRequest& WithSubscriptionName(const char* value) { SetSubscriptionName(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 DescribeEventSubscriptionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
72
74
82 inline const Aws::String& GetMarker() const{ return m_marker; }
83 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
84 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
85 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
86 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
87 inline DescribeEventSubscriptionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
88 inline DescribeEventSubscriptionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
89 inline DescribeEventSubscriptionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
91
93
102 inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
103 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
104 inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
105 inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
107 inline DescribeEventSubscriptionsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
108 inline DescribeEventSubscriptionsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
109 inline DescribeEventSubscriptionsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
110 inline DescribeEventSubscriptionsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
112
114
123 inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
124 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
125 inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
126 inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
129 inline DescribeEventSubscriptionsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
130 inline DescribeEventSubscriptionsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
131 inline DescribeEventSubscriptionsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
133 private:
134
135 Aws::String m_subscriptionName;
136 bool m_subscriptionNameHasBeenSet = false;
137
138 int m_maxRecords;
139 bool m_maxRecordsHasBeenSet = false;
140
141 Aws::String m_marker;
142 bool m_markerHasBeenSet = false;
143
144 Aws::Vector<Aws::String> m_tagKeys;
145 bool m_tagKeysHasBeenSet = false;
146
147 Aws::Vector<Aws::String> m_tagValues;
148 bool m_tagValuesHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace Redshift
153} // namespace Aws
DescribeEventSubscriptionsRequest & AddTagKeys(const char *value)
DescribeEventSubscriptionsRequest & WithSubscriptionName(Aws::String &&value)
DescribeEventSubscriptionsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
DescribeEventSubscriptionsRequest & AddTagValues(const char *value)
DescribeEventSubscriptionsRequest & WithMarker(const Aws::String &value)
DescribeEventSubscriptionsRequest & AddTagKeys(Aws::String &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeEventSubscriptionsRequest & WithSubscriptionName(const char *value)
DescribeEventSubscriptionsRequest & WithMarker(Aws::String &&value)
DescribeEventSubscriptionsRequest & WithMarker(const char *value)
DescribeEventSubscriptionsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
DescribeEventSubscriptionsRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeEventSubscriptionsRequest & AddTagValues(Aws::String &&value)
DescribeEventSubscriptionsRequest & AddTagKeys(const Aws::String &value)
DescribeEventSubscriptionsRequest & AddTagValues(const Aws::String &value)
DescribeEventSubscriptionsRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
DescribeEventSubscriptionsRequest & WithSubscriptionName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector