AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
ReasoningContentBlockDelta.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/core/utils/Array.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockRuntime
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_BEDROCKRUNTIME_API ReasoningContentBlockDelta() = default;
39 AWS_BEDROCKRUNTIME_API ReasoningContentBlockDelta(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetText() const { return m_text; }
49 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
50 template<typename TextT = Aws::String>
51 void SetText(TextT&& value) { m_textHasBeenSet = true; m_text = std::forward<TextT>(value); }
52 template<typename TextT = Aws::String>
53 ReasoningContentBlockDelta& WithText(TextT&& value) { SetText(std::forward<TextT>(value)); return *this;}
55
57
61 inline const Aws::Utils::ByteBuffer& GetRedactedContent() const { return m_redactedContent; }
62 inline bool RedactedContentHasBeenSet() const { return m_redactedContentHasBeenSet; }
63 template<typename RedactedContentT = Aws::Utils::ByteBuffer>
64 void SetRedactedContent(RedactedContentT&& value) { m_redactedContentHasBeenSet = true; m_redactedContent = std::forward<RedactedContentT>(value); }
65 template<typename RedactedContentT = Aws::Utils::ByteBuffer>
66 ReasoningContentBlockDelta& WithRedactedContent(RedactedContentT&& value) { SetRedactedContent(std::forward<RedactedContentT>(value)); return *this;}
68
70
75 inline const Aws::String& GetSignature() const { return m_signature; }
76 inline bool SignatureHasBeenSet() const { return m_signatureHasBeenSet; }
77 template<typename SignatureT = Aws::String>
78 void SetSignature(SignatureT&& value) { m_signatureHasBeenSet = true; m_signature = std::forward<SignatureT>(value); }
79 template<typename SignatureT = Aws::String>
80 ReasoningContentBlockDelta& WithSignature(SignatureT&& value) { SetSignature(std::forward<SignatureT>(value)); return *this;}
82 private:
83
84 Aws::String m_text;
85 bool m_textHasBeenSet = false;
86
87 Aws::Utils::ByteBuffer m_redactedContent{};
88 bool m_redactedContentHasBeenSet = false;
89
90 Aws::String m_signature;
91 bool m_signatureHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace BedrockRuntime
96} // namespace Aws
ReasoningContentBlockDelta & WithRedactedContent(RedactedContentT &&value)
ReasoningContentBlockDelta & WithSignature(SignatureT &&value)
AWS_BEDROCKRUNTIME_API ReasoningContentBlockDelta()=default
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API ReasoningContentBlockDelta(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API ReasoningContentBlockDelta & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue