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>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
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>
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>
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>
84 template<
typename Endpo
intStatusT = Aws::String>
85 void SetEndpointStatus(EndpointStatusT&& value) { m_endpointStatusHasBeenSet =
true; m_endpointStatus = std::forward<EndpointStatusT>(value); }
86 template<
typename Endpo
intStatusT = Aws::String>
95 template<
typename Endpo
intNameT = Aws::String>
96 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet =
true; m_endpointName = std::forward<EndpointNameT>(value); }
97 template<
typename Endpo
intNameT = Aws::String>
106 template<
typename Endpo
intCreateTimeT = Aws::Utils::DateTime>
107 void SetEndpointCreateTime(EndpointCreateTimeT&& value) { m_endpointCreateTimeHasBeenSet =
true; m_endpointCreateTime = std::forward<EndpointCreateTimeT>(value); }
108 template<
typename Endpo
intCreateTimeT = Aws::Utils::DateTime>
117 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
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>
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>>
141 template<
typename VpcSecurityGroupsT = VpcSecurityGroupMembership>
148 template<
typename VpcEndpo
intT = VpcEndpo
int>
149 void SetVpcEndpoint(VpcEndpointT&& value) { m_vpcEndpointHasBeenSet =
true; m_vpcEndpoint = std::forward<VpcEndpointT>(value); }
150 template<
typename VpcEndpo
intT = VpcEndpo
int>
157 template<
typename ResponseMetadataT = ResponseMetadata>
158 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
159 template<
typename ResponseMetadataT = ResponseMetadata>
165 bool m_clusterIdentifierHasBeenSet =
false;
168 bool m_resourceOwnerHasBeenSet =
false;
171 bool m_subnetGroupNameHasBeenSet =
false;
174 bool m_endpointStatusHasBeenSet =
false;
177 bool m_endpointNameHasBeenSet =
false;
180 bool m_endpointCreateTimeHasBeenSet =
false;
183 bool m_portHasBeenSet =
false;
186 bool m_addressHasBeenSet =
false;
189 bool m_vpcSecurityGroupsHasBeenSet =
false;
191 VpcEndpoint m_vpcEndpoint;
192 bool m_vpcEndpointHasBeenSet =
false;
194 ResponseMetadata m_responseMetadata;
195 bool m_responseMetadataHasBeenSet =
false;
void SetVpcEndpoint(VpcEndpointT &&value)
void SetVpcSecurityGroups(VpcSecurityGroupsT &&value)
const Aws::String & GetSubnetGroupName() const
const Aws::Utils::DateTime & GetEndpointCreateTime() const
const Aws::String & GetResourceOwner() const
ModifyEndpointAccessResult & WithAddress(AddressT &&value)
void SetEndpointStatus(EndpointStatusT &&value)
void SetEndpointCreateTime(EndpointCreateTimeT &&value)
void SetAddress(AddressT &&value)
ModifyEndpointAccessResult & AddVpcSecurityGroups(VpcSecurityGroupsT &&value)
void SetClusterIdentifier(ClusterIdentifierT &&value)
ModifyEndpointAccessResult & WithResponseMetadata(ResponseMetadataT &&value)
ModifyEndpointAccessResult & WithVpcEndpoint(VpcEndpointT &&value)
AWS_REDSHIFT_API ModifyEndpointAccessResult()=default
ModifyEndpointAccessResult & WithVpcSecurityGroups(VpcSecurityGroupsT &&value)
ModifyEndpointAccessResult & WithSubnetGroupName(SubnetGroupNameT &&value)
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroups() const
void SetResourceOwner(ResourceOwnerT &&value)
AWS_REDSHIFT_API ModifyEndpointAccessResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_REDSHIFT_API ModifyEndpointAccessResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
ModifyEndpointAccessResult & WithClusterIdentifier(ClusterIdentifierT &&value)
const Aws::String & GetEndpointName() const
ModifyEndpointAccessResult & WithEndpointName(EndpointNameT &&value)
ModifyEndpointAccessResult & WithEndpointStatus(EndpointStatusT &&value)
void SetEndpointName(EndpointNameT &&value)
ModifyEndpointAccessResult & WithResourceOwner(ResourceOwnerT &&value)
const Aws::String & GetEndpointStatus() const
ModifyEndpointAccessResult & WithEndpointCreateTime(EndpointCreateTimeT &&value)
ModifyEndpointAccessResult & WithPort(int value)
const VpcEndpoint & GetVpcEndpoint() const
const Aws::String & GetAddress() const
const Aws::String & GetClusterIdentifier() const
void SetSubnetGroupName(SubnetGroupNameT &&value)
void SetResponseMetadata(ResponseMetadataT &&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