7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/GuardrailAction.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/bedrock-agent-runtime/model/GuardrailAssessment.h>
24namespace BedrockAgentRuntime
91 inline void SetTraceId(
const char* value) { m_traceIdHasBeenSet =
true; m_traceId.assign(value); }
99 bool m_actionHasBeenSet =
false;
102 bool m_inputAssessmentsHasBeenSet =
false;
105 bool m_outputAssessmentsHasBeenSet =
false;
108 bool m_traceIdHasBeenSet =
false;
bool OutputAssessmentsHasBeenSet() const
bool TraceIdHasBeenSet() const
void SetAction(GuardrailAction &&value)
GuardrailTrace & WithInputAssessments(Aws::Vector< GuardrailAssessment > &&value)
GuardrailTrace & AddInputAssessments(const GuardrailAssessment &value)
void SetTraceId(Aws::String &&value)
const Aws::Vector< GuardrailAssessment > & GetInputAssessments() const
GuardrailTrace & WithTraceId(Aws::String &&value)
GuardrailTrace & WithTraceId(const char *value)
GuardrailTrace & AddInputAssessments(GuardrailAssessment &&value)
void SetInputAssessments(const Aws::Vector< GuardrailAssessment > &value)
bool InputAssessmentsHasBeenSet() const
const Aws::String & GetTraceId() const
void SetOutputAssessments(const Aws::Vector< GuardrailAssessment > &value)
GuardrailTrace & WithInputAssessments(const Aws::Vector< GuardrailAssessment > &value)
void SetTraceId(const char *value)
void SetInputAssessments(Aws::Vector< GuardrailAssessment > &&value)
AWS_BEDROCKAGENTRUNTIME_API GuardrailTrace()
void SetTraceId(const Aws::String &value)
GuardrailTrace & AddOutputAssessments(GuardrailAssessment &&value)
void SetOutputAssessments(Aws::Vector< GuardrailAssessment > &&value)
GuardrailTrace & WithAction(const GuardrailAction &value)
GuardrailTrace & WithOutputAssessments(Aws::Vector< GuardrailAssessment > &&value)
GuardrailTrace & WithAction(GuardrailAction &&value)
const GuardrailAction & GetAction() const
GuardrailTrace & AddOutputAssessments(const GuardrailAssessment &value)
GuardrailTrace & WithOutputAssessments(const Aws::Vector< GuardrailAssessment > &value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailTrace & WithTraceId(const Aws::String &value)
AWS_BEDROCKAGENTRUNTIME_API GuardrailTrace & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAction(const GuardrailAction &value)
bool ActionHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API GuardrailTrace(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< GuardrailAssessment > & GetOutputAssessments() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue