AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
DescribeEndpointAuthorizationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Redshift {
15namespace Model {
16
20 public:
21 AWS_REDSHIFT_API DescribeEndpointAuthorizationRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeEndpointAuthorization"; }
28
29 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
39 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
40 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
41 template <typename ClusterIdentifierT = Aws::String>
42 void SetClusterIdentifier(ClusterIdentifierT&& value) {
43 m_clusterIdentifierHasBeenSet = true;
44 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
45 }
46 template <typename ClusterIdentifierT = Aws::String>
48 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetAccount() const { return m_account; }
60 inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; }
61 template <typename AccountT = Aws::String>
62 void SetAccount(AccountT&& value) {
63 m_accountHasBeenSet = true;
64 m_account = std::forward<AccountT>(value);
65 }
66 template <typename AccountT = Aws::String>
68 SetAccount(std::forward<AccountT>(value));
69 return *this;
70 }
72
74
80 inline bool GetGrantee() const { return m_grantee; }
81 inline bool GranteeHasBeenSet() const { return m_granteeHasBeenSet; }
82 inline void SetGrantee(bool value) {
83 m_granteeHasBeenSet = true;
84 m_grantee = value;
85 }
87 SetGrantee(value);
88 return *this;
89 }
91
93
99 inline int GetMaxRecords() const { return m_maxRecords; }
100 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
101 inline void SetMaxRecords(int value) {
102 m_maxRecordsHasBeenSet = true;
103 m_maxRecords = value;
104 }
106 SetMaxRecords(value);
107 return *this;
108 }
110
112
118 inline const Aws::String& GetMarker() const { return m_marker; }
119 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
120 template <typename MarkerT = Aws::String>
121 void SetMarker(MarkerT&& value) {
122 m_markerHasBeenSet = true;
123 m_marker = std::forward<MarkerT>(value);
124 }
125 template <typename MarkerT = Aws::String>
127 SetMarker(std::forward<MarkerT>(value));
128 return *this;
129 }
131 private:
132 Aws::String m_clusterIdentifier;
133
134 Aws::String m_account;
135
136 bool m_grantee{false};
137
138 int m_maxRecords{0};
139
140 Aws::String m_marker;
141 bool m_clusterIdentifierHasBeenSet = false;
142 bool m_accountHasBeenSet = false;
143 bool m_granteeHasBeenSet = false;
144 bool m_maxRecordsHasBeenSet = false;
145 bool m_markerHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace Redshift
150} // namespace Aws
DescribeEndpointAuthorizationRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
DescribeEndpointAuthorizationRequest & WithAccount(AccountT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeEndpointAuthorizationRequest & WithMarker(MarkerT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String