7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/GuardrailStatus.h>
10#include <aws/bedrock/model/GuardrailTopicPolicy.h>
11#include <aws/bedrock/model/GuardrailContentPolicy.h>
12#include <aws/bedrock/model/GuardrailWordPolicy.h>
13#include <aws/bedrock/model/GuardrailSensitiveInformationPolicy.h>
14#include <aws/bedrock/model/GuardrailContextualGroundingPolicy.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
21template<
typename RESULT_TYPE>
22class AmazonWebServiceResult;
50 inline void SetName(
const char* value) { m_name.assign(value); }
63 inline void SetDescription(
const char* value) { m_description.assign(value); }
76 inline void SetGuardrailId(
const char* value) { m_guardrailId.assign(value); }
102 inline void SetVersion(
const char* value) { m_version.assign(value); }
259 inline void SetKmsKeyArn(
const char* value) { m_kmsKeyArn.assign(value); }
270 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetTopicPolicy(const GuardrailTopicPolicy &value)
GetGuardrailResult & WithDescription(Aws::String &&value)
const Aws::String & GetRequestId() const
GetGuardrailResult & WithBlockedInputMessaging(const Aws::String &value)
GetGuardrailResult & AddStatusReasons(Aws::String &&value)
GetGuardrailResult & WithVersion(const Aws::String &value)
GetGuardrailResult & AddFailureRecommendations(Aws::String &&value)
const Aws::Vector< Aws::String > & GetFailureRecommendations() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetStatus(const GuardrailStatus &value)
AWS_BEDROCK_API GetGuardrailResult()
GetGuardrailResult & WithGuardrailId(Aws::String &&value)
const Aws::String & GetName() const
void SetBlockedOutputsMessaging(Aws::String &&value)
void SetRequestId(const char *value)
const GuardrailContentPolicy & GetContentPolicy() const
void SetDescription(const Aws::String &value)
void SetVersion(Aws::String &&value)
GetGuardrailResult & WithRequestId(const char *value)
void SetVersion(const Aws::String &value)
void SetStatusReasons(Aws::Vector< Aws::String > &&value)
GetGuardrailResult & WithStatus(const GuardrailStatus &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetGuardrailResult & WithWordPolicy(GuardrailWordPolicy &&value)
GetGuardrailResult & AddStatusReasons(const char *value)
void SetContextualGroundingPolicy(GuardrailContextualGroundingPolicy &&value)
void SetWordPolicy(GuardrailWordPolicy &&value)
void SetName(const char *value)
void SetRequestId(Aws::String &&value)
void SetGuardrailId(const char *value)
void SetDescription(const char *value)
GetGuardrailResult & WithGuardrailArn(const Aws::String &value)
GetGuardrailResult & WithVersion(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetGuardrailResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetGuardrailResult & WithStatus(GuardrailStatus &&value)
GetGuardrailResult & WithRequestId(const Aws::String &value)
GetGuardrailResult & AddStatusReasons(const Aws::String &value)
GetGuardrailResult & WithContextualGroundingPolicy(GuardrailContextualGroundingPolicy &&value)
GetGuardrailResult & WithContentPolicy(GuardrailContentPolicy &&value)
const GuardrailWordPolicy & GetWordPolicy() const
GetGuardrailResult & WithContentPolicy(const GuardrailContentPolicy &value)
void SetVersion(const char *value)
GetGuardrailResult & WithBlockedInputMessaging(const char *value)
const Aws::String & GetGuardrailId() const
const GuardrailContextualGroundingPolicy & GetContextualGroundingPolicy() const
void SetSensitiveInformationPolicy(GuardrailSensitiveInformationPolicy &&value)
void SetGuardrailArn(const char *value)
const Aws::String & GetBlockedInputMessaging() const
const GuardrailSensitiveInformationPolicy & GetSensitiveInformationPolicy() const
void SetBlockedOutputsMessaging(const Aws::String &value)
GetGuardrailResult & WithBlockedOutputsMessaging(Aws::String &&value)
GetGuardrailResult & WithVersion(Aws::String &&value)
GetGuardrailResult & WithKmsKeyArn(const char *value)
GetGuardrailResult & WithWordPolicy(const GuardrailWordPolicy &value)
void SetRequestId(const Aws::String &value)
GetGuardrailResult & WithName(const char *value)
GetGuardrailResult & WithRequestId(Aws::String &&value)
void SetFailureRecommendations(Aws::Vector< Aws::String > &&value)
const Aws::String & GetVersion() const
void SetKmsKeyArn(const Aws::String &value)
const GuardrailStatus & GetStatus() const
AWS_BEDROCK_API GetGuardrailResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGuardrailResult & AddFailureRecommendations(const Aws::String &value)
GetGuardrailResult & WithName(Aws::String &&value)
GetGuardrailResult & WithFailureRecommendations(Aws::Vector< Aws::String > &&value)
GetGuardrailResult & WithTopicPolicy(const GuardrailTopicPolicy &value)
void SetName(const Aws::String &value)
void SetKmsKeyArn(Aws::String &&value)
GetGuardrailResult & WithBlockedOutputsMessaging(const char *value)
GetGuardrailResult & WithStatusReasons(Aws::Vector< Aws::String > &&value)
void SetSensitiveInformationPolicy(const GuardrailSensitiveInformationPolicy &value)
GetGuardrailResult & WithName(const Aws::String &value)
void SetGuardrailId(Aws::String &&value)
const Aws::String & GetBlockedOutputsMessaging() const
GetGuardrailResult & WithFailureRecommendations(const Aws::Vector< Aws::String > &value)
void SetName(Aws::String &&value)
void SetBlockedInputMessaging(const Aws::String &value)
void SetWordPolicy(const GuardrailWordPolicy &value)
const Aws::String & GetDescription() const
void SetBlockedInputMessaging(Aws::String &&value)
GetGuardrailResult & WithGuardrailArn(const char *value)
GetGuardrailResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetGuardrailResult & WithKmsKeyArn(const Aws::String &value)
GetGuardrailResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetGuardrailResult & WithGuardrailId(const Aws::String &value)
AWS_BEDROCK_API GetGuardrailResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGuardrailResult & WithDescription(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetFailureRecommendations(const Aws::Vector< Aws::String > &value)
GetGuardrailResult & WithBlockedOutputsMessaging(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
GetGuardrailResult & WithTopicPolicy(GuardrailTopicPolicy &&value)
void SetContentPolicy(GuardrailContentPolicy &&value)
const Aws::String & GetGuardrailArn() const
GetGuardrailResult & WithKmsKeyArn(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetStatus(GuardrailStatus &&value)
void SetTopicPolicy(GuardrailTopicPolicy &&value)
GetGuardrailResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetBlockedOutputsMessaging(const char *value)
GetGuardrailResult & WithContextualGroundingPolicy(const GuardrailContextualGroundingPolicy &value)
void SetGuardrailId(const Aws::String &value)
void SetKmsKeyArn(const char *value)
const GuardrailTopicPolicy & GetTopicPolicy() const
void SetContentPolicy(const GuardrailContentPolicy &value)
const Aws::String & GetKmsKeyArn() const
GetGuardrailResult & WithDescription(const char *value)
GetGuardrailResult & WithSensitiveInformationPolicy(const GuardrailSensitiveInformationPolicy &value)
GetGuardrailResult & WithGuardrailArn(Aws::String &&value)
GetGuardrailResult & AddFailureRecommendations(const char *value)
GetGuardrailResult & WithSensitiveInformationPolicy(GuardrailSensitiveInformationPolicy &&value)
GetGuardrailResult & WithBlockedInputMessaging(Aws::String &&value)
void SetStatusReasons(const Aws::Vector< Aws::String > &value)
void SetBlockedInputMessaging(const char *value)
void SetGuardrailArn(Aws::String &&value)
void SetContextualGroundingPolicy(const GuardrailContextualGroundingPolicy &value)
GetGuardrailResult & WithStatusReasons(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetStatusReasons() const
GetGuardrailResult & WithGuardrailId(const char *value)
void SetGuardrailArn(const 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