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/LifecyclePolicyType.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 SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
75 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
89 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
109 bool m_clientTokenHasBeenSet =
false;
112 bool m_descriptionHasBeenSet =
false;
115 bool m_nameHasBeenSet =
false;
118 bool m_policyHasBeenSet =
false;
121 bool m_typeHasBeenSet =
false;
void SetName(const char *value)
void SetClientToken(Aws::String &&value)
CreateLifecyclePolicyRequest & WithClientToken(const char *value)
bool TypeHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateLifecyclePolicyRequest & WithDescription(Aws::String &&value)
void SetClientToken(const Aws::String &value)
CreateLifecyclePolicyRequest & WithName(const Aws::String &value)
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
CreateLifecyclePolicyRequest & WithPolicy(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
void SetPolicy(const char *value)
bool PolicyHasBeenSet() const
void SetDescription(const char *value)
CreateLifecyclePolicyRequest & WithClientToken(const Aws::String &value)
CreateLifecyclePolicyRequest & WithName(Aws::String &&value)
void SetName(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API CreateLifecyclePolicyRequest()
CreateLifecyclePolicyRequest & WithType(LifecyclePolicyType &&value)
void SetPolicy(const Aws::String &value)
CreateLifecyclePolicyRequest & WithPolicy(const char *value)
CreateLifecyclePolicyRequest & WithName(const char *value)
CreateLifecyclePolicyRequest & WithClientToken(Aws::String &&value)
CreateLifecyclePolicyRequest & WithPolicy(Aws::String &&value)
void SetPolicy(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetType(const LifecyclePolicyType &value)
CreateLifecyclePolicyRequest & WithType(const LifecyclePolicyType &value)
CreateLifecyclePolicyRequest & WithDescription(const Aws::String &value)
const Aws::String & GetClientToken() const
bool ClientTokenHasBeenSet() const
bool NameHasBeenSet() const
void SetType(LifecyclePolicyType &&value)
const Aws::String & GetName() const
const LifecyclePolicyType & GetType() const
CreateLifecyclePolicyRequest & WithDescription(const char *value)
void SetName(const Aws::String &value)
void SetDescription(const Aws::String &value)
const Aws::String & GetPolicy() const
virtual const char * GetServiceRequestName() const override
void SetClientToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String