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/AuthorizationStatus.h>
12#include <aws/redshift/model/ResponseMetadata.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
45 template <
typename GrantorT = Aws::String>
47 m_grantorHasBeenSet =
true;
48 m_grantor = std::forward<GrantorT>(value);
50 template <
typename GrantorT = Aws::String>
62 template <
typename GranteeT = Aws::String>
64 m_granteeHasBeenSet =
true;
65 m_grantee = std::forward<GranteeT>(value);
67 template <
typename GranteeT = Aws::String>
79 template <
typename ClusterIdentifierT = Aws::String>
81 m_clusterIdentifierHasBeenSet =
true;
82 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
84 template <
typename ClusterIdentifierT = Aws::String>
96 template <
typename AuthorizeTimeT = Aws::Utils::DateTime>
98 m_authorizeTimeHasBeenSet =
true;
99 m_authorizeTime = std::forward<AuthorizeTimeT>(value);
101 template <
typename AuthorizeTimeT = Aws::Utils::DateTime>
113 template <
typename ClusterStatusT = Aws::String>
115 m_clusterStatusHasBeenSet =
true;
116 m_clusterStatus = std::forward<ClusterStatusT>(value);
118 template <
typename ClusterStatusT = Aws::String>
131 m_statusHasBeenSet =
true;
147 m_allowedAllVPCsHasBeenSet =
true;
148 m_allowedAllVPCs = value;
161 template <
typename AllowedVPCsT = Aws::Vector<Aws::String>>
163 m_allowedVPCsHasBeenSet =
true;
164 m_allowedVPCs = std::forward<AllowedVPCsT>(value);
166 template <
typename AllowedVPCsT = Aws::Vector<Aws::String>>
171 template <
typename AllowedVPCsT = Aws::String>
173 m_allowedVPCsHasBeenSet =
true;
174 m_allowedVPCs.emplace_back(std::forward<AllowedVPCsT>(value));
186 m_endpointCountHasBeenSet =
true;
187 m_endpointCount = value;
198 template <
typename ResponseMetadataT = ResponseMetadata>
200 m_responseMetadataHasBeenSet =
true;
201 m_responseMetadata = std::forward<ResponseMetadataT>(value);
203 template <
typename ResponseMetadataT = ResponseMetadata>
222 bool m_allowedAllVPCs{
false};
226 int m_endpointCount{0};
228 ResponseMetadata m_responseMetadata;
229 bool m_grantorHasBeenSet =
false;
230 bool m_granteeHasBeenSet =
false;
231 bool m_clusterIdentifierHasBeenSet =
false;
232 bool m_authorizeTimeHasBeenSet =
false;
233 bool m_clusterStatusHasBeenSet =
false;
234 bool m_statusHasBeenSet =
false;
235 bool m_allowedAllVPCsHasBeenSet =
false;
236 bool m_allowedVPCsHasBeenSet =
false;
237 bool m_endpointCountHasBeenSet =
false;
238 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_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