7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Document.h>
10#include <aws/opensearchserverless/model/LifecyclePolicyType.h>
23namespace OpenSearchServerless
49 inline void SetCreatedDate(
long long value) { m_createdDateHasBeenSet =
true; m_createdDate = value; }
61 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
73 inline void SetLastModifiedDate(
long long value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = value; }
85 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
111 inline void SetPolicyVersion(
const char* value) { m_policyVersionHasBeenSet =
true; m_policyVersion.assign(value); }
130 long long m_createdDate;
131 bool m_createdDateHasBeenSet =
false;
134 bool m_descriptionHasBeenSet =
false;
136 long long m_lastModifiedDate;
137 bool m_lastModifiedDateHasBeenSet =
false;
140 bool m_nameHasBeenSet =
false;
143 bool m_policyHasBeenSet =
false;
146 bool m_policyVersionHasBeenSet =
false;
149 bool m_typeHasBeenSet =
false;
bool NameHasBeenSet() const
LifecyclePolicyDetail & WithPolicyVersion(Aws::String &&value)
LifecyclePolicyDetail & WithName(const char *value)
LifecyclePolicyDetail & WithPolicy(const Aws::Utils::Document &value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
LifecyclePolicyDetail & WithDescription(Aws::String &&value)
LifecyclePolicyDetail & WithType(LifecyclePolicyType &&value)
bool PolicyHasBeenSet() const
bool CreatedDateHasBeenSet() const
LifecyclePolicyDetail & WithLastModifiedDate(long long value)
bool PolicyVersionHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyDetail(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetType(LifecyclePolicyType &&value)
long long GetLastModifiedDate() const
LifecyclePolicyDetail & WithName(Aws::String &&value)
void SetDescription(const char *value)
void SetName(Aws::String &&value)
void SetLastModifiedDate(long long value)
const Aws::String & GetDescription() const
LifecyclePolicyDetail & WithDescription(const char *value)
LifecyclePolicyDetail & WithType(const LifecyclePolicyType &value)
void SetPolicy(const Aws::Utils::Document &value)
LifecyclePolicyDetail & WithPolicyVersion(const Aws::String &value)
void SetName(const char *value)
LifecyclePolicyDetail & WithDescription(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetDescription(Aws::String &&value)
const LifecyclePolicyType & GetType() const
void SetType(const LifecyclePolicyType &value)
long long GetCreatedDate() const
bool LastModifiedDateHasBeenSet() const
LifecyclePolicyDetail & WithCreatedDate(long long value)
void SetName(const Aws::String &value)
LifecyclePolicyDetail & WithPolicy(Aws::Utils::Document &&value)
void SetPolicyVersion(const Aws::String &value)
LifecyclePolicyDetail & WithName(const Aws::String &value)
bool DescriptionHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::DocumentView GetPolicy() const
const Aws::String & GetPolicyVersion() const
void SetPolicy(Aws::Utils::Document &&value)
void SetPolicyVersion(Aws::String &&value)
void SetPolicyVersion(const char *value)
LifecyclePolicyDetail & WithPolicyVersion(const char *value)
bool TypeHasBeenSet() const
void SetCreatedDate(long long value)
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyDetail()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue