7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace BedrockAgentRuntime
47 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
62 inline void SetResourceName(
const char* value) { m_resourceNameHasBeenSet =
true; m_resourceName.assign(value); }
70 bool m_messageHasBeenSet =
false;
73 bool m_resourceNameHasBeenSet =
false;
void SetResourceName(const Aws::String &value)
void SetMessage(Aws::String &&value)
void SetResourceName(const char *value)
void SetMessage(const Aws::String &value)
BadGatewayException & WithResourceName(const Aws::String &value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceName(Aws::String &&value)
bool MessageHasBeenSet() const
void SetMessage(const char *value)
BadGatewayException & WithResourceName(Aws::String &&value)
AWS_BEDROCKAGENTRUNTIME_API BadGatewayException & operator=(Aws::Utils::Json::JsonView jsonValue)
BadGatewayException & WithResourceName(const char *value)
BadGatewayException & WithMessage(const char *value)
BadGatewayException & WithMessage(Aws::String &&value)
const Aws::String & GetMessage() const
AWS_BEDROCKAGENTRUNTIME_API BadGatewayException()
bool ResourceNameHasBeenSet() const
BadGatewayException & WithMessage(const Aws::String &value)
AWS_BEDROCKAGENTRUNTIME_API BadGatewayException(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue