7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/RedshiftRequest.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
42 template <
typename ClusterIdentifierT = Aws::String>
44 m_clusterIdentifierHasBeenSet =
true;
45 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
47 template <
typename ClusterIdentifierT = Aws::String>
60 template <
typename AccountT = Aws::String>
62 m_accountHasBeenSet =
true;
63 m_account = std::forward<AccountT>(value);
65 template <
typename AccountT = Aws::String>
78 template <
typename VpcIdsT = Aws::Vector<Aws::String>>
80 m_vpcIdsHasBeenSet =
true;
81 m_vpcIds = std::forward<VpcIdsT>(value);
83 template <
typename VpcIdsT = Aws::Vector<Aws::String>>
88 template <
typename VpcIdsT = Aws::String>
90 m_vpcIdsHasBeenSet =
true;
91 m_vpcIds.emplace_back(std::forward<VpcIdsT>(value));
101 bool m_clusterIdentifierHasBeenSet =
false;
102 bool m_accountHasBeenSet =
false;
103 bool m_vpcIdsHasBeenSet =
false;
AWS_REDSHIFT_API Aws::String SerializePayload() const override
AuthorizeEndpointAccessRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
const Aws::Vector< Aws::String > & GetVpcIds() const
void SetClusterIdentifier(ClusterIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
void SetAccount(AccountT &&value)
AuthorizeEndpointAccessRequest & WithVpcIds(VpcIdsT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool AccountHasBeenSet() const
void SetVpcIds(VpcIdsT &&value)
bool ClusterIdentifierHasBeenSet() const
const Aws::String & GetClusterIdentifier() const
AuthorizeEndpointAccessRequest & AddVpcIds(VpcIdsT &&value)
bool VpcIdsHasBeenSet() const
AuthorizeEndpointAccessRequest & WithAccount(AccountT &&value)
const Aws::String & GetAccount() const
AWS_REDSHIFT_API AuthorizeEndpointAccessRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector