7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/model/LifecyclePolicyType.h>
22namespace OpenSearchServerless
47 inline void SetCreatedDate(
long long value) { m_createdDateHasBeenSet =
true; m_createdDate = value; }
59 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
71 inline void SetLastModifiedDate(
long long value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = value; }
83 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
97 inline void SetPolicyVersion(
const char* value) { m_policyVersionHasBeenSet =
true; m_policyVersion.assign(value); }
116 long long m_createdDate;
117 bool m_createdDateHasBeenSet =
false;
120 bool m_descriptionHasBeenSet =
false;
122 long long m_lastModifiedDate;
123 bool m_lastModifiedDateHasBeenSet =
false;
126 bool m_nameHasBeenSet =
false;
129 bool m_policyVersionHasBeenSet =
false;
132 bool m_typeHasBeenSet =
false;
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicySummary(Aws::Utils::Json::JsonView jsonValue)
void SetPolicyVersion(const char *value)
void SetPolicyVersion(Aws::String &&value)
void SetDescription(const char *value)
LifecyclePolicySummary & WithPolicyVersion(Aws::String &&value)
const Aws::String & GetName() const
LifecyclePolicySummary & WithName(const char *value)
void SetDescription(const Aws::String &value)
void SetPolicyVersion(const Aws::String &value)
LifecyclePolicySummary & WithType(LifecyclePolicyType &&value)
LifecyclePolicySummary & WithName(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetCreatedDate() const
void SetCreatedDate(long long value)
LifecyclePolicySummary & WithDescription(const Aws::String &value)
void SetType(LifecyclePolicyType &&value)
LifecyclePolicySummary & WithCreatedDate(long long value)
LifecyclePolicySummary & WithLastModifiedDate(long long value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
void SetName(const Aws::String &value)
void SetName(Aws::String &&value)
LifecyclePolicySummary & WithPolicyVersion(const char *value)
LifecyclePolicySummary & WithName(const Aws::String &value)
long long GetLastModifiedDate() const
bool NameHasBeenSet() const
void SetType(const LifecyclePolicyType &value)
LifecyclePolicySummary & WithPolicyVersion(const Aws::String &value)
bool TypeHasBeenSet() const
LifecyclePolicySummary & WithDescription(const char *value)
bool PolicyVersionHasBeenSet() const
bool DescriptionHasBeenSet() const
bool LastModifiedDateHasBeenSet() const
void SetName(const char *value)
const LifecyclePolicyType & GetType() const
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicySummary()
void SetDescription(Aws::String &&value)
LifecyclePolicySummary & WithDescription(Aws::String &&value)
LifecyclePolicySummary & WithType(const LifecyclePolicyType &value)
bool CreatedDateHasBeenSet() const
const Aws::String & GetPolicyVersion() const
void SetLastModifiedDate(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue