7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/Citation.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace BedrockAgentRuntime {
43 template <
typename CitationsT = Aws::Vector<Citation>>
45 m_citationsHasBeenSet =
true;
46 m_citations = std::forward<CitationsT>(value);
48 template <
typename CitationsT = Aws::Vector<Citation>>
53 template <
typename CitationsT = Citation>
55 m_citationsHasBeenSet =
true;
56 m_citations.emplace_back(std::forward<CitationsT>(value));
62 bool m_citationsHasBeenSet =
false;
bool CitationsHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API Attribution()=default
const Aws::Vector< Citation > & GetCitations() const
Attribution & WithCitations(CitationsT &&value)
AWS_BEDROCKAGENTRUNTIME_API Attribution & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API Attribution(Aws::Utils::Json::JsonView jsonValue)
void SetCitations(CitationsT &&value)
Attribution & AddCitations(CitationsT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue