AWS SDK for C++  1.9.40
AWS SDK for C++
DescribeEventSubscriptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Redshift
16 {
17 namespace 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::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
47  inline const Aws::String& GetSubscriptionName() const{ return m_subscriptionName; }
48 
53  inline bool SubscriptionNameHasBeenSet() const { return m_subscriptionNameHasBeenSet; }
54 
59  inline void SetSubscriptionName(const Aws::String& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = value; }
60 
65  inline void SetSubscriptionName(Aws::String&& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = std::move(value); }
66 
71  inline void SetSubscriptionName(const char* value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName.assign(value); }
72 
77  inline DescribeEventSubscriptionsRequest& WithSubscriptionName(const Aws::String& value) { SetSubscriptionName(value); return *this;}
78 
83  inline DescribeEventSubscriptionsRequest& WithSubscriptionName(Aws::String&& value) { SetSubscriptionName(std::move(value)); return *this;}
84 
89  inline DescribeEventSubscriptionsRequest& WithSubscriptionName(const char* value) { SetSubscriptionName(value); return *this;}
90 
91 
100  inline int GetMaxRecords() const{ return m_maxRecords; }
101 
110  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
111 
120  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
121 
130  inline DescribeEventSubscriptionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
131 
132 
141  inline const Aws::String& GetMarker() const{ return m_marker; }
142 
151  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
152 
161  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
162 
171  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
172 
181  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
182 
191  inline DescribeEventSubscriptionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
192 
201  inline DescribeEventSubscriptionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
202 
211  inline DescribeEventSubscriptionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
212 
213 
223  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
224 
234  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
235 
245  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
246 
256  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
257 
267  inline DescribeEventSubscriptionsRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
268 
278  inline DescribeEventSubscriptionsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
279 
289  inline DescribeEventSubscriptionsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
290 
300  inline DescribeEventSubscriptionsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
301 
311  inline DescribeEventSubscriptionsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
312 
313 
323  inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
324 
334  inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
335 
345  inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
346 
356  inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
357 
367  inline DescribeEventSubscriptionsRequest& WithTagValues(const Aws::Vector<Aws::String>& value) { SetTagValues(value); return *this;}
368 
378  inline DescribeEventSubscriptionsRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(std::move(value)); return *this;}
379 
389  inline DescribeEventSubscriptionsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
390 
400  inline DescribeEventSubscriptionsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
401 
411  inline DescribeEventSubscriptionsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
412 
413  private:
414 
415  Aws::String m_subscriptionName;
416  bool m_subscriptionNameHasBeenSet;
417 
418  int m_maxRecords;
419  bool m_maxRecordsHasBeenSet;
420 
421  Aws::String m_marker;
422  bool m_markerHasBeenSet;
423 
424  Aws::Vector<Aws::String> m_tagKeys;
425  bool m_tagKeysHasBeenSet;
426 
427  Aws::Vector<Aws::String> m_tagValues;
428  bool m_tagValuesHasBeenSet;
429  };
430 
431 } // namespace Model
432 } // namespace Redshift
433 } // namespace Aws
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeEventSubscriptionsRequest.h:171
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeEventSubscriptionsRequest.h:141
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::WithMarker
DescribeEventSubscriptionsRequest & WithMarker(Aws::String &&value)
Definition: DescribeEventSubscriptionsRequest.h:201
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::WithTagKeys
DescribeEventSubscriptionsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DescribeEventSubscriptionsRequest.h:267
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::AddTagValues
DescribeEventSubscriptionsRequest & AddTagValues(const char *value)
Definition: DescribeEventSubscriptionsRequest.h:411
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::WithMaxRecords
DescribeEventSubscriptionsRequest & WithMaxRecords(int value)
Definition: DescribeEventSubscriptionsRequest.h:130
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DescribeEventSubscriptionsRequest.h:245
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::AddTagKeys
DescribeEventSubscriptionsRequest & AddTagKeys(const Aws::String &value)
Definition: DescribeEventSubscriptionsRequest.h:289
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::TagValuesHasBeenSet
bool TagValuesHasBeenSet() const
Definition: DescribeEventSubscriptionsRequest.h:334
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::WithSubscriptionName
DescribeEventSubscriptionsRequest & WithSubscriptionName(Aws::String &&value)
Definition: DescribeEventSubscriptionsRequest.h:83
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeEventSubscriptionsRequest.h:161
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeEventSubscriptionsRequest.h:110
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::WithSubscriptionName
DescribeEventSubscriptionsRequest & WithSubscriptionName(const char *value)
Definition: DescribeEventSubscriptionsRequest.h:89
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::WithMarker
DescribeEventSubscriptionsRequest & WithMarker(const Aws::String &value)
Definition: DescribeEventSubscriptionsRequest.h:191
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
RedshiftRequest.h
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::DescribeEventSubscriptionsRequest
DescribeEventSubscriptionsRequest()
AWSVector.h
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::WithSubscriptionName
DescribeEventSubscriptionsRequest & WithSubscriptionName(const Aws::String &value)
Definition: DescribeEventSubscriptionsRequest.h:77
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeEventSubscriptionsRequest.h:100
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::SetTagValues
void SetTagValues(Aws::Vector< Aws::String > &&value)
Definition: DescribeEventSubscriptionsRequest.h:356
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::WithTagValues
DescribeEventSubscriptionsRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
Definition: DescribeEventSubscriptionsRequest.h:367
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: DescribeEventSubscriptionsRequest.h:234
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::AddTagValues
DescribeEventSubscriptionsRequest & AddTagValues(Aws::String &&value)
Definition: DescribeEventSubscriptionsRequest.h:400
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeEventSubscriptionsRequest.h:151
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::WithMarker
DescribeEventSubscriptionsRequest & WithMarker(const char *value)
Definition: DescribeEventSubscriptionsRequest.h:211
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::AddTagValues
DescribeEventSubscriptionsRequest & AddTagValues(const Aws::String &value)
Definition: DescribeEventSubscriptionsRequest.h:389
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::SetTagValues
void SetTagValues(const Aws::Vector< Aws::String > &value)
Definition: DescribeEventSubscriptionsRequest.h:345
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
AWSString.h
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::SetSubscriptionName
void SetSubscriptionName(Aws::String &&value)
Definition: DescribeEventSubscriptionsRequest.h:65
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeEventSubscriptionsRequest.h:120
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::GetSubscriptionName
const Aws::String & GetSubscriptionName() const
Definition: DescribeEventSubscriptionsRequest.h:47
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::WithTagKeys
DescribeEventSubscriptionsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DescribeEventSubscriptionsRequest.h:278
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::SetSubscriptionName
void SetSubscriptionName(const Aws::String &value)
Definition: DescribeEventSubscriptionsRequest.h:59
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DescribeEventSubscriptionsRequest.h:256
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::SetSubscriptionName
void SetSubscriptionName(const char *value)
Definition: DescribeEventSubscriptionsRequest.h:71
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::AddTagKeys
DescribeEventSubscriptionsRequest & AddTagKeys(const char *value)
Definition: DescribeEventSubscriptionsRequest.h:311
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::WithTagValues
DescribeEventSubscriptionsRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
Definition: DescribeEventSubscriptionsRequest.h:378
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::GetTagValues
const Aws::Vector< Aws::String > & GetTagValues() const
Definition: DescribeEventSubscriptionsRequest.h:323
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: DescribeEventSubscriptionsRequest.h:223
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeEventSubscriptionsRequest.h:181
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::AddTagKeys
DescribeEventSubscriptionsRequest & AddTagKeys(Aws::String &&value)
Definition: DescribeEventSubscriptionsRequest.h:300
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::SubscriptionNameHasBeenSet
bool SubscriptionNameHasBeenSet() const
Definition: DescribeEventSubscriptionsRequest.h:53
Aws::Redshift::Model::DescribeEventSubscriptionsRequest
Definition: DescribeEventSubscriptionsRequest.h:26
Aws::Redshift::Model::DescribeEventSubscriptionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeEventSubscriptionsRequest.h:34