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 SetResource(
const char* value) { m_resourceHasBeenSet =
true; m_resource.assign(value); }
70 bool m_resourceHasBeenSet =
false;
73 bool m_typeHasBeenSet =
false;
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
LifecyclePolicyResourceIdentifier & WithResource(Aws::String &&value)
bool TypeHasBeenSet() const
void SetResource(Aws::String &&value)
void SetResource(const char *value)
void SetResource(const Aws::String &value)
bool ResourceHasBeenSet() const
LifecyclePolicyResourceIdentifier & WithResource(const char *value)
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyResourceIdentifier(Aws::Utils::Json::JsonView jsonValue)
LifecyclePolicyResourceIdentifier & WithType(LifecyclePolicyType &&value)
const LifecyclePolicyType & GetType() const
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyResourceIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
LifecyclePolicyResourceIdentifier & WithType(const LifecyclePolicyType &value)
void SetType(const LifecyclePolicyType &value)
void SetType(LifecyclePolicyType &&value)
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyResourceIdentifier()
const Aws::String & GetResource() const
LifecyclePolicyResourceIdentifier & WithResource(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue