AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeDataSharesForProducerRequest.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 "DescribeDataSharesForProducer"; }
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& GetProducerArn() const{ return m_producerArn; }
45
50 inline bool ProducerArnHasBeenSet() const { return m_producerArnHasBeenSet; }
51
56 inline void SetProducerArn(const Aws::String& value) { m_producerArnHasBeenSet = true; m_producerArn = value; }
57
62 inline void SetProducerArn(Aws::String&& value) { m_producerArnHasBeenSet = true; m_producerArn = std::move(value); }
63
68 inline void SetProducerArn(const char* value) { m_producerArnHasBeenSet = true; m_producerArn.assign(value); }
69
75
80 inline DescribeDataSharesForProducerRequest& WithProducerArn(Aws::String&& value) { SetProducerArn(std::move(value)); return *this;}
81
86 inline DescribeDataSharesForProducerRequest& WithProducerArn(const char* value) { SetProducerArn(value); return *this;}
87
88
94 inline const DataShareStatusForProducer& GetStatus() const{ return m_status; }
95
101 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
102
108 inline void SetStatus(const DataShareStatusForProducer& value) { m_statusHasBeenSet = true; m_status = value; }
109
115 inline void SetStatus(DataShareStatusForProducer&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
116
123
129 inline DescribeDataSharesForProducerRequest& WithStatus(DataShareStatusForProducer&& 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 DescribeDataSharesForProducerRequest& 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 DescribeDataSharesForProducerRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
228
237 inline DescribeDataSharesForProducerRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
238
247 inline DescribeDataSharesForProducerRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
248
249 private:
250
251 Aws::String m_producerArn;
252 bool m_producerArnHasBeenSet = 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
DescribeDataSharesForProducerRequest & WithStatus(const DataShareStatusForProducer &value)
DescribeDataSharesForProducerRequest & WithProducerArn(const Aws::String &value)
DescribeDataSharesForProducerRequest & WithProducerArn(const char *value)
DescribeDataSharesForProducerRequest & WithMarker(const char *value)
DescribeDataSharesForProducerRequest & WithMarker(Aws::String &&value)
DescribeDataSharesForProducerRequest & WithStatus(DataShareStatusForProducer &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeDataSharesForProducerRequest & WithProducerArn(Aws::String &&value)
DescribeDataSharesForProducerRequest & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String