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 SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
65 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
79 inline void SetResource(
const char* value) { m_resourceHasBeenSet =
true; m_resource.assign(value); }
99 bool m_errorCodeHasBeenSet =
false;
102 bool m_errorMessageHasBeenSet =
false;
105 bool m_resourceHasBeenSet =
false;
108 bool m_typeHasBeenSet =
false;
void SetErrorCode(Aws::String &&value)
void SetResource(const Aws::String &value)
const Aws::String & GetErrorMessage() const
EffectiveLifecyclePolicyErrorDetail & WithResource(const Aws::String &value)
EffectiveLifecyclePolicyErrorDetail & WithResource(const char *value)
AWS_OPENSEARCHSERVERLESS_API EffectiveLifecyclePolicyErrorDetail()
const Aws::String & GetResource() const
EffectiveLifecyclePolicyErrorDetail & WithErrorMessage(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVERLESS_API EffectiveLifecyclePolicyErrorDetail(Aws::Utils::Json::JsonView jsonValue)
EffectiveLifecyclePolicyErrorDetail & WithErrorMessage(const char *value)
void SetErrorMessage(Aws::String &&value)
void SetErrorMessage(const Aws::String &value)
bool ResourceHasBeenSet() const
const LifecyclePolicyType & GetType() const
void SetErrorCode(const char *value)
void SetType(LifecyclePolicyType &&value)
void SetType(const LifecyclePolicyType &value)
void SetResource(Aws::String &&value)
EffectiveLifecyclePolicyErrorDetail & WithErrorCode(Aws::String &&value)
EffectiveLifecyclePolicyErrorDetail & WithType(LifecyclePolicyType &&value)
EffectiveLifecyclePolicyErrorDetail & WithErrorCode(const char *value)
const Aws::String & GetErrorCode() const
EffectiveLifecyclePolicyErrorDetail & WithErrorCode(const Aws::String &value)
void SetErrorCode(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API EffectiveLifecyclePolicyErrorDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
EffectiveLifecyclePolicyErrorDetail & WithType(const LifecyclePolicyType &value)
void SetResource(const char *value)
bool TypeHasBeenSet() const
bool ErrorMessageHasBeenSet() const
EffectiveLifecyclePolicyErrorDetail & WithResource(Aws::String &&value)
void SetErrorMessage(const char *value)
EffectiveLifecyclePolicyErrorDetail & WithErrorMessage(const Aws::String &value)
bool ErrorCodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue