7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/Redshift_EXPORTS.h>
12#include <aws/redshift/model/AuthorizationStatus.h>
13#include <aws/redshift/model/ResponseMetadata.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
46 template <
typename GrantorT = Aws::String>
48 m_grantorHasBeenSet =
true;
49 m_grantor = std::forward<GrantorT>(value);
51 template <
typename GrantorT = Aws::String>
63 template <
typename GranteeT = Aws::String>
65 m_granteeHasBeenSet =
true;
66 m_grantee = std::forward<GranteeT>(value);
68 template <
typename GranteeT = Aws::String>
80 template <
typename ClusterIdentifierT = Aws::String>
82 m_clusterIdentifierHasBeenSet =
true;
83 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
85 template <
typename ClusterIdentifierT = Aws::String>
97 template <
typename AuthorizeTimeT = Aws::Utils::DateTime>
99 m_authorizeTimeHasBeenSet =
true;
100 m_authorizeTime = std::forward<AuthorizeTimeT>(value);
102 template <
typename AuthorizeTimeT = Aws::Utils::DateTime>
114 template <
typename ClusterStatusT = Aws::String>
116 m_clusterStatusHasBeenSet =
true;
117 m_clusterStatus = std::forward<ClusterStatusT>(value);
119 template <
typename ClusterStatusT = Aws::String>
132 m_statusHasBeenSet =
true;
148 m_allowedAllVPCsHasBeenSet =
true;
149 m_allowedAllVPCs = value;
162 template <
typename AllowedVPCsT = Aws::Vector<Aws::String>>
164 m_allowedVPCsHasBeenSet =
true;
165 m_allowedVPCs = std::forward<AllowedVPCsT>(value);
167 template <
typename AllowedVPCsT = Aws::Vector<Aws::String>>
172 template <
typename AllowedVPCsT = Aws::String>
174 m_allowedVPCsHasBeenSet =
true;
175 m_allowedVPCs.emplace_back(std::forward<AllowedVPCsT>(value));
187 m_endpointCountHasBeenSet =
true;
188 m_endpointCount = value;
199 template <
typename ResponseMetadataT = ResponseMetadata>
201 m_responseMetadataHasBeenSet =
true;
202 m_responseMetadata = std::forward<ResponseMetadataT>(value);
204 template <
typename ResponseMetadataT = ResponseMetadata>
225 bool m_allowedAllVPCs{
false};
229 int m_endpointCount{0};
231 ResponseMetadata m_responseMetadata;
233 bool m_grantorHasBeenSet =
false;
234 bool m_granteeHasBeenSet =
false;
235 bool m_clusterIdentifierHasBeenSet =
false;
236 bool m_authorizeTimeHasBeenSet =
false;
237 bool m_clusterStatusHasBeenSet =
false;
238 bool m_statusHasBeenSet =
false;
239 bool m_allowedAllVPCsHasBeenSet =
false;
240 bool m_allowedVPCsHasBeenSet =
false;
241 bool m_endpointCountHasBeenSet =
false;
242 bool m_responseMetadataHasBeenSet =
false;
void SetGrantee(GranteeT &&value)
bool GetAllowedAllVPCs() const
RevokeEndpointAccessResult & WithGrantor(GrantorT &&value)
const ResponseMetadata & GetResponseMetadata() const
int GetEndpointCount() const
const Aws::String & GetGrantor() const
const Aws::Vector< Aws::String > & GetAllowedVPCs() const
RevokeEndpointAccessResult & AddAllowedVPCs(AllowedVPCsT &&value)
const Aws::Utils::DateTime & GetAuthorizeTime() const
void SetAuthorizeTime(AuthorizeTimeT &&value)
RevokeEndpointAccessResult & WithEndpointCount(int value)
RevokeEndpointAccessResult & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_REDSHIFT_API RevokeEndpointAccessResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetEndpointCount(int value)
RevokeEndpointAccessResult & WithResponseMetadata(ResponseMetadataT &&value)
void SetGrantor(GrantorT &&value)
RevokeEndpointAccessResult & WithStatus(AuthorizationStatus value)
void SetStatus(AuthorizationStatus value)
const Aws::String & GetClusterIdentifier() const
RevokeEndpointAccessResult & WithAllowedVPCs(AllowedVPCsT &&value)
void SetClusterStatus(ClusterStatusT &&value)
void SetAllowedVPCs(AllowedVPCsT &&value)
void SetClusterIdentifier(ClusterIdentifierT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
RevokeEndpointAccessResult & WithClusterStatus(ClusterStatusT &&value)
AWS_REDSHIFT_API RevokeEndpointAccessResult()=default
const Aws::String & GetClusterStatus() const
AuthorizationStatus GetStatus() const
RevokeEndpointAccessResult & WithGrantee(GranteeT &&value)
void SetAllowedAllVPCs(bool value)
RevokeEndpointAccessResult & WithAuthorizeTime(AuthorizeTimeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_REDSHIFT_API RevokeEndpointAccessResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
RevokeEndpointAccessResult & WithAllowedAllVPCs(bool value)
const Aws::String & GetGrantee() 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