7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace BedrockAgentRuntime
45 template<
typename MessageT = Aws::String>
46 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
47 template<
typename MessageT = Aws::String>
58 template<
typename ResourceNameT = Aws::String>
59 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet =
true; m_resourceName = std::forward<ResourceNameT>(value); }
60 template<
typename ResourceNameT = Aws::String>
66 bool m_messageHasBeenSet =
false;
69 bool m_resourceNameHasBeenSet =
false;
BadGatewayException & WithMessage(MessageT &&value)
void SetMessage(MessageT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
BadGatewayException & WithResourceName(ResourceNameT &&value)
bool MessageHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API BadGatewayException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceName(ResourceNameT &&value)
AWS_BEDROCKAGENTRUNTIME_API BadGatewayException()=default
const Aws::String & GetMessage() const
bool ResourceNameHasBeenSet() const
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