7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearchserverless/model/AccessPolicyType.h>
12#include <aws/core/utils/UUID.h>
16namespace OpenSearchServerless
47 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
61 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
81 bool m_clientTokenHasBeenSet =
false;
84 bool m_nameHasBeenSet =
false;
87 bool m_typeHasBeenSet =
false;
void SetType(AccessPolicyType &&value)
DeleteAccessPolicyRequest & WithType(AccessPolicyType &&value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
DeleteAccessPolicyRequest & WithClientToken(Aws::String &&value)
DeleteAccessPolicyRequest & WithClientToken(const char *value)
void SetClientToken(Aws::String &&value)
void SetName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
void SetName(Aws::String &&value)
DeleteAccessPolicyRequest & WithClientToken(const Aws::String &value)
const Aws::String & GetClientToken() const
void SetClientToken(const char *value)
bool ClientTokenHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API DeleteAccessPolicyRequest()
void SetType(const AccessPolicyType &value)
void SetName(const char *value)
DeleteAccessPolicyRequest & WithName(const Aws::String &value)
DeleteAccessPolicyRequest & WithType(const AccessPolicyType &value)
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetClientToken(const Aws::String &value)
DeleteAccessPolicyRequest & WithName(Aws::String &&value)
bool TypeHasBeenSet() const
const AccessPolicyType & GetType() const
DeleteAccessPolicyRequest & WithName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String