7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/Citation.h>
9#include <aws/bedrock-runtime/model/CitationGeneratedContent.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace BedrockRuntime {
45 template <
typename ContentT = Aws::Vector<CitationGeneratedContent>>
47 m_contentHasBeenSet =
true;
48 m_content = std::forward<ContentT>(value);
50 template <
typename ContentT = Aws::Vector<CitationGeneratedContent>>
55 template <
typename ContentT = CitationGeneratedContent>
57 m_contentHasBeenSet =
true;
58 m_content.emplace_back(std::forward<ContentT>(value));
70 template <
typename CitationsT = Aws::Vector<Citation>>
72 m_citationsHasBeenSet =
true;
73 m_citations = std::forward<CitationsT>(value);
75 template <
typename CitationsT = Aws::Vector<Citation>>
80 template <
typename CitationsT = Citation>
82 m_citationsHasBeenSet =
true;
83 m_citations.emplace_back(std::forward<CitationsT>(value));
91 bool m_contentHasBeenSet =
false;
92 bool m_citationsHasBeenSet =
false;
void SetCitations(CitationsT &&value)
CitationsContentBlock & WithContent(ContentT &&value)
AWS_BEDROCKRUNTIME_API CitationsContentBlock(Aws::Utils::Json::JsonView jsonValue)
CitationsContentBlock & WithCitations(CitationsT &&value)
const Aws::Vector< Citation > & GetCitations() const
CitationsContentBlock & AddContent(ContentT &&value)
const Aws::Vector< CitationGeneratedContent > & GetContent() const
AWS_BEDROCKRUNTIME_API CitationsContentBlock()=default
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
CitationsContentBlock & AddCitations(CitationsT &&value)
void SetContent(ContentT &&value)
bool ContentHasBeenSet() const
AWS_BEDROCKRUNTIME_API CitationsContentBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CitationsHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue