AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GuardrailStreamConfiguration.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockRuntime
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BEDROCKRUNTIME_API GuardrailStreamConfiguration();
40 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetGuardrailIdentifier() const{ return m_guardrailIdentifier; }
48 inline bool GuardrailIdentifierHasBeenSet() const { return m_guardrailIdentifierHasBeenSet; }
49 inline void SetGuardrailIdentifier(const Aws::String& value) { m_guardrailIdentifierHasBeenSet = true; m_guardrailIdentifier = value; }
50 inline void SetGuardrailIdentifier(Aws::String&& value) { m_guardrailIdentifierHasBeenSet = true; m_guardrailIdentifier = std::move(value); }
51 inline void SetGuardrailIdentifier(const char* value) { m_guardrailIdentifierHasBeenSet = true; m_guardrailIdentifier.assign(value); }
54 inline GuardrailStreamConfiguration& WithGuardrailIdentifier(const char* value) { SetGuardrailIdentifier(value); return *this;}
56
58
61 inline const Aws::String& GetGuardrailVersion() const{ return m_guardrailVersion; }
62 inline bool GuardrailVersionHasBeenSet() const { return m_guardrailVersionHasBeenSet; }
63 inline void SetGuardrailVersion(const Aws::String& value) { m_guardrailVersionHasBeenSet = true; m_guardrailVersion = value; }
64 inline void SetGuardrailVersion(Aws::String&& value) { m_guardrailVersionHasBeenSet = true; m_guardrailVersion = std::move(value); }
65 inline void SetGuardrailVersion(const char* value) { m_guardrailVersionHasBeenSet = true; m_guardrailVersion.assign(value); }
67 inline GuardrailStreamConfiguration& WithGuardrailVersion(Aws::String&& value) { SetGuardrailVersion(std::move(value)); return *this;}
68 inline GuardrailStreamConfiguration& WithGuardrailVersion(const char* value) { SetGuardrailVersion(value); return *this;}
70
72
75 inline const GuardrailTrace& GetTrace() const{ return m_trace; }
76 inline bool TraceHasBeenSet() const { return m_traceHasBeenSet; }
77 inline void SetTrace(const GuardrailTrace& value) { m_traceHasBeenSet = true; m_trace = value; }
78 inline void SetTrace(GuardrailTrace&& value) { m_traceHasBeenSet = true; m_trace = std::move(value); }
79 inline GuardrailStreamConfiguration& WithTrace(const GuardrailTrace& value) { SetTrace(value); return *this;}
80 inline GuardrailStreamConfiguration& WithTrace(GuardrailTrace&& value) { SetTrace(std::move(value)); return *this;}
82
84
89 inline const GuardrailStreamProcessingMode& GetStreamProcessingMode() const{ return m_streamProcessingMode; }
90 inline bool StreamProcessingModeHasBeenSet() const { return m_streamProcessingModeHasBeenSet; }
91 inline void SetStreamProcessingMode(const GuardrailStreamProcessingMode& value) { m_streamProcessingModeHasBeenSet = true; m_streamProcessingMode = value; }
92 inline void SetStreamProcessingMode(GuardrailStreamProcessingMode&& value) { m_streamProcessingModeHasBeenSet = true; m_streamProcessingMode = std::move(value); }
96 private:
97
98 Aws::String m_guardrailIdentifier;
99 bool m_guardrailIdentifierHasBeenSet = false;
100
101 Aws::String m_guardrailVersion;
102 bool m_guardrailVersionHasBeenSet = false;
103
104 GuardrailTrace m_trace;
105 bool m_traceHasBeenSet = false;
106
107 GuardrailStreamProcessingMode m_streamProcessingMode;
108 bool m_streamProcessingModeHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace BedrockRuntime
113} // namespace Aws
GuardrailStreamConfiguration & WithGuardrailIdentifier(const Aws::String &value)
GuardrailStreamConfiguration & WithTrace(const GuardrailTrace &value)
AWS_BEDROCKRUNTIME_API GuardrailStreamConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetStreamProcessingMode(GuardrailStreamProcessingMode &&value)
GuardrailStreamConfiguration & WithGuardrailIdentifier(const char *value)
void SetStreamProcessingMode(const GuardrailStreamProcessingMode &value)
GuardrailStreamConfiguration & WithGuardrailVersion(const char *value)
GuardrailStreamConfiguration & WithGuardrailIdentifier(Aws::String &&value)
GuardrailStreamConfiguration & WithGuardrailVersion(const Aws::String &value)
GuardrailStreamConfiguration & WithStreamProcessingMode(const GuardrailStreamProcessingMode &value)
GuardrailStreamConfiguration & WithStreamProcessingMode(GuardrailStreamProcessingMode &&value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailStreamConfiguration & WithTrace(GuardrailTrace &&value)
AWS_BEDROCKRUNTIME_API GuardrailStreamConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailStreamConfiguration & WithGuardrailVersion(Aws::String &&value)
const GuardrailStreamProcessingMode & GetStreamProcessingMode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue