AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EndpointAccess.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/redshift/model/VpcEndpoint.h>
13#include <aws/redshift/model/ResponseMetadata.h>
14#include <aws/redshift/model/VpcSecurityGroupMembership.h>
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:
39 AWS_REDSHIFT_API EndpointAccess();
40 AWS_REDSHIFT_API EndpointAccess(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_REDSHIFT_API EndpointAccess& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
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
48
51 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
52 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
53 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
54 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
55 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
56 inline EndpointAccess& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
57 inline EndpointAccess& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
58 inline EndpointAccess& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
60
62
65 inline const Aws::String& GetResourceOwner() const{ return m_resourceOwner; }
66 inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
67 inline void SetResourceOwner(const Aws::String& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = value; }
68 inline void SetResourceOwner(Aws::String&& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = std::move(value); }
69 inline void SetResourceOwner(const char* value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner.assign(value); }
70 inline EndpointAccess& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
71 inline EndpointAccess& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
72 inline EndpointAccess& WithResourceOwner(const char* value) { SetResourceOwner(value); return *this;}
74
76
80 inline const Aws::String& GetSubnetGroupName() const{ return m_subnetGroupName; }
81 inline bool SubnetGroupNameHasBeenSet() const { return m_subnetGroupNameHasBeenSet; }
82 inline void SetSubnetGroupName(const Aws::String& value) { m_subnetGroupNameHasBeenSet = true; m_subnetGroupName = value; }
83 inline void SetSubnetGroupName(Aws::String&& value) { m_subnetGroupNameHasBeenSet = true; m_subnetGroupName = std::move(value); }
84 inline void SetSubnetGroupName(const char* value) { m_subnetGroupNameHasBeenSet = true; m_subnetGroupName.assign(value); }
85 inline EndpointAccess& WithSubnetGroupName(const Aws::String& value) { SetSubnetGroupName(value); return *this;}
86 inline EndpointAccess& WithSubnetGroupName(Aws::String&& value) { SetSubnetGroupName(std::move(value)); return *this;}
87 inline EndpointAccess& WithSubnetGroupName(const char* value) { SetSubnetGroupName(value); return *this;}
89
91
94 inline const Aws::String& GetEndpointStatus() const{ return m_endpointStatus; }
95 inline bool EndpointStatusHasBeenSet() const { return m_endpointStatusHasBeenSet; }
96 inline void SetEndpointStatus(const Aws::String& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = value; }
97 inline void SetEndpointStatus(Aws::String&& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = std::move(value); }
98 inline void SetEndpointStatus(const char* value) { m_endpointStatusHasBeenSet = true; m_endpointStatus.assign(value); }
99 inline EndpointAccess& WithEndpointStatus(const Aws::String& value) { SetEndpointStatus(value); return *this;}
100 inline EndpointAccess& WithEndpointStatus(Aws::String&& value) { SetEndpointStatus(std::move(value)); return *this;}
101 inline EndpointAccess& WithEndpointStatus(const char* value) { SetEndpointStatus(value); return *this;}
103
105
108 inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
109 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
110 inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
111 inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
112 inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
113 inline EndpointAccess& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
114 inline EndpointAccess& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
115 inline EndpointAccess& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetEndpointCreateTime() const{ return m_endpointCreateTime; }
123 inline bool EndpointCreateTimeHasBeenSet() const { return m_endpointCreateTimeHasBeenSet; }
124 inline void SetEndpointCreateTime(const Aws::Utils::DateTime& value) { m_endpointCreateTimeHasBeenSet = true; m_endpointCreateTime = value; }
125 inline void SetEndpointCreateTime(Aws::Utils::DateTime&& value) { m_endpointCreateTimeHasBeenSet = true; m_endpointCreateTime = std::move(value); }
127 inline EndpointAccess& WithEndpointCreateTime(Aws::Utils::DateTime&& value) { SetEndpointCreateTime(std::move(value)); return *this;}
129
131
134 inline int GetPort() const{ return m_port; }
135 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
136 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
137 inline EndpointAccess& WithPort(int value) { SetPort(value); return *this;}
139
141
144 inline const Aws::String& GetAddress() const{ return m_address; }
145 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
146 inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; }
147 inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
148 inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); }
149 inline EndpointAccess& WithAddress(const Aws::String& value) { SetAddress(value); return *this;}
150 inline EndpointAccess& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;}
151 inline EndpointAccess& WithAddress(const char* value) { SetAddress(value); return *this;}
153
155
158 inline const Aws::Vector<VpcSecurityGroupMembership>& GetVpcSecurityGroups() const{ return m_vpcSecurityGroups; }
159 inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; }
160 inline void SetVpcSecurityGroups(const Aws::Vector<VpcSecurityGroupMembership>& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = value; }
161 inline void SetVpcSecurityGroups(Aws::Vector<VpcSecurityGroupMembership>&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = std::move(value); }
164 inline EndpointAccess& AddVpcSecurityGroups(const VpcSecurityGroupMembership& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(value); return *this; }
165 inline EndpointAccess& AddVpcSecurityGroups(VpcSecurityGroupMembership&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(std::move(value)); return *this; }
167
169
170 inline const VpcEndpoint& GetVpcEndpoint() const{ return m_vpcEndpoint; }
171 inline bool VpcEndpointHasBeenSet() const { return m_vpcEndpointHasBeenSet; }
172 inline void SetVpcEndpoint(const VpcEndpoint& value) { m_vpcEndpointHasBeenSet = true; m_vpcEndpoint = value; }
173 inline void SetVpcEndpoint(VpcEndpoint&& value) { m_vpcEndpointHasBeenSet = true; m_vpcEndpoint = std::move(value); }
174 inline EndpointAccess& WithVpcEndpoint(const VpcEndpoint& value) { SetVpcEndpoint(value); return *this;}
175 inline EndpointAccess& WithVpcEndpoint(VpcEndpoint&& value) { SetVpcEndpoint(std::move(value)); return *this;}
177
179
180 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
181 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
182 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
183 inline EndpointAccess& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
184 inline EndpointAccess& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
186 private:
187
188 Aws::String m_clusterIdentifier;
189 bool m_clusterIdentifierHasBeenSet = false;
190
191 Aws::String m_resourceOwner;
192 bool m_resourceOwnerHasBeenSet = false;
193
194 Aws::String m_subnetGroupName;
195 bool m_subnetGroupNameHasBeenSet = false;
196
197 Aws::String m_endpointStatus;
198 bool m_endpointStatusHasBeenSet = false;
199
200 Aws::String m_endpointName;
201 bool m_endpointNameHasBeenSet = false;
202
203 Aws::Utils::DateTime m_endpointCreateTime;
204 bool m_endpointCreateTimeHasBeenSet = false;
205
206 int m_port;
207 bool m_portHasBeenSet = false;
208
209 Aws::String m_address;
210 bool m_addressHasBeenSet = false;
211
212 Aws::Vector<VpcSecurityGroupMembership> m_vpcSecurityGroups;
213 bool m_vpcSecurityGroupsHasBeenSet = false;
214
215 VpcEndpoint m_vpcEndpoint;
216 bool m_vpcEndpointHasBeenSet = false;
217
218 ResponseMetadata m_responseMetadata;
219 };
220
221} // namespace Model
222} // namespace Redshift
223} // namespace Aws
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)
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