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/redshift/model/AuthorizationStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/redshift/model/ResponseMetadata.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
51 template<
typename GrantorT = Aws::String>
52 void SetGrantor(GrantorT&& value) { m_grantorHasBeenSet =
true; m_grantor = std::forward<GrantorT>(value); }
53 template<
typename GrantorT = Aws::String>
62 template<
typename GranteeT = Aws::String>
63 void SetGrantee(GranteeT&& value) { m_granteeHasBeenSet =
true; m_grantee = std::forward<GranteeT>(value); }
64 template<
typename GranteeT = Aws::String>
73 template<
typename ClusterIdentifierT = Aws::String>
74 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
75 template<
typename ClusterIdentifierT = Aws::String>
84 template<
typename AuthorizeTimeT = Aws::Utils::DateTime>
85 void SetAuthorizeTime(AuthorizeTimeT&& value) { m_authorizeTimeHasBeenSet =
true; m_authorizeTime = std::forward<AuthorizeTimeT>(value); }
86 template<
typename AuthorizeTimeT = Aws::Utils::DateTime>
95 template<
typename ClusterStatusT = Aws::String>
96 void SetClusterStatus(ClusterStatusT&& value) { m_clusterStatusHasBeenSet =
true; m_clusterStatus = std::forward<ClusterStatusT>(value); }
97 template<
typename ClusterStatusT = Aws::String>
116 inline void SetAllowedAllVPCs(
bool value) { m_allowedAllVPCsHasBeenSet =
true; m_allowedAllVPCs = value; }
125 template<
typename AllowedVPCsT = Aws::Vector<Aws::String>>
126 void SetAllowedVPCs(AllowedVPCsT&& value) { m_allowedVPCsHasBeenSet =
true; m_allowedVPCs = std::forward<AllowedVPCsT>(value); }
127 template<
typename AllowedVPCsT = Aws::Vector<Aws::String>>
129 template<
typename AllowedVPCsT = Aws::String>
139 inline void SetEndpointCount(
int value) { m_endpointCountHasBeenSet =
true; m_endpointCount = value; }
146 template<
typename ResponseMetadataT = ResponseMetadata>
147 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
148 template<
typename ResponseMetadataT = ResponseMetadata>
154 bool m_grantorHasBeenSet =
false;
157 bool m_granteeHasBeenSet =
false;
160 bool m_clusterIdentifierHasBeenSet =
false;
163 bool m_authorizeTimeHasBeenSet =
false;
166 bool m_clusterStatusHasBeenSet =
false;
169 bool m_statusHasBeenSet =
false;
171 bool m_allowedAllVPCs{
false};
172 bool m_allowedAllVPCsHasBeenSet =
false;
175 bool m_allowedVPCsHasBeenSet =
false;
177 int m_endpointCount{0};
178 bool m_endpointCountHasBeenSet =
false;
180 ResponseMetadata m_responseMetadata;
181 bool m_responseMetadataHasBeenSet =
false;
AuthorizeEndpointAccessResult & WithClusterStatus(ClusterStatusT &&value)
AuthorizeEndpointAccessResult & WithAuthorizeTime(AuthorizeTimeT &&value)
AWS_REDSHIFT_API AuthorizeEndpointAccessResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Utils::DateTime & GetAuthorizeTime() const
AuthorizeEndpointAccessResult & WithGrantor(GrantorT &&value)
const Aws::String & GetClusterStatus() const
AuthorizeEndpointAccessResult & WithGrantee(GranteeT &&value)
void SetClusterStatus(ClusterStatusT &&value)
AuthorizeEndpointAccessResult & WithAllowedVPCs(AllowedVPCsT &&value)
void SetClusterIdentifier(ClusterIdentifierT &&value)
const Aws::String & GetGrantee() const
AuthorizeEndpointAccessResult & WithStatus(AuthorizationStatus value)
void SetAllowedAllVPCs(bool value)
AuthorizeEndpointAccessResult & WithClusterIdentifier(ClusterIdentifierT &&value)
void SetGrantor(GrantorT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
bool GetAllowedAllVPCs() const
AWS_REDSHIFT_API AuthorizeEndpointAccessResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
void SetGrantee(GranteeT &&value)
AuthorizeEndpointAccessResult & WithEndpointCount(int value)
AuthorizeEndpointAccessResult & WithAllowedAllVPCs(bool value)
const Aws::String & GetGrantor() const
void SetStatus(AuthorizationStatus value)
void SetAuthorizeTime(AuthorizeTimeT &&value)
void SetAllowedVPCs(AllowedVPCsT &&value)
int GetEndpointCount() const
AuthorizeEndpointAccessResult & WithResponseMetadata(ResponseMetadataT &&value)
AuthorizeEndpointAccessResult & AddAllowedVPCs(AllowedVPCsT &&value)
AuthorizationStatus GetStatus() const
AWS_REDSHIFT_API AuthorizeEndpointAccessResult()=default
const Aws::Vector< Aws::String > & GetAllowedVPCs() const
void SetEndpointCount(int value)
const Aws::String & GetClusterIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument