AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeEndpointAuthorizationRequest.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 "DescribeEndpointAuthorization"; }
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& GetClusterIdentifier() const{ return m_clusterIdentifier; }
43 
47  inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
48 
52  inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
53 
57  inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
58 
62  inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
63 
67  inline DescribeEndpointAuthorizationRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
68 
72  inline DescribeEndpointAuthorizationRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
73 
77  inline DescribeEndpointAuthorizationRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
78 
79 
85  inline const Aws::String& GetAccount() const{ return m_account; }
86 
92  inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; }
93 
99  inline void SetAccount(const Aws::String& value) { m_accountHasBeenSet = true; m_account = value; }
100 
106  inline void SetAccount(Aws::String&& value) { m_accountHasBeenSet = true; m_account = std::move(value); }
107 
113  inline void SetAccount(const char* value) { m_accountHasBeenSet = true; m_account.assign(value); }
114 
120  inline DescribeEndpointAuthorizationRequest& WithAccount(const Aws::String& value) { SetAccount(value); return *this;}
121 
127  inline DescribeEndpointAuthorizationRequest& WithAccount(Aws::String&& value) { SetAccount(std::move(value)); return *this;}
128 
134  inline DescribeEndpointAuthorizationRequest& WithAccount(const char* value) { SetAccount(value); return *this;}
135 
136 
143  inline bool GetGrantee() const{ return m_grantee; }
144 
151  inline bool GranteeHasBeenSet() const { return m_granteeHasBeenSet; }
152 
159  inline void SetGrantee(bool value) { m_granteeHasBeenSet = true; m_grantee = value; }
160 
167  inline DescribeEndpointAuthorizationRequest& WithGrantee(bool value) { SetGrantee(value); return *this;}
168 
169 
176  inline int GetMaxRecords() const{ return m_maxRecords; }
177 
184  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
185 
192  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
193 
200  inline DescribeEndpointAuthorizationRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
201 
202 
209  inline const Aws::String& GetMarker() const{ return m_marker; }
210 
217  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
218 
225  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
226 
233  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
234 
241  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
242 
249  inline DescribeEndpointAuthorizationRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
250 
257  inline DescribeEndpointAuthorizationRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
258 
265  inline DescribeEndpointAuthorizationRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
266 
267  private:
268 
269  Aws::String m_clusterIdentifier;
270  bool m_clusterIdentifierHasBeenSet;
271 
272  Aws::String m_account;
273  bool m_accountHasBeenSet;
274 
275  bool m_grantee;
276  bool m_granteeHasBeenSet;
277 
278  int m_maxRecords;
279  bool m_maxRecordsHasBeenSet;
280 
281  Aws::String m_marker;
282  bool m_markerHasBeenSet;
283  };
284 
285 } // namespace Model
286 } // namespace Redshift
287 } // namespace Aws
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::GranteeHasBeenSet
bool GranteeHasBeenSet() const
Definition: DescribeEndpointAuthorizationRequest.h:151
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::WithClusterIdentifier
DescribeEndpointAuthorizationRequest & WithClusterIdentifier(const char *value)
Definition: DescribeEndpointAuthorizationRequest.h:77
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::SetAccount
void SetAccount(const char *value)
Definition: DescribeEndpointAuthorizationRequest.h:113
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::WithMarker
DescribeEndpointAuthorizationRequest & WithMarker(const char *value)
Definition: DescribeEndpointAuthorizationRequest.h:265
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::SetClusterIdentifier
void SetClusterIdentifier(const char *value)
Definition: DescribeEndpointAuthorizationRequest.h:62
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::SetClusterIdentifier
void SetClusterIdentifier(const Aws::String &value)
Definition: DescribeEndpointAuthorizationRequest.h:52
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::SerializePayload
Aws::String SerializePayload() const override
RedshiftRequest.h
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeEndpointAuthorizationRequest.h:225
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::GetAccount
const Aws::String & GetAccount() const
Definition: DescribeEndpointAuthorizationRequest.h:85
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::SetGrantee
void SetGrantee(bool value)
Definition: DescribeEndpointAuthorizationRequest.h:159
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::SetClusterIdentifier
void SetClusterIdentifier(Aws::String &&value)
Definition: DescribeEndpointAuthorizationRequest.h:57
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::AccountHasBeenSet
bool AccountHasBeenSet() const
Definition: DescribeEndpointAuthorizationRequest.h:92
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeEndpointAuthorizationRequest.h:192
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeEndpointAuthorizationRequest.h:209
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeEndpointAuthorizationRequest.h:217
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::WithAccount
DescribeEndpointAuthorizationRequest & WithAccount(Aws::String &&value)
Definition: DescribeEndpointAuthorizationRequest.h:127
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::SetAccount
void SetAccount(const Aws::String &value)
Definition: DescribeEndpointAuthorizationRequest.h:99
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::WithAccount
DescribeEndpointAuthorizationRequest & WithAccount(const char *value)
Definition: DescribeEndpointAuthorizationRequest.h:134
AWSString.h
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::WithClusterIdentifier
DescribeEndpointAuthorizationRequest & WithClusterIdentifier(Aws::String &&value)
Definition: DescribeEndpointAuthorizationRequest.h:72
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::SetAccount
void SetAccount(Aws::String &&value)
Definition: DescribeEndpointAuthorizationRequest.h:106
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeEndpointAuthorizationRequest.h:233
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::WithGrantee
DescribeEndpointAuthorizationRequest & WithGrantee(bool value)
Definition: DescribeEndpointAuthorizationRequest.h:167
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::GetClusterIdentifier
const Aws::String & GetClusterIdentifier() const
Definition: DescribeEndpointAuthorizationRequest.h:42
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeEndpointAuthorizationRequest.h:184
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeEndpointAuthorizationRequest.h:176
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::DescribeEndpointAuthorizationRequest
DescribeEndpointAuthorizationRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeEndpointAuthorizationRequest.h:241
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest
Definition: DescribeEndpointAuthorizationRequest.h:22
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::WithMarker
DescribeEndpointAuthorizationRequest & WithMarker(Aws::String &&value)
Definition: DescribeEndpointAuthorizationRequest.h:257
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::WithAccount
DescribeEndpointAuthorizationRequest & WithAccount(const Aws::String &value)
Definition: DescribeEndpointAuthorizationRequest.h:120
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeEndpointAuthorizationRequest.h:30
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::GetGrantee
bool GetGrantee() const
Definition: DescribeEndpointAuthorizationRequest.h:143
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::ClusterIdentifierHasBeenSet
bool ClusterIdentifierHasBeenSet() const
Definition: DescribeEndpointAuthorizationRequest.h:47
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::WithClusterIdentifier
DescribeEndpointAuthorizationRequest & WithClusterIdentifier(const Aws::String &value)
Definition: DescribeEndpointAuthorizationRequest.h:67
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::WithMarker
DescribeEndpointAuthorizationRequest & WithMarker(const Aws::String &value)
Definition: DescribeEndpointAuthorizationRequest.h:249
Aws::Redshift::Model::DescribeEndpointAuthorizationRequest::WithMaxRecords
DescribeEndpointAuthorizationRequest & WithMaxRecords(int value)
Definition: DescribeEndpointAuthorizationRequest.h:200