7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/RetrievalInstructionFailureReasonCode.h>
9#include <aws/bedrock-agent/model/RetrievalInstructionFieldName.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace BedrockAgent {
47 m_fieldNameHasBeenSet =
true;
71 m_codeHasBeenSet =
true;
87 template <
typename MessageT = Aws::String>
89 m_messageHasBeenSet =
true;
90 m_message = std::forward<MessageT>(value);
92 template <
typename MessageT = Aws::String>
104 bool m_fieldNameHasBeenSet =
false;
105 bool m_codeHasBeenSet =
false;
106 bool m_messageHasBeenSet =
false;
RetrievalInstructionFieldName GetFieldName() const
const Aws::String & GetMessage() const
RetrievalInstructionFailureReasonCode GetCode() const
void SetCode(RetrievalInstructionFailureReasonCode value)
RetrievalInstructionFailureReason & WithMessage(MessageT &&value)
void SetMessage(MessageT &&value)
bool CodeHasBeenSet() const
bool MessageHasBeenSet() const
AWS_BEDROCKAGENT_API RetrievalInstructionFailureReason & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FieldNameHasBeenSet() const
RetrievalInstructionFailureReason & WithCode(RetrievalInstructionFailureReasonCode value)
RetrievalInstructionFailureReason & WithFieldName(RetrievalInstructionFieldName value)
AWS_BEDROCKAGENT_API RetrievalInstructionFailureReason()=default
void SetFieldName(RetrievalInstructionFieldName value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API RetrievalInstructionFailureReason(Aws::Utils::Json::JsonView jsonValue)
RetrievalInstructionFailureReasonCode
RetrievalInstructionFieldName
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue