AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeDataSharesForConsumerRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace Redshift
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeDataSharesForConsumer"; }
32
34
35 protected:
36 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
44 inline const Aws::String& GetConsumerArn() const{ return m_consumerArn; }
45
50 inline bool ConsumerArnHasBeenSet() const { return m_consumerArnHasBeenSet; }
51
56 inline void SetConsumerArn(const Aws::String& value) { m_consumerArnHasBeenSet = true; m_consumerArn = value; }
57
62 inline void SetConsumerArn(Aws::String&& value) { m_consumerArnHasBeenSet = true; m_consumerArn = std::move(value); }
63
68 inline void SetConsumerArn(const char* value) { m_consumerArnHasBeenSet = true; m_consumerArn.assign(value); }
69
75
80 inline DescribeDataSharesForConsumerRequest& WithConsumerArn(Aws::String&& value) { SetConsumerArn(std::move(value)); return *this;}
81
86 inline DescribeDataSharesForConsumerRequest& WithConsumerArn(const char* value) { SetConsumerArn(value); return *this;}
87
88
94 inline const DataShareStatusForConsumer& GetStatus() const{ return m_status; }
95
101 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
102
108 inline void SetStatus(const DataShareStatusForConsumer& value) { m_statusHasBeenSet = true; m_status = value; }
109
115 inline void SetStatus(DataShareStatusForConsumer&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
116
123
129 inline DescribeDataSharesForConsumerRequest& WithStatus(DataShareStatusForConsumer&& value) { SetStatus(std::move(value)); return *this;}
130
131
139 inline int GetMaxRecords() const{ return m_maxRecords; }
140
148 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
149
157 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
158
166 inline DescribeDataSharesForConsumerRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
167
168
177 inline const Aws::String& GetMarker() const{ return m_marker; }
178
187 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
188
197 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
198
207 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
208
217 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
218
227 inline DescribeDataSharesForConsumerRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
228
237 inline DescribeDataSharesForConsumerRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
238
247 inline DescribeDataSharesForConsumerRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
248
249 private:
250
251 Aws::String m_consumerArn;
252 bool m_consumerArnHasBeenSet = false;
253
255 bool m_statusHasBeenSet = false;
256
257 int m_maxRecords;
258 bool m_maxRecordsHasBeenSet = false;
259
260 Aws::String m_marker;
261 bool m_markerHasBeenSet = false;
262 };
263
264} // namespace Model
265} // namespace Redshift
266} // namespace Aws
#define AWS_REDSHIFT_API
DescribeDataSharesForConsumerRequest & WithMarker(const Aws::String &value)
DescribeDataSharesForConsumerRequest & WithConsumerArn(const Aws::String &value)
DescribeDataSharesForConsumerRequest & WithStatus(DataShareStatusForConsumer &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDataSharesForConsumerRequest & WithConsumerArn(const char *value)
DescribeDataSharesForConsumerRequest & WithMarker(Aws::String &&value)
DescribeDataSharesForConsumerRequest & WithConsumerArn(Aws::String &&value)
DescribeDataSharesForConsumerRequest & WithStatus(const DataShareStatusForConsumer &value)
DescribeDataSharesForConsumerRequest & WithMarker(const char *value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String