7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
9#include <aws/opensearchserverless/model/LifecyclePolicyType.h>
20namespace OpenSearchServerless {
43 m_typeHasBeenSet =
true;
58 template <
typename NameT = Aws::String>
60 m_nameHasBeenSet =
true;
61 m_name = std::forward<NameT>(value);
63 template <
typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
73 bool m_typeHasBeenSet =
false;
74 bool m_nameHasBeenSet =
false;
void SetName(NameT &&value)
const Aws::String & GetName() const
LifecyclePolicyType GetType() const
LifecyclePolicyIdentifier & WithType(LifecyclePolicyType value)
bool TypeHasBeenSet() const
LifecyclePolicyIdentifier & WithName(NameT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool NameHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyIdentifier(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(LifecyclePolicyType value)
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyIdentifier()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue