7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/CachePointBlock.h>
9#include <aws/bedrock-runtime/model/GuardrailConverseContentBlock.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace BedrockRuntime {
45 template <
typename TextT = Aws::String>
47 m_textHasBeenSet =
true;
48 m_text = std::forward<TextT>(value);
50 template <
typename TextT = Aws::String>
52 SetText(std::forward<TextT>(value));
68 template <
typename GuardContentT = GuardrailConverseContentBlock>
70 m_guardContentHasBeenSet =
true;
71 m_guardContent = std::forward<GuardContentT>(value);
73 template <
typename GuardContentT = GuardrailConverseContentBlock>
86 template <
typename CachePo
intT = CachePo
intBlock>
88 m_cachePointHasBeenSet =
true;
89 m_cachePoint = std::forward<CachePointT>(value);
91 template <
typename CachePo
intT = CachePo
intBlock>
103 bool m_textHasBeenSet =
false;
104 bool m_guardContentHasBeenSet =
false;
105 bool m_cachePointHasBeenSet =
false;
AWS_BEDROCKRUNTIME_API SystemContentBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
SystemContentBlock & WithGuardContent(GuardContentT &&value)
bool CachePointHasBeenSet() const
void SetGuardContent(GuardContentT &&value)
const GuardrailConverseContentBlock & GetGuardContent() const
bool GuardContentHasBeenSet() const
void SetCachePoint(CachePointT &&value)
void SetText(TextT &&value)
SystemContentBlock & WithText(TextT &&value)
const Aws::String & GetText() const
AWS_BEDROCKRUNTIME_API SystemContentBlock(Aws::Utils::Json::JsonView jsonValue)
bool TextHasBeenSet() const
AWS_BEDROCKRUNTIME_API SystemContentBlock()=default
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
SystemContentBlock & WithCachePoint(CachePointT &&value)
const CachePointBlock & GetCachePoint() const
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