AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEndpointAuthorizationRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
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
32 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
43 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
44 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
45 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
46 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
47 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
50 inline DescribeEndpointAuthorizationRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
52
54
59 inline const Aws::String& GetAccount() const{ return m_account; }
60 inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; }
61 inline void SetAccount(const Aws::String& value) { m_accountHasBeenSet = true; m_account = value; }
62 inline void SetAccount(Aws::String&& value) { m_accountHasBeenSet = true; m_account = std::move(value); }
63 inline void SetAccount(const char* value) { m_accountHasBeenSet = true; m_account.assign(value); }
64 inline DescribeEndpointAuthorizationRequest& WithAccount(const Aws::String& value) { SetAccount(value); return *this;}
65 inline DescribeEndpointAuthorizationRequest& WithAccount(Aws::String&& value) { SetAccount(std::move(value)); return *this;}
66 inline DescribeEndpointAuthorizationRequest& WithAccount(const char* value) { SetAccount(value); return *this;}
68
70
76 inline bool GetGrantee() const{ return m_grantee; }
77 inline bool GranteeHasBeenSet() const { return m_granteeHasBeenSet; }
78 inline void SetGrantee(bool value) { m_granteeHasBeenSet = true; m_grantee = value; }
79 inline DescribeEndpointAuthorizationRequest& WithGrantee(bool value) { SetGrantee(value); return *this;}
81
83
89 inline int GetMaxRecords() const{ return m_maxRecords; }
90 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
91 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
92 inline DescribeEndpointAuthorizationRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
94
96
102 inline const Aws::String& GetMarker() const{ return m_marker; }
103 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
104 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
105 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
106 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
107 inline DescribeEndpointAuthorizationRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
108 inline DescribeEndpointAuthorizationRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
109 inline DescribeEndpointAuthorizationRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
111 private:
112
113 Aws::String m_clusterIdentifier;
114 bool m_clusterIdentifierHasBeenSet = false;
115
116 Aws::String m_account;
117 bool m_accountHasBeenSet = false;
118
119 bool m_grantee;
120 bool m_granteeHasBeenSet = false;
121
122 int m_maxRecords;
123 bool m_maxRecordsHasBeenSet = false;
124
125 Aws::String m_marker;
126 bool m_markerHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace Redshift
131} // namespace Aws
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