AWS SDK for C++  1.9.159
AWS SDK for C++
DescribeDataSharesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Redshift
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeDataShares"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
42  inline const Aws::String& GetDataShareArn() const{ return m_dataShareArn; }
43 
47  inline bool DataShareArnHasBeenSet() const { return m_dataShareArnHasBeenSet; }
48 
52  inline void SetDataShareArn(const Aws::String& value) { m_dataShareArnHasBeenSet = true; m_dataShareArn = value; }
53 
57  inline void SetDataShareArn(Aws::String&& value) { m_dataShareArnHasBeenSet = true; m_dataShareArn = std::move(value); }
58 
62  inline void SetDataShareArn(const char* value) { m_dataShareArnHasBeenSet = true; m_dataShareArn.assign(value); }
63 
67  inline DescribeDataSharesRequest& WithDataShareArn(const Aws::String& value) { SetDataShareArn(value); return *this;}
68 
72  inline DescribeDataSharesRequest& WithDataShareArn(Aws::String&& value) { SetDataShareArn(std::move(value)); return *this;}
73 
77  inline DescribeDataSharesRequest& WithDataShareArn(const char* value) { SetDataShareArn(value); return *this;}
78 
79 
87  inline int GetMaxRecords() const{ return m_maxRecords; }
88 
96  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
97 
105  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
106 
114  inline DescribeDataSharesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
115 
116 
125  inline const Aws::String& GetMarker() const{ return m_marker; }
126 
135  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
136 
145  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
146 
155  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
156 
165  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
166 
175  inline DescribeDataSharesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
176 
185  inline DescribeDataSharesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
186 
195  inline DescribeDataSharesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
196 
197  private:
198 
199  Aws::String m_dataShareArn;
200  bool m_dataShareArnHasBeenSet;
201 
202  int m_maxRecords;
203  bool m_maxRecordsHasBeenSet;
204 
205  Aws::String m_marker;
206  bool m_markerHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace Redshift
211 } // namespace Aws
Aws::Redshift::Model::DescribeDataSharesRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeDataSharesRequest.h:135
Aws::Redshift::Model::DescribeDataSharesRequest
Definition: DescribeDataSharesRequest.h:22
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeDataSharesRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeDataSharesRequest.h:165
Aws::Redshift::Model::DescribeDataSharesRequest::WithMaxRecords
DescribeDataSharesRequest & WithMaxRecords(int value)
Definition: DescribeDataSharesRequest.h:114
Aws::Redshift::Model::DescribeDataSharesRequest::SetDataShareArn
void SetDataShareArn(const Aws::String &value)
Definition: DescribeDataSharesRequest.h:52
Aws::Redshift::Model::DescribeDataSharesRequest::DataShareArnHasBeenSet
bool DataShareArnHasBeenSet() const
Definition: DescribeDataSharesRequest.h:47
Aws::Redshift::Model::DescribeDataSharesRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDataSharesRequest.h:125
Aws::Redshift::Model::DescribeDataSharesRequest::WithMarker
DescribeDataSharesRequest & WithMarker(const char *value)
Definition: DescribeDataSharesRequest.h:195
RedshiftRequest.h
Aws::Redshift::Model::DescribeDataSharesRequest::WithMarker
DescribeDataSharesRequest & WithMarker(const Aws::String &value)
Definition: DescribeDataSharesRequest.h:175
Aws::Redshift::Model::DescribeDataSharesRequest::SetDataShareArn
void SetDataShareArn(Aws::String &&value)
Definition: DescribeDataSharesRequest.h:57
Aws::Redshift::Model::DescribeDataSharesRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDataSharesRequest.h:155
Aws::Redshift::Model::DescribeDataSharesRequest::GetDataShareArn
const Aws::String & GetDataShareArn() const
Definition: DescribeDataSharesRequest.h:42
Aws::Redshift::Model::DescribeDataSharesRequest::WithMarker
DescribeDataSharesRequest & WithMarker(Aws::String &&value)
Definition: DescribeDataSharesRequest.h:185
Aws::Redshift::Model::DescribeDataSharesRequest::WithDataShareArn
DescribeDataSharesRequest & WithDataShareArn(Aws::String &&value)
Definition: DescribeDataSharesRequest.h:72
Aws::Redshift::Model::DescribeDataSharesRequest::DescribeDataSharesRequest
DescribeDataSharesRequest()
Aws::Redshift::Model::DescribeDataSharesRequest::WithDataShareArn
DescribeDataSharesRequest & WithDataShareArn(const char *value)
Definition: DescribeDataSharesRequest.h:77
Aws::Redshift::Model::DescribeDataSharesRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDataSharesRequest.h:145
Aws::Redshift::Model::DescribeDataSharesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDataSharesRequest.h:30
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
Aws::Redshift::Model::DescribeDataSharesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWSString.h
Aws::Redshift::Model::DescribeDataSharesRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeDataSharesRequest.h:96
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeDataSharesRequest::SetDataShareArn
void SetDataShareArn(const char *value)
Definition: DescribeDataSharesRequest.h:62
Aws::Redshift::Model::DescribeDataSharesRequest::WithDataShareArn
DescribeDataSharesRequest & WithDataShareArn(const Aws::String &value)
Definition: DescribeDataSharesRequest.h:67
Aws::Redshift::Model::DescribeDataSharesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DescribeDataSharesRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeDataSharesRequest.h:105
Aws::Redshift::Model::DescribeDataSharesRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeDataSharesRequest.h:87