7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-runtime/model/GuardrailTrace.h>
10#include <aws/bedrock-runtime/model/GuardrailStreamProcessingMode.h>
23namespace BedrockRuntime
51 inline void SetGuardrailIdentifier(
const char* value) { m_guardrailIdentifierHasBeenSet =
true; m_guardrailIdentifier.assign(value); }
65 inline void SetGuardrailVersion(
const char* value) { m_guardrailVersionHasBeenSet =
true; m_guardrailVersion.assign(value); }
99 bool m_guardrailIdentifierHasBeenSet =
false;
102 bool m_guardrailVersionHasBeenSet =
false;
105 bool m_traceHasBeenSet =
false;
108 bool m_streamProcessingModeHasBeenSet =
false;
GuardrailStreamConfiguration & WithGuardrailIdentifier(const Aws::String &value)
bool TraceHasBeenSet() const
GuardrailStreamConfiguration & WithTrace(const GuardrailTrace &value)
void SetGuardrailVersion(const char *value)
AWS_BEDROCKRUNTIME_API GuardrailStreamConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetStreamProcessingMode(GuardrailStreamProcessingMode &&value)
AWS_BEDROCKRUNTIME_API GuardrailStreamConfiguration()
GuardrailStreamConfiguration & WithGuardrailIdentifier(const char *value)
void SetStreamProcessingMode(const GuardrailStreamProcessingMode &value)
bool StreamProcessingModeHasBeenSet() const
GuardrailStreamConfiguration & WithGuardrailVersion(const char *value)
GuardrailStreamConfiguration & WithGuardrailIdentifier(Aws::String &&value)
void SetGuardrailVersion(Aws::String &&value)
void SetGuardrailIdentifier(const char *value)
const Aws::String & GetGuardrailIdentifier() const
bool GuardrailVersionHasBeenSet() const
const Aws::String & GetGuardrailVersion() const
GuardrailStreamConfiguration & WithGuardrailVersion(const Aws::String &value)
void SetGuardrailVersion(const Aws::String &value)
GuardrailStreamConfiguration & WithStreamProcessingMode(const GuardrailStreamProcessingMode &value)
void SetGuardrailIdentifier(const Aws::String &value)
const GuardrailTrace & GetTrace() const
GuardrailStreamConfiguration & WithStreamProcessingMode(GuardrailStreamProcessingMode &&value)
void SetTrace(GuardrailTrace &&value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool GuardrailIdentifierHasBeenSet() const
GuardrailStreamConfiguration & WithTrace(GuardrailTrace &&value)
AWS_BEDROCKRUNTIME_API GuardrailStreamConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailStreamConfiguration & WithGuardrailVersion(Aws::String &&value)
const GuardrailStreamProcessingMode & GetStreamProcessingMode() const
void SetTrace(const GuardrailTrace &value)
void SetGuardrailIdentifier(Aws::String &&value)
GuardrailStreamProcessingMode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue