7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
19namespace OpenSearchServerless {
41 template <
typename IdT = Aws::String>
43 m_idHasBeenSet =
true;
44 m_id = std::forward<IdT>(value);
46 template <
typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
79 template <
typename ErrorMessageT = Aws::String>
81 m_errorMessageHasBeenSet =
true;
82 m_errorMessage = std::forward<ErrorMessageT>(value);
84 template <
typename ErrorMessageT = Aws::String>
97 template <
typename ErrorCodeT = Aws::String>
99 m_errorCodeHasBeenSet =
true;
100 m_errorCode = std::forward<ErrorCodeT>(value);
102 template <
typename ErrorCodeT = Aws::String>
116 bool m_idHasBeenSet =
false;
117 bool m_nameHasBeenSet =
false;
118 bool m_errorMessageHasBeenSet =
false;
119 bool m_errorCodeHasBeenSet =
false;
AWS_OPENSEARCHSERVERLESS_API CollectionGroupErrorDetail()=default
const Aws::String & GetName() const
void SetErrorCode(ErrorCodeT &&value)
bool NameHasBeenSet() const
CollectionGroupErrorDetail & WithErrorCode(ErrorCodeT &&value)
CollectionGroupErrorDetail & WithId(IdT &&value)
void SetName(NameT &&value)
const Aws::String & GetErrorCode() const
CollectionGroupErrorDetail & WithName(NameT &&value)
bool ErrorCodeHasBeenSet() const
const Aws::String & GetErrorMessage() const
const Aws::String & GetId() const
AWS_OPENSEARCHSERVERLESS_API CollectionGroupErrorDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API CollectionGroupErrorDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
bool ErrorMessageHasBeenSet() const
void SetErrorMessage(ErrorMessageT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
CollectionGroupErrorDetail & WithErrorMessage(ErrorMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue