7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock-runtime/model/CitationGeneratedContent.h>
10#include <aws/bedrock-runtime/model/Citation.h>
23namespace BedrockRuntime
51 template<
typename ContentT = Aws::Vector<CitationGeneratedContent>>
52 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
53 template<
typename ContentT = Aws::Vector<CitationGeneratedContent>>
55 template<
typename ContentT = CitationGeneratedContent>
66 template<
typename CitationsT = Aws::Vector<Citation>>
67 void SetCitations(CitationsT&& value) { m_citationsHasBeenSet =
true; m_citations = std::forward<CitationsT>(value); }
68 template<
typename CitationsT = Aws::Vector<Citation>>
70 template<
typename CitationsT = Citation>
76 bool m_contentHasBeenSet =
false;
79 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::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue