7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailUsage.h>
9#include <aws/bedrock-runtime/model/GuardrailAction.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/bedrock-runtime/model/GuardrailCoverage.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/bedrock-runtime/model/GuardrailOutputContent.h>
14#include <aws/bedrock-runtime/model/GuardrailAssessment.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
29namespace BedrockRuntime
105 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
ApplyGuardrailResult & WithUsage(GuardrailUsage &&value)
void SetRequestId(const char *value)
ApplyGuardrailResult & WithGuardrailCoverage(const GuardrailCoverage &value)
const GuardrailUsage & GetUsage() const
const GuardrailCoverage & GetGuardrailCoverage() const
void SetAssessments(const Aws::Vector< GuardrailAssessment > &value)
ApplyGuardrailResult & WithGuardrailCoverage(GuardrailCoverage &&value)
ApplyGuardrailResult & WithUsage(const GuardrailUsage &value)
const Aws::String & GetRequestId() const
const Aws::Vector< GuardrailAssessment > & GetAssessments() const
void SetOutputs(Aws::Vector< GuardrailOutputContent > &&value)
ApplyGuardrailResult & WithRequestId(const char *value)
ApplyGuardrailResult & AddOutputs(const GuardrailOutputContent &value)
void SetGuardrailCoverage(const GuardrailCoverage &value)
void SetRequestId(const Aws::String &value)
void SetUsage(const GuardrailUsage &value)
ApplyGuardrailResult & WithAction(const GuardrailAction &value)
AWS_BEDROCKRUNTIME_API ApplyGuardrailResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKRUNTIME_API ApplyGuardrailResult()
void SetAssessments(Aws::Vector< GuardrailAssessment > &&value)
const GuardrailAction & GetAction() const
ApplyGuardrailResult & WithOutputs(Aws::Vector< GuardrailOutputContent > &&value)
ApplyGuardrailResult & WithAssessments(const Aws::Vector< GuardrailAssessment > &value)
ApplyGuardrailResult & WithAssessments(Aws::Vector< GuardrailAssessment > &&value)
void SetOutputs(const Aws::Vector< GuardrailOutputContent > &value)
const Aws::Vector< GuardrailOutputContent > & GetOutputs() const
void SetGuardrailCoverage(GuardrailCoverage &&value)
ApplyGuardrailResult & WithAction(GuardrailAction &&value)
void SetUsage(GuardrailUsage &&value)
ApplyGuardrailResult & WithRequestId(const Aws::String &value)
void SetAction(const GuardrailAction &value)
ApplyGuardrailResult & AddOutputs(GuardrailOutputContent &&value)
void SetRequestId(Aws::String &&value)
ApplyGuardrailResult & AddAssessments(GuardrailAssessment &&value)
void SetAction(GuardrailAction &&value)
ApplyGuardrailResult & WithOutputs(const Aws::Vector< GuardrailOutputContent > &value)
ApplyGuardrailResult & AddAssessments(const GuardrailAssessment &value)
AWS_BEDROCKRUNTIME_API ApplyGuardrailResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ApplyGuardrailResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue