AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeEndpointAccessRequest.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 "DescribeEndpointAccess"; }
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
72 inline DescribeEndpointAccessRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
73
77 inline DescribeEndpointAccessRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
78
79
83 inline const Aws::String& GetResourceOwner() const{ return m_resourceOwner; }
84
88 inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
89
93 inline void SetResourceOwner(const Aws::String& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = value; }
94
98 inline void SetResourceOwner(Aws::String&& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = std::move(value); }
99
103 inline void SetResourceOwner(const char* value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner.assign(value); }
104
109
113 inline DescribeEndpointAccessRequest& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
114
118 inline DescribeEndpointAccessRequest& WithResourceOwner(const char* value) { SetResourceOwner(value); return *this;}
119
120
124 inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
125
129 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
130
134 inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
135
139 inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
140
144 inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
145
149 inline DescribeEndpointAccessRequest& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
150
154 inline DescribeEndpointAccessRequest& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
155
159 inline DescribeEndpointAccessRequest& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
160
161
165 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
166
170 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
171
175 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
176
180 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
181
185 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
186
190 inline DescribeEndpointAccessRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
191
195 inline DescribeEndpointAccessRequest& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
196
200 inline DescribeEndpointAccessRequest& WithVpcId(const char* value) { SetVpcId(value); return *this;}
201
202
209 inline int GetMaxRecords() const{ return m_maxRecords; }
210
217 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
218
225 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
226
233 inline DescribeEndpointAccessRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
234
235
242 inline const Aws::String& GetMarker() const{ return m_marker; }
243
250 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
251
258 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
259
266 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
267
274 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
275
282 inline DescribeEndpointAccessRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
283
290 inline DescribeEndpointAccessRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
291
298 inline DescribeEndpointAccessRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
299
300 private:
301
302 Aws::String m_clusterIdentifier;
303 bool m_clusterIdentifierHasBeenSet = false;
304
305 Aws::String m_resourceOwner;
306 bool m_resourceOwnerHasBeenSet = false;
307
308 Aws::String m_endpointName;
309 bool m_endpointNameHasBeenSet = false;
310
311 Aws::String m_vpcId;
312 bool m_vpcIdHasBeenSet = false;
313
314 int m_maxRecords;
315 bool m_maxRecordsHasBeenSet = false;
316
317 Aws::String m_marker;
318 bool m_markerHasBeenSet = false;
319 };
320
321} // namespace Model
322} // namespace Redshift
323} // namespace Aws
#define AWS_REDSHIFT_API
DescribeEndpointAccessRequest & WithClusterIdentifier(Aws::String &&value)
DescribeEndpointAccessRequest & WithMarker(Aws::String &&value)
DescribeEndpointAccessRequest & WithEndpointName(Aws::String &&value)
DescribeEndpointAccessRequest & WithResourceOwner(const char *value)
DescribeEndpointAccessRequest & WithClusterIdentifier(const Aws::String &value)
DescribeEndpointAccessRequest & WithResourceOwner(Aws::String &&value)
DescribeEndpointAccessRequest & WithVpcId(const char *value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeEndpointAccessRequest & WithEndpointName(const char *value)
DescribeEndpointAccessRequest & WithVpcId(const Aws::String &value)
DescribeEndpointAccessRequest & WithVpcId(Aws::String &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeEndpointAccessRequest & WithMaxRecords(int value)
DescribeEndpointAccessRequest & WithEndpointName(const Aws::String &value)
DescribeEndpointAccessRequest & WithMarker(const char *value)
DescribeEndpointAccessRequest & WithMarker(const Aws::String &value)
DescribeEndpointAccessRequest & WithClusterIdentifier(const char *value)
DescribeEndpointAccessRequest & WithResourceOwner(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String