AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateEndpointAccessResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/model/VpcEndpoint.h>
12#include <aws/redshift/model/ResponseMetadata.h>
13#include <aws/redshift/model/VpcSecurityGroupMembership.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Xml
24{
25 class XmlDocument;
26} // namespace Xml
27} // namespace Utils
28namespace Redshift
29{
30namespace Model
31{
38 {
39 public:
40 AWS_REDSHIFT_API CreateEndpointAccessResult() = default;
43
44
46
49 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
50 template<typename ClusterIdentifierT = Aws::String>
51 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
52 template<typename ClusterIdentifierT = Aws::String>
53 CreateEndpointAccessResult& WithClusterIdentifier(ClusterIdentifierT&& value) { SetClusterIdentifier(std::forward<ClusterIdentifierT>(value)); return *this;}
55
57
60 inline const Aws::String& GetResourceOwner() const { return m_resourceOwner; }
61 template<typename ResourceOwnerT = Aws::String>
62 void SetResourceOwner(ResourceOwnerT&& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = std::forward<ResourceOwnerT>(value); }
63 template<typename ResourceOwnerT = Aws::String>
64 CreateEndpointAccessResult& WithResourceOwner(ResourceOwnerT&& value) { SetResourceOwner(std::forward<ResourceOwnerT>(value)); return *this;}
66
68
72 inline const Aws::String& GetSubnetGroupName() const { return m_subnetGroupName; }
73 template<typename SubnetGroupNameT = Aws::String>
74 void SetSubnetGroupName(SubnetGroupNameT&& value) { m_subnetGroupNameHasBeenSet = true; m_subnetGroupName = std::forward<SubnetGroupNameT>(value); }
75 template<typename SubnetGroupNameT = Aws::String>
76 CreateEndpointAccessResult& WithSubnetGroupName(SubnetGroupNameT&& value) { SetSubnetGroupName(std::forward<SubnetGroupNameT>(value)); return *this;}
78
80
83 inline const Aws::String& GetEndpointStatus() const { return m_endpointStatus; }
84 template<typename EndpointStatusT = Aws::String>
85 void SetEndpointStatus(EndpointStatusT&& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = std::forward<EndpointStatusT>(value); }
86 template<typename EndpointStatusT = Aws::String>
87 CreateEndpointAccessResult& WithEndpointStatus(EndpointStatusT&& value) { SetEndpointStatus(std::forward<EndpointStatusT>(value)); return *this;}
89
91
94 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
95 template<typename EndpointNameT = Aws::String>
96 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::forward<EndpointNameT>(value); }
97 template<typename EndpointNameT = Aws::String>
98 CreateEndpointAccessResult& WithEndpointName(EndpointNameT&& value) { SetEndpointName(std::forward<EndpointNameT>(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetEndpointCreateTime() const { return m_endpointCreateTime; }
106 template<typename EndpointCreateTimeT = Aws::Utils::DateTime>
107 void SetEndpointCreateTime(EndpointCreateTimeT&& value) { m_endpointCreateTimeHasBeenSet = true; m_endpointCreateTime = std::forward<EndpointCreateTimeT>(value); }
108 template<typename EndpointCreateTimeT = Aws::Utils::DateTime>
109 CreateEndpointAccessResult& WithEndpointCreateTime(EndpointCreateTimeT&& value) { SetEndpointCreateTime(std::forward<EndpointCreateTimeT>(value)); return *this;}
111
113
116 inline int GetPort() const { return m_port; }
117 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
118 inline CreateEndpointAccessResult& WithPort(int value) { SetPort(value); return *this;}
120
122
125 inline const Aws::String& GetAddress() const { return m_address; }
126 template<typename AddressT = Aws::String>
127 void SetAddress(AddressT&& value) { m_addressHasBeenSet = true; m_address = std::forward<AddressT>(value); }
128 template<typename AddressT = Aws::String>
129 CreateEndpointAccessResult& WithAddress(AddressT&& value) { SetAddress(std::forward<AddressT>(value)); return *this;}
131
133
136 inline const Aws::Vector<VpcSecurityGroupMembership>& GetVpcSecurityGroups() const { return m_vpcSecurityGroups; }
137 template<typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
138 void SetVpcSecurityGroups(VpcSecurityGroupsT&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = std::forward<VpcSecurityGroupsT>(value); }
139 template<typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
140 CreateEndpointAccessResult& WithVpcSecurityGroups(VpcSecurityGroupsT&& value) { SetVpcSecurityGroups(std::forward<VpcSecurityGroupsT>(value)); return *this;}
141 template<typename VpcSecurityGroupsT = VpcSecurityGroupMembership>
142 CreateEndpointAccessResult& AddVpcSecurityGroups(VpcSecurityGroupsT&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.emplace_back(std::forward<VpcSecurityGroupsT>(value)); return *this; }
144
146
147 inline const VpcEndpoint& GetVpcEndpoint() const { return m_vpcEndpoint; }
148 template<typename VpcEndpointT = VpcEndpoint>
149 void SetVpcEndpoint(VpcEndpointT&& value) { m_vpcEndpointHasBeenSet = true; m_vpcEndpoint = std::forward<VpcEndpointT>(value); }
150 template<typename VpcEndpointT = VpcEndpoint>
151 CreateEndpointAccessResult& WithVpcEndpoint(VpcEndpointT&& value) { SetVpcEndpoint(std::forward<VpcEndpointT>(value)); return *this;}
153
155
156 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
157 template<typename ResponseMetadataT = ResponseMetadata>
158 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
159 template<typename ResponseMetadataT = ResponseMetadata>
160 CreateEndpointAccessResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
162 private:
163
164 Aws::String m_clusterIdentifier;
165 bool m_clusterIdentifierHasBeenSet = false;
166
167 Aws::String m_resourceOwner;
168 bool m_resourceOwnerHasBeenSet = false;
169
170 Aws::String m_subnetGroupName;
171 bool m_subnetGroupNameHasBeenSet = false;
172
173 Aws::String m_endpointStatus;
174 bool m_endpointStatusHasBeenSet = false;
175
176 Aws::String m_endpointName;
177 bool m_endpointNameHasBeenSet = false;
178
179 Aws::Utils::DateTime m_endpointCreateTime{};
180 bool m_endpointCreateTimeHasBeenSet = false;
181
182 int m_port{0};
183 bool m_portHasBeenSet = false;
184
185 Aws::String m_address;
186 bool m_addressHasBeenSet = false;
187
188 Aws::Vector<VpcSecurityGroupMembership> m_vpcSecurityGroups;
189 bool m_vpcSecurityGroupsHasBeenSet = false;
190
191 VpcEndpoint m_vpcEndpoint;
192 bool m_vpcEndpointHasBeenSet = false;
193
194 ResponseMetadata m_responseMetadata;
195 bool m_responseMetadataHasBeenSet = false;
196 };
197
198} // namespace Model
199} // namespace Redshift
200} // 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