7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace OpenSearchServerless
49 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
64 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
78 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
79 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
94 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
102 bool m_errorCodeHasBeenSet =
false;
105 bool m_errorMessageHasBeenSet =
false;
108 bool m_idHasBeenSet =
false;
111 bool m_nameHasBeenSet =
false;
bool IdHasBeenSet() const
CollectionErrorDetail & WithErrorCode(const char *value)
void SetErrorCode(Aws::String &&value)
void SetId(Aws::String &&value)
bool NameHasBeenSet() const
const Aws::String & GetErrorMessage() const
CollectionErrorDetail & WithErrorCode(Aws::String &&value)
CollectionErrorDetail & WithErrorMessage(Aws::String &&value)
CollectionErrorDetail & WithErrorCode(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API CollectionErrorDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API CollectionErrorDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
CollectionErrorDetail & WithId(const Aws::String &value)
CollectionErrorDetail & WithId(const char *value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const char *value)
void SetId(const Aws::String &value)
CollectionErrorDetail & WithName(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API CollectionErrorDetail()
bool ErrorCodeHasBeenSet() const
void SetErrorCode(const Aws::String &value)
CollectionErrorDetail & WithId(Aws::String &&value)
void SetErrorMessage(const Aws::String &value)
const Aws::String & GetName() const
void SetErrorMessage(Aws::String &&value)
bool ErrorMessageHasBeenSet() const
const Aws::String & GetErrorCode() const
void SetName(const Aws::String &value)
CollectionErrorDetail & WithErrorMessage(const char *value)
void SetErrorCode(const char *value)
void SetId(const char *value)
CollectionErrorDetail & WithName(const Aws::String &value)
const Aws::String & GetId() const
CollectionErrorDetail & WithErrorMessage(const Aws::String &value)
void SetErrorMessage(const char *value)
CollectionErrorDetail & WithName(const char *value)
void SetName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue