7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace BedrockRuntime {
42 template <
typename MessageT = Aws::String>
44 m_messageHasBeenSet =
true;
45 m_message = std::forward<MessageT>(value);
47 template <
typename MessageT = Aws::String>
55 bool m_messageHasBeenSet =
false;
const Aws::String & GetMessage() const
AWS_BEDROCKRUNTIME_API ErrorBlock(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API ErrorBlock()=default
AWS_BEDROCKRUNTIME_API ErrorBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&value)
ErrorBlock & WithMessage(MessageT &&value)
bool MessageHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue