AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StreamingConfigurations.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgentRuntime
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_BEDROCKAGENTRUNTIME_API StreamingConfigurations() = default;
33 AWS_BEDROCKAGENTRUNTIME_API StreamingConfigurations(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKAGENTRUNTIME_API StreamingConfigurations& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
51 inline int GetApplyGuardrailInterval() const { return m_applyGuardrailInterval; }
52 inline bool ApplyGuardrailIntervalHasBeenSet() const { return m_applyGuardrailIntervalHasBeenSet; }
53 inline void SetApplyGuardrailInterval(int value) { m_applyGuardrailIntervalHasBeenSet = true; m_applyGuardrailInterval = value; }
56
58
62 inline bool GetStreamFinalResponse() const { return m_streamFinalResponse; }
63 inline bool StreamFinalResponseHasBeenSet() const { return m_streamFinalResponseHasBeenSet; }
64 inline void SetStreamFinalResponse(bool value) { m_streamFinalResponseHasBeenSet = true; m_streamFinalResponse = value; }
65 inline StreamingConfigurations& WithStreamFinalResponse(bool value) { SetStreamFinalResponse(value); return *this;}
67 private:
68
69 int m_applyGuardrailInterval{0};
70 bool m_applyGuardrailIntervalHasBeenSet = false;
71
72 bool m_streamFinalResponse{false};
73 bool m_streamFinalResponseHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace BedrockAgentRuntime
78} // 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)
Aws::Utils::Json::JsonValue JsonValue