AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
StreamingConfigurations.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace BedrockAgentRuntime {
17namespace Model {
18
25 public:
26 AWS_BEDROCKAGENTRUNTIME_API StreamingConfigurations() = default;
29 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
44 inline int GetApplyGuardrailInterval() const { return m_applyGuardrailInterval; }
45 inline bool ApplyGuardrailIntervalHasBeenSet() const { return m_applyGuardrailIntervalHasBeenSet; }
46 inline void SetApplyGuardrailInterval(int value) {
47 m_applyGuardrailIntervalHasBeenSet = true;
48 m_applyGuardrailInterval = value;
49 }
52 return *this;
53 }
55
57
61 inline bool GetStreamFinalResponse() const { return m_streamFinalResponse; }
62 inline bool StreamFinalResponseHasBeenSet() const { return m_streamFinalResponseHasBeenSet; }
63 inline void SetStreamFinalResponse(bool value) {
64 m_streamFinalResponseHasBeenSet = true;
65 m_streamFinalResponse = value;
66 }
69 return *this;
70 }
72 private:
73 int m_applyGuardrailInterval{0};
74
75 bool m_streamFinalResponse{false};
76 bool m_applyGuardrailIntervalHasBeenSet = false;
77 bool m_streamFinalResponseHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace BedrockAgentRuntime
82} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API StreamingConfigurations()=default
AWS_BEDROCKAGENTRUNTIME_API StreamingConfigurations(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API StreamingConfigurations & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue