AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ReasoningTextBlock.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgentRuntime {
20namespace Model {
21
29 public:
30 AWS_BEDROCKAGENTRUNTIME_API ReasoningTextBlock() = default;
33 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline const Aws::String& GetSignature() const { return m_signature; }
43 inline bool SignatureHasBeenSet() const { return m_signatureHasBeenSet; }
44 template <typename SignatureT = Aws::String>
45 void SetSignature(SignatureT&& value) {
46 m_signatureHasBeenSet = true;
47 m_signature = std::forward<SignatureT>(value);
48 }
49 template <typename SignatureT = Aws::String>
51 SetSignature(std::forward<SignatureT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetText() const { return m_text; }
62 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
63 template <typename TextT = Aws::String>
64 void SetText(TextT&& value) {
65 m_textHasBeenSet = true;
66 m_text = std::forward<TextT>(value);
67 }
68 template <typename TextT = Aws::String>
70 SetText(std::forward<TextT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_signature;
76
77 Aws::String m_text;
78 bool m_signatureHasBeenSet = false;
79 bool m_textHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace BedrockAgentRuntime
84} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API ReasoningTextBlock(Aws::Utils::Json::JsonView jsonValue)
ReasoningTextBlock & WithSignature(SignatureT &&value)
AWS_BEDROCKAGENTRUNTIME_API ReasoningTextBlock()=default
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API ReasoningTextBlock & 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