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/SecurityPolicyType.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;
CreateSecurityPolicyRequest & WithType(SecurityPolicyType &&value)
void SetName(const char *value)
bool TypeHasBeenSet() const
void SetName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetClientToken(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
void SetName(const Aws::String &value)
void SetType(const SecurityPolicyType &value)
const Aws::String & GetName() const
CreateSecurityPolicyRequest & WithClientToken(const char *value)
void SetDescription(const Aws::String &value)
void SetDescription(const char *value)
CreateSecurityPolicyRequest & WithType(const SecurityPolicyType &value)
const Aws::String & GetClientToken() const
bool ClientTokenHasBeenSet() const
const SecurityPolicyType & GetType() const
const Aws::String & GetPolicy() const
bool NameHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetClientToken(const char *value)
CreateSecurityPolicyRequest & WithPolicy(const char *value)
AWS_OPENSEARCHSERVERLESS_API CreateSecurityPolicyRequest()
void SetPolicy(Aws::String &&value)
const Aws::String & GetDescription() const
void SetPolicy(const char *value)
bool DescriptionHasBeenSet() const
CreateSecurityPolicyRequest & WithName(const Aws::String &value)
CreateSecurityPolicyRequest & WithDescription(const Aws::String &value)
CreateSecurityPolicyRequest & WithDescription(const char *value)
void SetClientToken(Aws::String &&value)
CreateSecurityPolicyRequest & WithName(const char *value)
void SetDescription(Aws::String &&value)
void SetPolicy(const Aws::String &value)
bool PolicyHasBeenSet() const
CreateSecurityPolicyRequest & WithClientToken(const Aws::String &value)
void SetType(SecurityPolicyType &&value)
CreateSecurityPolicyRequest & WithDescription(Aws::String &&value)
CreateSecurityPolicyRequest & WithClientToken(Aws::String &&value)
CreateSecurityPolicyRequest & WithPolicy(Aws::String &&value)
CreateSecurityPolicyRequest & WithPolicy(const Aws::String &value)
CreateSecurityPolicyRequest & WithName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String