AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateEndpointAccessResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/ResponseMetadata.h>
12#include <aws/redshift/model/VpcEndpoint.h>
13#include <aws/redshift/model/VpcSecurityGroupMembership.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Xml {
23class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace Redshift {
27namespace Model {
34 public:
35 AWS_REDSHIFT_API CreateEndpointAccessResult() = default;
38
40
43 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
44 template <typename ClusterIdentifierT = Aws::String>
45 void SetClusterIdentifier(ClusterIdentifierT&& value) {
46 m_clusterIdentifierHasBeenSet = true;
47 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
48 }
49 template <typename ClusterIdentifierT = Aws::String>
51 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetResourceOwner() const { return m_resourceOwner; }
61 template <typename ResourceOwnerT = Aws::String>
62 void SetResourceOwner(ResourceOwnerT&& value) {
63 m_resourceOwnerHasBeenSet = true;
64 m_resourceOwner = std::forward<ResourceOwnerT>(value);
65 }
66 template <typename ResourceOwnerT = Aws::String>
68 SetResourceOwner(std::forward<ResourceOwnerT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetSubnetGroupName() const { return m_subnetGroupName; }
79 template <typename SubnetGroupNameT = Aws::String>
80 void SetSubnetGroupName(SubnetGroupNameT&& value) {
81 m_subnetGroupNameHasBeenSet = true;
82 m_subnetGroupName = std::forward<SubnetGroupNameT>(value);
83 }
84 template <typename SubnetGroupNameT = Aws::String>
86 SetSubnetGroupName(std::forward<SubnetGroupNameT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetEndpointStatus() const { return m_endpointStatus; }
96 template <typename EndpointStatusT = Aws::String>
97 void SetEndpointStatus(EndpointStatusT&& value) {
98 m_endpointStatusHasBeenSet = true;
99 m_endpointStatus = std::forward<EndpointStatusT>(value);
100 }
101 template <typename EndpointStatusT = Aws::String>
103 SetEndpointStatus(std::forward<EndpointStatusT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
113 template <typename EndpointNameT = Aws::String>
114 void SetEndpointName(EndpointNameT&& value) {
115 m_endpointNameHasBeenSet = true;
116 m_endpointName = std::forward<EndpointNameT>(value);
117 }
118 template <typename EndpointNameT = Aws::String>
120 SetEndpointName(std::forward<EndpointNameT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::Utils::DateTime& GetEndpointCreateTime() const { return m_endpointCreateTime; }
130 template <typename EndpointCreateTimeT = Aws::Utils::DateTime>
131 void SetEndpointCreateTime(EndpointCreateTimeT&& value) {
132 m_endpointCreateTimeHasBeenSet = true;
133 m_endpointCreateTime = std::forward<EndpointCreateTimeT>(value);
134 }
135 template <typename EndpointCreateTimeT = Aws::Utils::DateTime>
137 SetEndpointCreateTime(std::forward<EndpointCreateTimeT>(value));
138 return *this;
139 }
141
143
146 inline int GetPort() const { return m_port; }
147 inline void SetPort(int value) {
148 m_portHasBeenSet = true;
149 m_port = value;
150 }
152 SetPort(value);
153 return *this;
154 }
156
158
161 inline const Aws::String& GetAddress() const { return m_address; }
162 template <typename AddressT = Aws::String>
163 void SetAddress(AddressT&& value) {
164 m_addressHasBeenSet = true;
165 m_address = std::forward<AddressT>(value);
166 }
167 template <typename AddressT = Aws::String>
169 SetAddress(std::forward<AddressT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::Vector<VpcSecurityGroupMembership>& GetVpcSecurityGroups() const { return m_vpcSecurityGroups; }
179 template <typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
180 void SetVpcSecurityGroups(VpcSecurityGroupsT&& value) {
181 m_vpcSecurityGroupsHasBeenSet = true;
182 m_vpcSecurityGroups = std::forward<VpcSecurityGroupsT>(value);
183 }
184 template <typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
186 SetVpcSecurityGroups(std::forward<VpcSecurityGroupsT>(value));
187 return *this;
188 }
189 template <typename VpcSecurityGroupsT = VpcSecurityGroupMembership>
191 m_vpcSecurityGroupsHasBeenSet = true;
192 m_vpcSecurityGroups.emplace_back(std::forward<VpcSecurityGroupsT>(value));
193 return *this;
194 }
196
198
199 inline const VpcEndpoint& GetVpcEndpoint() const { return m_vpcEndpoint; }
200 template <typename VpcEndpointT = VpcEndpoint>
201 void SetVpcEndpoint(VpcEndpointT&& value) {
202 m_vpcEndpointHasBeenSet = true;
203 m_vpcEndpoint = std::forward<VpcEndpointT>(value);
204 }
205 template <typename VpcEndpointT = VpcEndpoint>
207 SetVpcEndpoint(std::forward<VpcEndpointT>(value));
208 return *this;
209 }
211
213
214 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
215 template <typename ResponseMetadataT = ResponseMetadata>
216 void SetResponseMetadata(ResponseMetadataT&& value) {
217 m_responseMetadataHasBeenSet = true;
218 m_responseMetadata = std::forward<ResponseMetadataT>(value);
219 }
220 template <typename ResponseMetadataT = ResponseMetadata>
222 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
223 return *this;
224 }
226 private:
227 Aws::String m_clusterIdentifier;
228
229 Aws::String m_resourceOwner;
230
231 Aws::String m_subnetGroupName;
232
233 Aws::String m_endpointStatus;
234
235 Aws::String m_endpointName;
236
237 Aws::Utils::DateTime m_endpointCreateTime{};
238
239 int m_port{0};
240
241 Aws::String m_address;
242
243 Aws::Vector<VpcSecurityGroupMembership> m_vpcSecurityGroups;
244
245 VpcEndpoint m_vpcEndpoint;
246
247 ResponseMetadata m_responseMetadata;
248 bool m_clusterIdentifierHasBeenSet = false;
249 bool m_resourceOwnerHasBeenSet = false;
250 bool m_subnetGroupNameHasBeenSet = false;
251 bool m_endpointStatusHasBeenSet = false;
252 bool m_endpointNameHasBeenSet = false;
253 bool m_endpointCreateTimeHasBeenSet = false;
254 bool m_portHasBeenSet = false;
255 bool m_addressHasBeenSet = false;
256 bool m_vpcSecurityGroupsHasBeenSet = false;
257 bool m_vpcEndpointHasBeenSet = false;
258 bool m_responseMetadataHasBeenSet = false;
259};
260
261} // namespace Model
262} // namespace Redshift
263} // namespace Aws
CreateEndpointAccessResult & WithVpcSecurityGroups(VpcSecurityGroupsT &&value)
AWS_REDSHIFT_API CreateEndpointAccessResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateEndpointAccessResult & WithVpcEndpoint(VpcEndpointT &&value)
AWS_REDSHIFT_API CreateEndpointAccessResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateEndpointAccessResult & WithEndpointCreateTime(EndpointCreateTimeT &&value)
CreateEndpointAccessResult & WithResourceOwner(ResourceOwnerT &&value)
CreateEndpointAccessResult & WithEndpointStatus(EndpointStatusT &&value)
CreateEndpointAccessResult & WithResponseMetadata(ResponseMetadataT &&value)
CreateEndpointAccessResult & WithEndpointName(EndpointNameT &&value)
CreateEndpointAccessResult & WithClusterIdentifier(ClusterIdentifierT &&value)
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroups() const
const Aws::Utils::DateTime & GetEndpointCreateTime() const
CreateEndpointAccessResult & WithAddress(AddressT &&value)
AWS_REDSHIFT_API CreateEndpointAccessResult()=default
CreateEndpointAccessResult & AddVpcSecurityGroups(VpcSecurityGroupsT &&value)
CreateEndpointAccessResult & WithSubnetGroupName(SubnetGroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument