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 SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
99 bool m_errorCodeHasBeenSet =
false;
102 bool m_errorMessageHasBeenSet =
false;
105 bool m_nameHasBeenSet =
false;
108 bool m_typeHasBeenSet =
false;
const Aws::String & GetName() const
const Aws::String & GetErrorCode() const
LifecyclePolicyErrorDetail & WithErrorMessage(Aws::String &&value)
void SetErrorMessage(const Aws::String &value)
LifecyclePolicyErrorDetail & WithName(const char *value)
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyErrorDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyErrorDetail(Aws::Utils::Json::JsonView jsonValue)
LifecyclePolicyErrorDetail & WithName(Aws::String &&value)
LifecyclePolicyErrorDetail & WithType(LifecyclePolicyType &&value)
LifecyclePolicyErrorDetail & WithErrorMessage(const char *value)
void SetErrorCode(const char *value)
void SetName(const char *value)
void SetType(const LifecyclePolicyType &value)
bool TypeHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorCode(Aws::String &&value)
LifecyclePolicyErrorDetail & WithErrorMessage(const Aws::String &value)
void SetErrorCode(const Aws::String &value)
LifecyclePolicyErrorDetail & WithErrorCode(const char *value)
bool NameHasBeenSet() const
const LifecyclePolicyType & GetType() const
LifecyclePolicyErrorDetail & WithErrorCode(Aws::String &&value)
void SetErrorMessage(Aws::String &&value)
void SetName(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyErrorDetail()
LifecyclePolicyErrorDetail & WithName(const Aws::String &value)
const Aws::String & GetErrorMessage() const
bool ErrorCodeHasBeenSet() const
void SetName(Aws::String &&value)
void SetErrorMessage(const char *value)
LifecyclePolicyErrorDetail & WithErrorCode(const Aws::String &value)
bool ErrorMessageHasBeenSet() const
void SetType(LifecyclePolicyType &&value)
LifecyclePolicyErrorDetail & WithType(const LifecyclePolicyType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue