7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
10#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
11#include <aws/opensearchserverless/model/LifecyclePolicyType.h>
16namespace OpenSearchServerless {
42 m_typeHasBeenSet =
true;
57 template <
typename NameT = Aws::String>
59 m_nameHasBeenSet =
true;
60 m_name = std::forward<NameT>(value);
62 template <
typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
75 template <
typename DescriptionT = Aws::String>
77 m_descriptionHasBeenSet =
true;
78 m_description = std::forward<DescriptionT>(value);
80 template <
typename DescriptionT = Aws::String>
93 template <
typename PolicyT = Aws::String>
95 m_policyHasBeenSet =
true;
96 m_policy = std::forward<PolicyT>(value);
98 template <
typename PolicyT = Aws::String>
111 template <
typename ClientTokenT = Aws::String>
113 m_clientTokenHasBeenSet =
true;
114 m_clientToken = std::forward<ClientTokenT>(value);
116 template <
typename ClientTokenT = Aws::String>
132 bool m_typeHasBeenSet =
false;
133 bool m_nameHasBeenSet =
false;
134 bool m_descriptionHasBeenSet =
false;
135 bool m_policyHasBeenSet =
false;
136 bool m_clientTokenHasBeenSet =
true;
void SetType(LifecyclePolicyType value)
CreateLifecyclePolicyRequest & WithClientToken(ClientTokenT &&value)
void SetDescription(DescriptionT &&value)
bool TypeHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetPolicy(PolicyT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
bool PolicyHasBeenSet() const
CreateLifecyclePolicyRequest & WithPolicy(PolicyT &&value)
void SetClientToken(ClientTokenT &&value)
LifecyclePolicyType GetType() const
AWS_OPENSEARCHSERVERLESS_API CreateLifecyclePolicyRequest()=default
void SetName(NameT &&value)
const Aws::String & GetClientToken() const
bool ClientTokenHasBeenSet() const
CreateLifecyclePolicyRequest & WithDescription(DescriptionT &&value)
bool NameHasBeenSet() const
CreateLifecyclePolicyRequest & WithName(NameT &&value)
const Aws::String & GetName() const
const Aws::String & GetPolicy() const
virtual const char * GetServiceRequestName() const override
CreateLifecyclePolicyRequest & WithType(LifecyclePolicyType value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String