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
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
70 bool m_nameHasBeenSet =
false;
73 bool m_typeHasBeenSet =
false;
LifecyclePolicyIdentifier & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
const LifecyclePolicyType & GetType() const
LifecyclePolicyIdentifier & WithType(const LifecyclePolicyType &value)
const Aws::String & GetName() const
bool TypeHasBeenSet() const
void SetName(const char *value)
void SetName(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool NameHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyIdentifier()
LifecyclePolicyIdentifier & WithName(const char *value)
LifecyclePolicyIdentifier & WithName(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyIdentifier(Aws::Utils::Json::JsonView jsonValue)
void SetType(const LifecyclePolicyType &value)
LifecyclePolicyIdentifier & WithType(LifecyclePolicyType &&value)
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(LifecyclePolicyType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue