7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace BedrockAgentRuntime {
39 template <
typename MessageT = Aws::String>
41 m_messageHasBeenSet =
true;
42 m_message = std::forward<MessageT>(value);
44 template <
typename MessageT = Aws::String>
58 template <
typename ResourceNameT = Aws::String>
60 m_resourceNameHasBeenSet =
true;
61 m_resourceName = std::forward<ResourceNameT>(value);
63 template <
typename ResourceNameT = Aws::String>
73 bool m_messageHasBeenSet =
false;
74 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::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