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;
const AWSServicePrincipal & GetService() const
const Aws::String & GetAccount() const
bool DomainNameHasBeenSet() const
AuthorizeVpcEndpointAccessRequest & WithAccount(const char *value)
void SetDomainName(const char *value)
void SetAccount(const char *value)
AuthorizeVpcEndpointAccessRequest & WithDomainName(const char *value)
bool AccountHasBeenSet() const
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
void SetDomainName(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API AuthorizeVpcEndpointAccessRequest()
AuthorizeVpcEndpointAccessRequest & WithDomainName(const Aws::String &value)
bool ServiceHasBeenSet() const
AuthorizeVpcEndpointAccessRequest & WithService(AWSServicePrincipal &&value)
AuthorizeVpcEndpointAccessRequest & WithService(const AWSServicePrincipal &value)
AuthorizeVpcEndpointAccessRequest & WithAccount(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetService(AWSServicePrincipal &&value)
void SetService(const AWSServicePrincipal &value)
void SetAccount(const Aws::String &value)
void SetDomainName(const Aws::String &value)
void SetAccount(Aws::String &&value)
const Aws::String & GetDomainName() const
AuthorizeVpcEndpointAccessRequest & WithDomainName(Aws::String &&value)
AuthorizeVpcEndpointAccessRequest & WithAccount(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String