AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeEndpointAuthorizationRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Redshift
15{
16namespace 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
33
34 protected:
35 AWS_REDSHIFT_API 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
68
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 = false;
271
272 Aws::String m_account;
273 bool m_accountHasBeenSet = false;
274
275 bool m_grantee;
276 bool m_granteeHasBeenSet = false;
277
278 int m_maxRecords;
279 bool m_maxRecordsHasBeenSet = false;
280
281 Aws::String m_marker;
282 bool m_markerHasBeenSet = false;
283 };
284
285} // namespace Model
286} // namespace Redshift
287} // namespace Aws
#define AWS_REDSHIFT_API
DescribeEndpointAuthorizationRequest & WithClusterIdentifier(const char *value)
DescribeEndpointAuthorizationRequest & WithClusterIdentifier(Aws::String &&value)
DescribeEndpointAuthorizationRequest & WithMarker(const Aws::String &value)
DescribeEndpointAuthorizationRequest & WithAccount(const char *value)
DescribeEndpointAuthorizationRequest & WithAccount(Aws::String &&value)
DescribeEndpointAuthorizationRequest & WithClusterIdentifier(const Aws::String &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeEndpointAuthorizationRequest & WithMarker(const char *value)
DescribeEndpointAuthorizationRequest & WithAccount(const Aws::String &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeEndpointAuthorizationRequest & WithMarker(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String