AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
ReasoningTextBlock.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_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 BedrockRuntime {
20namespace Model {
21
29 public:
30 AWS_BEDROCKRUNTIME_API ReasoningTextBlock() = default;
33 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetText() const { return m_text; }
40 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
41 template <typename TextT = Aws::String>
42 void SetText(TextT&& value) {
43 m_textHasBeenSet = true;
44 m_text = std::forward<TextT>(value);
45 }
46 template <typename TextT = Aws::String>
48 SetText(std::forward<TextT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetSignature() const { return m_signature; }
60 inline bool SignatureHasBeenSet() const { return m_signatureHasBeenSet; }
61 template <typename SignatureT = Aws::String>
62 void SetSignature(SignatureT&& value) {
63 m_signatureHasBeenSet = true;
64 m_signature = std::forward<SignatureT>(value);
65 }
66 template <typename SignatureT = Aws::String>
68 SetSignature(std::forward<SignatureT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_text;
74
75 Aws::String m_signature;
76 bool m_textHasBeenSet = false;
77 bool m_signatureHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace BedrockRuntime
82} // namespace Aws
AWS_BEDROCKRUNTIME_API ReasoningTextBlock()=default
AWS_BEDROCKRUNTIME_API ReasoningTextBlock(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API ReasoningTextBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
ReasoningTextBlock & WithText(TextT &&value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
ReasoningTextBlock & WithSignature(SignatureT &&value)
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