7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
46 template<
typename ClusterIdentifierT = Aws::String>
47 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
48 template<
typename ClusterIdentifierT = Aws::String>
58 template<
typename AccountT = Aws::String>
59 void SetAccount(AccountT&& value) { m_accountHasBeenSet =
true; m_account = std::forward<AccountT>(value); }
60 template<
typename AccountT = Aws::String>
71 template<
typename VpcIdsT = Aws::Vector<Aws::String>>
72 void SetVpcIds(VpcIdsT&& value) { m_vpcIdsHasBeenSet =
true; m_vpcIds = std::forward<VpcIdsT>(value); }
73 template<
typename VpcIdsT = Aws::Vector<Aws::String>>
75 template<
typename VpcIdsT = Aws::String>
84 inline bool GetForce()
const {
return m_force; }
86 inline void SetForce(
bool value) { m_forceHasBeenSet =
true; m_force = value; }
92 bool m_clusterIdentifierHasBeenSet =
false;
95 bool m_accountHasBeenSet =
false;
98 bool m_vpcIdsHasBeenSet =
false;
101 bool m_forceHasBeenSet =
false;
bool ClusterIdentifierHasBeenSet() const
void SetClusterIdentifier(ClusterIdentifierT &&value)
bool AccountHasBeenSet() const
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
RevokeEndpointAccessRequest & WithForce(bool value)
const Aws::String & GetClusterIdentifier() const
RevokeEndpointAccessRequest & WithAccount(AccountT &&value)
bool ForceHasBeenSet() const
void SetVpcIds(VpcIdsT &&value)
AWS_REDSHIFT_API RevokeEndpointAccessRequest()=default
RevokeEndpointAccessRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
void SetForce(bool value)
RevokeEndpointAccessRequest & AddVpcIds(VpcIdsT &&value)
RevokeEndpointAccessRequest & WithVpcIds(VpcIdsT &&value)
virtual const char * GetServiceRequestName() const override
void SetAccount(AccountT &&value)
const Aws::String & GetAccount() const
bool VpcIdsHasBeenSet() const
const Aws::Vector< Aws::String > & GetVpcIds() const
AWS_REDSHIFT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector