7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearch/model/AWSServicePrincipal.h>
15namespace OpenSearchService
44 inline void SetDomainName(
const char* value) { m_domainNameHasBeenSet =
true; m_domainName.assign(value); }
58 inline void SetAccount(
const char* value) { m_accountHasBeenSet =
true; m_account.assign(value); }
78 bool m_domainNameHasBeenSet =
false;
81 bool m_accountHasBeenSet =
false;
84 bool m_serviceHasBeenSet =
false;
RevokeVpcEndpointAccessRequest & WithDomainName(const char *value)
RevokeVpcEndpointAccessRequest & WithService(const AWSServicePrincipal &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAccount() const
void SetAccount(const char *value)
void SetDomainName(const Aws::String &value)
RevokeVpcEndpointAccessRequest & WithAccount(const char *value)
bool AccountHasBeenSet() const
void SetDomainName(Aws::String &&value)
void SetService(const AWSServicePrincipal &value)
void SetAccount(const Aws::String &value)
const Aws::String & GetDomainName() const
RevokeVpcEndpointAccessRequest & WithAccount(Aws::String &&value)
void SetAccount(Aws::String &&value)
bool ServiceHasBeenSet() const
const AWSServicePrincipal & GetService() const
RevokeVpcEndpointAccessRequest & WithDomainName(Aws::String &&value)
RevokeVpcEndpointAccessRequest & WithDomainName(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
RevokeVpcEndpointAccessRequest & WithAccount(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API RevokeVpcEndpointAccessRequest()
void SetDomainName(const char *value)
RevokeVpcEndpointAccessRequest & WithService(AWSServicePrincipal &&value)
bool DomainNameHasBeenSet() const
void SetService(AWSServicePrincipal &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String