7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
19namespace OpenSearchServerless {
42 template <
typename IdT = Aws::String>
44 m_idHasBeenSet =
true;
45 m_id = std::forward<IdT>(value);
47 template <
typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
80 template <
typename ErrorMessageT = Aws::String>
82 m_errorMessageHasBeenSet =
true;
83 m_errorMessage = std::forward<ErrorMessageT>(value);
85 template <
typename ErrorMessageT = Aws::String>
98 template <
typename ErrorCodeT = Aws::String>
100 m_errorCodeHasBeenSet =
true;
101 m_errorCode = std::forward<ErrorCodeT>(value);
103 template <
typename ErrorCodeT = Aws::String>
117 bool m_idHasBeenSet =
false;
118 bool m_nameHasBeenSet =
false;
119 bool m_errorMessageHasBeenSet =
false;
120 bool m_errorCodeHasBeenSet =
false;
bool IdHasBeenSet() const
CollectionErrorDetail & WithName(NameT &&value)
bool NameHasBeenSet() const
const Aws::String & GetErrorMessage() const
AWS_OPENSEARCHSERVERLESS_API CollectionErrorDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API CollectionErrorDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
bool ErrorCodeHasBeenSet() const
void SetErrorMessage(ErrorMessageT &&value)
CollectionErrorDetail & WithErrorCode(ErrorCodeT &&value)
CollectionErrorDetail & WithErrorMessage(ErrorMessageT &&value)
const Aws::String & GetName() const
bool ErrorMessageHasBeenSet() const
const Aws::String & GetErrorCode() const
CollectionErrorDetail & WithId(IdT &&value)
void SetErrorCode(ErrorCodeT &&value)
AWS_OPENSEARCHSERVERLESS_API CollectionErrorDetail()=default
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue