7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/redshift/model/AuthorizationStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/redshift/model/ResponseMetadata.h>
56 inline void SetGrantor(
const char* value) { m_grantorHasBeenSet =
true; m_grantor.assign(value); }
70 inline void SetGrantee(
const char* value) { m_granteeHasBeenSet =
true; m_grantee.assign(value); }
84 inline void SetClusterIdentifier(
const char* value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier.assign(value); }
110 inline void SetClusterStatus(
const char* value) { m_clusterStatusHasBeenSet =
true; m_clusterStatus.assign(value); }
135 inline void SetAllowedAllVPCs(
bool value) { m_allowedAllVPCsHasBeenSet =
true; m_allowedAllVPCs = value; }
161 inline void SetEndpointCount(
int value) { m_endpointCountHasBeenSet =
true; m_endpointCount = value; }
176 bool m_grantorHasBeenSet =
false;
179 bool m_granteeHasBeenSet =
false;
182 bool m_clusterIdentifierHasBeenSet =
false;
185 bool m_authorizeTimeHasBeenSet =
false;
188 bool m_clusterStatusHasBeenSet =
false;
191 bool m_statusHasBeenSet =
false;
193 bool m_allowedAllVPCs;
194 bool m_allowedAllVPCsHasBeenSet =
false;
197 bool m_allowedVPCsHasBeenSet =
false;
200 bool m_endpointCountHasBeenSet =
false;
const ResponseMetadata & GetResponseMetadata() const
const Aws::Vector< Aws::String > & GetAllowedVPCs() const
EndpointAuthorization & WithAuthorizeTime(const Aws::Utils::DateTime &value)
EndpointAuthorization & WithClusterIdentifier(Aws::String &&value)
void SetGrantor(Aws::String &&value)
EndpointAuthorization & WithAllowedAllVPCs(bool value)
void SetGrantee(Aws::String &&value)
EndpointAuthorization & WithClusterStatus(Aws::String &&value)
bool AuthorizeTimeHasBeenSet() const
void SetGrantee(const Aws::String &value)
bool EndpointCountHasBeenSet() const
void SetAuthorizeTime(const Aws::Utils::DateTime &value)
void SetClusterStatus(Aws::String &&value)
const Aws::Utils::DateTime & GetAuthorizeTime() const
bool AllowedVPCsHasBeenSet() const
const Aws::String & GetGrantor() const
EndpointAuthorization & WithResponseMetadata(ResponseMetadata &&value)
const AuthorizationStatus & GetStatus() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
EndpointAuthorization & WithClusterIdentifier(const char *value)
const Aws::String & GetGrantee() const
void SetGrantor(const Aws::String &value)
void SetGrantor(const char *value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetAuthorizeTime(Aws::Utils::DateTime &&value)
bool GetAllowedAllVPCs() const
EndpointAuthorization & WithClusterStatus(const Aws::String &value)
EndpointAuthorization & WithAllowedVPCs(const Aws::Vector< Aws::String > &value)
int GetEndpointCount() const
bool GranteeHasBeenSet() const
EndpointAuthorization & WithGrantee(Aws::String &&value)
AWS_REDSHIFT_API EndpointAuthorization()
EndpointAuthorization & AddAllowedVPCs(const char *value)
void SetGrantee(const char *value)
EndpointAuthorization & WithGrantor(const char *value)
bool GrantorHasBeenSet() const
bool ClusterStatusHasBeenSet() const
void SetStatus(AuthorizationStatus &&value)
EndpointAuthorization & WithStatus(AuthorizationStatus &&value)
EndpointAuthorization & WithAllowedVPCs(Aws::Vector< Aws::String > &&value)
EndpointAuthorization & WithClusterStatus(const char *value)
bool StatusHasBeenSet() const
AWS_REDSHIFT_API EndpointAuthorization & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
EndpointAuthorization & WithStatus(const AuthorizationStatus &value)
void SetEndpointCount(int value)
EndpointAuthorization & WithClusterIdentifier(const Aws::String &value)
void SetResponseMetadata(ResponseMetadata &&value)
void SetClusterStatus(const char *value)
EndpointAuthorization & WithGrantee(const Aws::String &value)
AWS_REDSHIFT_API EndpointAuthorization(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetClusterIdentifier() const
EndpointAuthorization & WithEndpointCount(int value)
void SetClusterIdentifier(const char *value)
void SetStatus(const AuthorizationStatus &value)
EndpointAuthorization & AddAllowedVPCs(Aws::String &&value)
EndpointAuthorization & AddAllowedVPCs(const Aws::String &value)
EndpointAuthorization & WithGrantee(const char *value)
EndpointAuthorization & WithGrantor(Aws::String &&value)
void SetClusterIdentifier(const Aws::String &value)
EndpointAuthorization & WithGrantor(const Aws::String &value)
EndpointAuthorization & WithAuthorizeTime(Aws::Utils::DateTime &&value)
void SetAllowedVPCs(Aws::Vector< Aws::String > &&value)
bool AllowedAllVPCsHasBeenSet() const
bool ClusterIdentifierHasBeenSet() const
void SetClusterIdentifier(Aws::String &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetAllowedVPCs(const Aws::Vector< Aws::String > &value)
EndpointAuthorization & WithResponseMetadata(const ResponseMetadata &value)
void SetAllowedAllVPCs(bool value)
void SetClusterStatus(const Aws::String &value)
const Aws::String & GetClusterStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream