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); }
62 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
76 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
90 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
110 bool m_clientTokenHasBeenSet =
false;
113 bool m_descriptionHasBeenSet =
false;
116 bool m_nameHasBeenSet =
false;
119 bool m_policyHasBeenSet =
false;
122 bool m_typeHasBeenSet =
false;
CreateAccessPolicyRequest & WithName(Aws::String &&value)
bool TypeHasBeenSet() const
CreateAccessPolicyRequest & WithPolicy(Aws::String &&value)
void SetPolicy(const char *value)
void SetName(const char *value)
CreateAccessPolicyRequest & WithClientToken(const char *value)
const Aws::String & GetName() const
const Aws::String & GetPolicy() const
virtual const char * GetServiceRequestName() const override
CreateAccessPolicyRequest & WithDescription(Aws::String &&value)
CreateAccessPolicyRequest & WithClientToken(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
CreateAccessPolicyRequest & WithClientToken(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAccessPolicyRequest & WithType(AccessPolicyType &&value)
AWS_OPENSEARCHSERVERLESS_API CreateAccessPolicyRequest()
void SetClientToken(const char *value)
void SetType(const AccessPolicyType &value)
void SetClientToken(const Aws::String &value)
void SetType(AccessPolicyType &&value)
bool DescriptionHasBeenSet() const
CreateAccessPolicyRequest & WithType(const AccessPolicyType &value)
CreateAccessPolicyRequest & WithName(const char *value)
bool NameHasBeenSet() const
void SetDescription(const char *value)
void SetDescription(Aws::String &&value)
bool PolicyHasBeenSet() const
const Aws::String & GetDescription() const
void SetClientToken(Aws::String &&value)
void SetPolicy(Aws::String &&value)
const AccessPolicyType & GetType() const
const Aws::String & GetClientToken() const
void SetName(Aws::String &&value)
CreateAccessPolicyRequest & WithPolicy(const char *value)
void SetName(const Aws::String &value)
bool ClientTokenHasBeenSet() const
void SetDescription(const Aws::String &value)
CreateAccessPolicyRequest & WithName(const Aws::String &value)
CreateAccessPolicyRequest & WithDescription(const Aws::String &value)
void SetPolicy(const Aws::String &value)
CreateAccessPolicyRequest & WithPolicy(const Aws::String &value)
CreateAccessPolicyRequest & WithDescription(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String