AWS SDK for C++  1.9.160
AWS SDK for C++
DescribeEndpointAccessRequest.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 "DescribeEndpointAccess"; }
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 DescribeEndpointAccessRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
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 
108  inline DescribeEndpointAccessRequest& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
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;
304 
305  Aws::String m_resourceOwner;
306  bool m_resourceOwnerHasBeenSet;
307 
308  Aws::String m_endpointName;
309  bool m_endpointNameHasBeenSet;
310 
311  Aws::String m_vpcId;
312  bool m_vpcIdHasBeenSet;
313 
314  int m_maxRecords;
315  bool m_maxRecordsHasBeenSet;
316 
317  Aws::String m_marker;
318  bool m_markerHasBeenSet;
319  };
320 
321 } // namespace Model
322 } // namespace Redshift
323 } // namespace Aws
Aws::Redshift::Model::DescribeEndpointAccessRequest::WithEndpointName
DescribeEndpointAccessRequest & WithEndpointName(const char *value)
Definition: DescribeEndpointAccessRequest.h:159
Aws::Redshift::Model::DescribeEndpointAccessRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeEndpointAccessRequest.h:266
Aws::Redshift::Model::DescribeEndpointAccessRequest::GetEndpointName
const Aws::String & GetEndpointName() const
Definition: DescribeEndpointAccessRequest.h:124
Aws::Redshift::Model::DescribeEndpointAccessRequest::WithVpcId
DescribeEndpointAccessRequest & WithVpcId(const Aws::String &value)
Definition: DescribeEndpointAccessRequest.h:190
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeEndpointAccessRequest::WithClusterIdentifier
DescribeEndpointAccessRequest & WithClusterIdentifier(const Aws::String &value)
Definition: DescribeEndpointAccessRequest.h:67
Aws::Redshift::Model::DescribeEndpointAccessRequest::WithMarker
DescribeEndpointAccessRequest & WithMarker(const char *value)
Definition: DescribeEndpointAccessRequest.h:298
Aws::Redshift::Model::DescribeEndpointAccessRequest::SetResourceOwner
void SetResourceOwner(const char *value)
Definition: DescribeEndpointAccessRequest.h:103
Aws::Redshift::Model::DescribeEndpointAccessRequest::WithResourceOwner
DescribeEndpointAccessRequest & WithResourceOwner(Aws::String &&value)
Definition: DescribeEndpointAccessRequest.h:113
Aws::Redshift::Model::DescribeEndpointAccessRequest::SetEndpointName
void SetEndpointName(Aws::String &&value)
Definition: DescribeEndpointAccessRequest.h:139
Aws::Redshift::Model::DescribeEndpointAccessRequest::GetClusterIdentifier
const Aws::String & GetClusterIdentifier() const
Definition: DescribeEndpointAccessRequest.h:42
Aws::Redshift::Model::DescribeEndpointAccessRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeEndpointAccessRequest.h:209
RedshiftRequest.h
Aws::Redshift::Model::DescribeEndpointAccessRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeEndpointAccessRequest.h:274
Aws::Redshift::Model::DescribeEndpointAccessRequest::GetVpcId
const Aws::String & GetVpcId() const
Definition: DescribeEndpointAccessRequest.h:165
Aws::Redshift::Model::DescribeEndpointAccessRequest::WithResourceOwner
DescribeEndpointAccessRequest & WithResourceOwner(const char *value)
Definition: DescribeEndpointAccessRequest.h:118
Aws::Redshift::Model::DescribeEndpointAccessRequest::SetEndpointName
void SetEndpointName(const Aws::String &value)
Definition: DescribeEndpointAccessRequest.h:134
Aws::Redshift::Model::DescribeEndpointAccessRequest::DescribeEndpointAccessRequest
DescribeEndpointAccessRequest()
Aws::Redshift::Model::DescribeEndpointAccessRequest::WithEndpointName
DescribeEndpointAccessRequest & WithEndpointName(Aws::String &&value)
Definition: DescribeEndpointAccessRequest.h:154
Aws::Redshift::Model::DescribeEndpointAccessRequest::EndpointNameHasBeenSet
bool EndpointNameHasBeenSet() const
Definition: DescribeEndpointAccessRequest.h:129
Aws::Redshift::Model::DescribeEndpointAccessRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeEndpointAccessRequest.h:258
Aws::Redshift::Model::DescribeEndpointAccessRequest::WithResourceOwner
DescribeEndpointAccessRequest & WithResourceOwner(const Aws::String &value)
Definition: DescribeEndpointAccessRequest.h:108
Aws::Redshift::Model::DescribeEndpointAccessRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeEndpointAccessRequest.h:225
Aws::Redshift::Model::DescribeEndpointAccessRequest::SetClusterIdentifier
void SetClusterIdentifier(Aws::String &&value)
Definition: DescribeEndpointAccessRequest.h:57
Aws::Redshift::Model::DescribeEndpointAccessRequest::WithMaxRecords
DescribeEndpointAccessRequest & WithMaxRecords(int value)
Definition: DescribeEndpointAccessRequest.h:233
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeEndpointAccessRequest::SetClusterIdentifier
void SetClusterIdentifier(const char *value)
Definition: DescribeEndpointAccessRequest.h:62
Aws::Redshift::Model::DescribeEndpointAccessRequest::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: DescribeEndpointAccessRequest.h:175
Aws::Redshift::Model::DescribeEndpointAccessRequest::WithMarker
DescribeEndpointAccessRequest & WithMarker(Aws::String &&value)
Definition: DescribeEndpointAccessRequest.h:290
Aws::Redshift::Model::DescribeEndpointAccessRequest::ClusterIdentifierHasBeenSet
bool ClusterIdentifierHasBeenSet() const
Definition: DescribeEndpointAccessRequest.h:47
Aws::Redshift::Model::DescribeEndpointAccessRequest::ResourceOwnerHasBeenSet
bool ResourceOwnerHasBeenSet() const
Definition: DescribeEndpointAccessRequest.h:88
Aws::Redshift::Model::DescribeEndpointAccessRequest::SetVpcId
void SetVpcId(const char *value)
Definition: DescribeEndpointAccessRequest.h:185
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
AWSString.h
Aws::Redshift::Model::DescribeEndpointAccessRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeEndpointAccessRequest.h:250
Aws::Redshift::Model::DescribeEndpointAccessRequest::WithEndpointName
DescribeEndpointAccessRequest & WithEndpointName(const Aws::String &value)
Definition: DescribeEndpointAccessRequest.h:149
Aws::Redshift::Model::DescribeEndpointAccessRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeEndpointAccessRequest.h:30
Aws::Redshift::Model::DescribeEndpointAccessRequest::WithClusterIdentifier
DescribeEndpointAccessRequest & WithClusterIdentifier(Aws::String &&value)
Definition: DescribeEndpointAccessRequest.h:72
Aws::Redshift::Model::DescribeEndpointAccessRequest::SetResourceOwner
void SetResourceOwner(Aws::String &&value)
Definition: DescribeEndpointAccessRequest.h:98
Aws::Redshift::Model::DescribeEndpointAccessRequest::SetEndpointName
void SetEndpointName(const char *value)
Definition: DescribeEndpointAccessRequest.h:144
Aws::Redshift::Model::DescribeEndpointAccessRequest::WithMarker
DescribeEndpointAccessRequest & WithMarker(const Aws::String &value)
Definition: DescribeEndpointAccessRequest.h:282
Aws::Redshift::Model::DescribeEndpointAccessRequest::SetClusterIdentifier
void SetClusterIdentifier(const Aws::String &value)
Definition: DescribeEndpointAccessRequest.h:52
Aws::Redshift::Model::DescribeEndpointAccessRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::DescribeEndpointAccessRequest::WithVpcId
DescribeEndpointAccessRequest & WithVpcId(const char *value)
Definition: DescribeEndpointAccessRequest.h:200
Aws::Redshift::Model::DescribeEndpointAccessRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeEndpointAccessRequest.h:242
Aws::Redshift::Model::DescribeEndpointAccessRequest::GetResourceOwner
const Aws::String & GetResourceOwner() const
Definition: DescribeEndpointAccessRequest.h:83
Aws::Redshift::Model::DescribeEndpointAccessRequest::SetResourceOwner
void SetResourceOwner(const Aws::String &value)
Definition: DescribeEndpointAccessRequest.h:93
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribeEndpointAccessRequest
Definition: DescribeEndpointAccessRequest.h:22
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeEndpointAccessRequest::WithClusterIdentifier
DescribeEndpointAccessRequest & WithClusterIdentifier(const char *value)
Definition: DescribeEndpointAccessRequest.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeEndpointAccessRequest::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: DescribeEndpointAccessRequest.h:170
Aws::Redshift::Model::DescribeEndpointAccessRequest::WithVpcId
DescribeEndpointAccessRequest & WithVpcId(Aws::String &&value)
Definition: DescribeEndpointAccessRequest.h:195
Aws::Redshift::Model::DescribeEndpointAccessRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DescribeEndpointAccessRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeEndpointAccessRequest.h:217
Aws::Redshift::Model::DescribeEndpointAccessRequest::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: DescribeEndpointAccessRequest.h:180