AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
EndpointAccess.h
Go to the documentation of this file.
1
6#pragma once
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Xml
22{
23 class XmlNode;
24} // namespace Xml
25} // namespace Utils
26namespace Redshift
27{
28namespace Model
29{
30
37 {
38 public:
42
43 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
50 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
51
55 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
56
60 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
61
65 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
66
70 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
71
75 inline EndpointAccess& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
76
80 inline EndpointAccess& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
81
85 inline EndpointAccess& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
86
87
91 inline const Aws::String& GetResourceOwner() const{ return m_resourceOwner; }
92
96 inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
97
101 inline void SetResourceOwner(const Aws::String& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = value; }
102
106 inline void SetResourceOwner(Aws::String&& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = std::move(value); }
107
111 inline void SetResourceOwner(const char* value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner.assign(value); }
112
116 inline EndpointAccess& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
117
121 inline EndpointAccess& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
122
126 inline EndpointAccess& WithResourceOwner(const char* value) { SetResourceOwner(value); return *this;}
127
128
133 inline const Aws::String& GetSubnetGroupName() const{ return m_subnetGroupName; }
134
139 inline bool SubnetGroupNameHasBeenSet() const { return m_subnetGroupNameHasBeenSet; }
140
145 inline void SetSubnetGroupName(const Aws::String& value) { m_subnetGroupNameHasBeenSet = true; m_subnetGroupName = value; }
146
151 inline void SetSubnetGroupName(Aws::String&& value) { m_subnetGroupNameHasBeenSet = true; m_subnetGroupName = std::move(value); }
152
157 inline void SetSubnetGroupName(const char* value) { m_subnetGroupNameHasBeenSet = true; m_subnetGroupName.assign(value); }
158
163 inline EndpointAccess& WithSubnetGroupName(const Aws::String& value) { SetSubnetGroupName(value); return *this;}
164
169 inline EndpointAccess& WithSubnetGroupName(Aws::String&& value) { SetSubnetGroupName(std::move(value)); return *this;}
170
175 inline EndpointAccess& WithSubnetGroupName(const char* value) { SetSubnetGroupName(value); return *this;}
176
177
181 inline const Aws::String& GetEndpointStatus() const{ return m_endpointStatus; }
182
186 inline bool EndpointStatusHasBeenSet() const { return m_endpointStatusHasBeenSet; }
187
191 inline void SetEndpointStatus(const Aws::String& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = value; }
192
196 inline void SetEndpointStatus(Aws::String&& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = std::move(value); }
197
201 inline void SetEndpointStatus(const char* value) { m_endpointStatusHasBeenSet = true; m_endpointStatus.assign(value); }
202
206 inline EndpointAccess& WithEndpointStatus(const Aws::String& value) { SetEndpointStatus(value); return *this;}
207
211 inline EndpointAccess& WithEndpointStatus(Aws::String&& value) { SetEndpointStatus(std::move(value)); return *this;}
212
216 inline EndpointAccess& WithEndpointStatus(const char* value) { SetEndpointStatus(value); return *this;}
217
218
222 inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
223
227 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
228
232 inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
233
237 inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
238
242 inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
243
247 inline EndpointAccess& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
248
252 inline EndpointAccess& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
253
257 inline EndpointAccess& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
258
259
263 inline const Aws::Utils::DateTime& GetEndpointCreateTime() const{ return m_endpointCreateTime; }
264
268 inline bool EndpointCreateTimeHasBeenSet() const { return m_endpointCreateTimeHasBeenSet; }
269
273 inline void SetEndpointCreateTime(const Aws::Utils::DateTime& value) { m_endpointCreateTimeHasBeenSet = true; m_endpointCreateTime = value; }
274
278 inline void SetEndpointCreateTime(Aws::Utils::DateTime&& value) { m_endpointCreateTimeHasBeenSet = true; m_endpointCreateTime = std::move(value); }
279
284
288 inline EndpointAccess& WithEndpointCreateTime(Aws::Utils::DateTime&& value) { SetEndpointCreateTime(std::move(value)); return *this;}
289
290
294 inline int GetPort() const{ return m_port; }
295
299 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
300
304 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
305
309 inline EndpointAccess& WithPort(int value) { SetPort(value); return *this;}
310
311
315 inline const Aws::String& GetAddress() const{ return m_address; }
316
320 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
321
325 inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; }
326
330 inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
331
335 inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); }
336
340 inline EndpointAccess& WithAddress(const Aws::String& value) { SetAddress(value); return *this;}
341
345 inline EndpointAccess& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;}
346
350 inline EndpointAccess& WithAddress(const char* value) { SetAddress(value); return *this;}
351
352
356 inline const Aws::Vector<VpcSecurityGroupMembership>& GetVpcSecurityGroups() const{ return m_vpcSecurityGroups; }
357
361 inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; }
362
366 inline void SetVpcSecurityGroups(const Aws::Vector<VpcSecurityGroupMembership>& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = value; }
367
371 inline void SetVpcSecurityGroups(Aws::Vector<VpcSecurityGroupMembership>&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = std::move(value); }
372
377
382
386 inline EndpointAccess& AddVpcSecurityGroups(const VpcSecurityGroupMembership& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(value); return *this; }
387
391 inline EndpointAccess& AddVpcSecurityGroups(VpcSecurityGroupMembership&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(std::move(value)); return *this; }
392
393
394
395 inline const VpcEndpoint& GetVpcEndpoint() const{ return m_vpcEndpoint; }
396
397
398 inline bool VpcEndpointHasBeenSet() const { return m_vpcEndpointHasBeenSet; }
399
400
401 inline void SetVpcEndpoint(const VpcEndpoint& value) { m_vpcEndpointHasBeenSet = true; m_vpcEndpoint = value; }
402
403
404 inline void SetVpcEndpoint(VpcEndpoint&& value) { m_vpcEndpointHasBeenSet = true; m_vpcEndpoint = std::move(value); }
405
406
407 inline EndpointAccess& WithVpcEndpoint(const VpcEndpoint& value) { SetVpcEndpoint(value); return *this;}
408
409
410 inline EndpointAccess& WithVpcEndpoint(VpcEndpoint&& value) { SetVpcEndpoint(std::move(value)); return *this;}
411
412
413
414 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
415
416
417 inline bool ResponseMetadataHasBeenSet() const { return m_responseMetadataHasBeenSet; }
418
419
420 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = value; }
421
422
423 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::move(value); }
424
425
426 inline EndpointAccess& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
427
428
429 inline EndpointAccess& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
430
431 private:
432
433 Aws::String m_clusterIdentifier;
434 bool m_clusterIdentifierHasBeenSet = false;
435
436 Aws::String m_resourceOwner;
437 bool m_resourceOwnerHasBeenSet = false;
438
439 Aws::String m_subnetGroupName;
440 bool m_subnetGroupNameHasBeenSet = false;
441
442 Aws::String m_endpointStatus;
443 bool m_endpointStatusHasBeenSet = false;
444
445 Aws::String m_endpointName;
446 bool m_endpointNameHasBeenSet = false;
447
448 Aws::Utils::DateTime m_endpointCreateTime;
449 bool m_endpointCreateTimeHasBeenSet = false;
450
451 int m_port;
452 bool m_portHasBeenSet = false;
453
454 Aws::String m_address;
455 bool m_addressHasBeenSet = false;
456
457 Aws::Vector<VpcSecurityGroupMembership> m_vpcSecurityGroups;
458 bool m_vpcSecurityGroupsHasBeenSet = false;
459
460 VpcEndpoint m_vpcEndpoint;
461 bool m_vpcEndpointHasBeenSet = false;
462
463 ResponseMetadata m_responseMetadata;
464 bool m_responseMetadataHasBeenSet = false;
465 };
466
467} // namespace Model
468} // namespace Redshift
469} // namespace Aws
#define AWS_REDSHIFT_API
void SetEndpointStatus(const char *value)
EndpointAccess & WithEndpointName(const char *value)
EndpointAccess & WithClusterIdentifier(const Aws::String &value)
void SetResponseMetadata(ResponseMetadata &&value)
EndpointAccess & WithClusterIdentifier(const char *value)
EndpointAccess & WithVpcEndpoint(const VpcEndpoint &value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetAddress() const
void SetEndpointStatus(Aws::String &&value)
void SetSubnetGroupName(Aws::String &&value)
void SetResourceOwner(const Aws::String &value)
EndpointAccess & WithEndpointStatus(const char *value)
void SetEndpointCreateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndpointCreateTime() const
const Aws::String & GetEndpointName() const
EndpointAccess & AddVpcSecurityGroups(VpcSecurityGroupMembership &&value)
const Aws::String & GetEndpointStatus() const
EndpointAccess & WithSubnetGroupName(const char *value)
void SetClusterIdentifier(const char *value)
void SetEndpointName(const char *value)
void SetResourceOwner(const char *value)
void SetClusterIdentifier(Aws::String &&value)
EndpointAccess & WithEndpointName(const Aws::String &value)
EndpointAccess & WithResourceOwner(const char *value)
void SetVpcEndpoint(VpcEndpoint &&value)
void SetSubnetGroupName(const char *value)
void SetResponseMetadata(const ResponseMetadata &value)
const Aws::String & GetSubnetGroupName() const
EndpointAccess & AddVpcSecurityGroups(const VpcSecurityGroupMembership &value)
AWS_REDSHIFT_API EndpointAccess & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAddress(const Aws::String &value)
EndpointAccess & WithResponseMetadata(ResponseMetadata &&value)
EndpointAccess & WithSubnetGroupName(Aws::String &&value)
void SetVpcEndpoint(const VpcEndpoint &value)
void SetAddress(Aws::String &&value)
void SetVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
EndpointAccess & WithAddress(Aws::String &&value)
const ResponseMetadata & GetResponseMetadata() const
EndpointAccess & WithAddress(const char *value)
EndpointAccess & WithEndpointCreateTime(Aws::Utils::DateTime &&value)
EndpointAccess & WithClusterIdentifier(Aws::String &&value)
EndpointAccess & WithAddress(const Aws::String &value)
EndpointAccess & WithEndpointStatus(Aws::String &&value)
EndpointAccess & WithSubnetGroupName(const Aws::String &value)
AWS_REDSHIFT_API EndpointAccess(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEndpointCreateTime(Aws::Utils::DateTime &&value)
void SetResourceOwner(Aws::String &&value)
void SetEndpointStatus(const Aws::String &value)
EndpointAccess & WithEndpointStatus(const Aws::String &value)
void SetVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
const Aws::String & GetClusterIdentifier() const
const VpcEndpoint & GetVpcEndpoint() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
EndpointAccess & WithResponseMetadata(const ResponseMetadata &value)
EndpointAccess & WithResourceOwner(Aws::String &&value)
void SetEndpointName(const Aws::String &value)
EndpointAccess & WithPort(int value)
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroups() const
void SetSubnetGroupName(const Aws::String &value)
EndpointAccess & WithVpcEndpoint(VpcEndpoint &&value)
EndpointAccess & WithVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
void SetClusterIdentifier(const Aws::String &value)
const Aws::String & GetResourceOwner() const
void SetEndpointName(Aws::String &&value)
EndpointAccess & WithResourceOwner(const Aws::String &value)
EndpointAccess & WithEndpointCreateTime(const Aws::Utils::DateTime &value)
EndpointAccess & WithEndpointName(Aws::String &&value)
void SetAddress(const char *value)
EndpointAccess & WithVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream