AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ReasoningContentBlockDelta.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockRuntime {
21namespace Model {
22
32 public:
33 AWS_BEDROCKRUNTIME_API ReasoningContentBlockDelta() = default;
36 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetText() const { return m_text; }
43 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
44 template <typename TextT = Aws::String>
45 void SetText(TextT&& value) {
46 m_textHasBeenSet = true;
47 m_text = std::forward<TextT>(value);
48 }
49 template <typename TextT = Aws::String>
51 SetText(std::forward<TextT>(value));
52 return *this;
53 }
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>
65 m_redactedContentHasBeenSet = true;
66 m_redactedContent = std::forward<RedactedContentT>(value);
67 }
68 template <typename RedactedContentT = Aws::Utils::ByteBuffer>
70 SetRedactedContent(std::forward<RedactedContentT>(value));
71 return *this;
72 }
74
76
81 inline const Aws::String& GetSignature() const { return m_signature; }
82 inline bool SignatureHasBeenSet() const { return m_signatureHasBeenSet; }
83 template <typename SignatureT = Aws::String>
84 void SetSignature(SignatureT&& value) {
85 m_signatureHasBeenSet = true;
86 m_signature = std::forward<SignatureT>(value);
87 }
88 template <typename SignatureT = Aws::String>
90 SetSignature(std::forward<SignatureT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_text;
96
97 Aws::Utils::ByteBuffer m_redactedContent{};
98
99 Aws::String m_signature;
100 bool m_textHasBeenSet = false;
101 bool m_redactedContentHasBeenSet = false;
102 bool m_signatureHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace BedrockRuntime
107} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue