7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/CitationLocation.h>
9#include <aws/bedrock-runtime/model/CitationSourceContentDelta.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace BedrockRuntime {
45 template <
typename TitleT = Aws::String>
47 m_titleHasBeenSet =
true;
48 m_title = std::forward<TitleT>(value);
50 template <
typename TitleT = Aws::String>
52 SetTitle(std::forward<TitleT>(value));
64 template <
typename SourceT = Aws::String>
66 m_sourceHasBeenSet =
true;
67 m_source = std::forward<SourceT>(value);
69 template <
typename SourceT = Aws::String>
83 template <
typename SourceContentT = Aws::Vector<CitationSourceContentDelta>>
85 m_sourceContentHasBeenSet =
true;
86 m_sourceContent = std::forward<SourceContentT>(value);
88 template <
typename SourceContentT = Aws::Vector<CitationSourceContentDelta>>
93 template <
typename SourceContentT = CitationSourceContentDelta>
95 m_sourceContentHasBeenSet =
true;
96 m_sourceContent.emplace_back(std::forward<SourceContentT>(value));
109 template <
typename LocationT = CitationLocation>
111 m_locationHasBeenSet =
true;
112 m_location = std::forward<LocationT>(value);
114 template <
typename LocationT = CitationLocation>
128 bool m_titleHasBeenSet =
false;
129 bool m_sourceHasBeenSet =
false;
130 bool m_sourceContentHasBeenSet =
false;
131 bool m_locationHasBeenSet =
false;
void SetTitle(TitleT &&value)
CitationsDelta & WithTitle(TitleT &&value)
bool LocationHasBeenSet() const
const Aws::Vector< CitationSourceContentDelta > & GetSourceContent() const
AWS_BEDROCKRUNTIME_API CitationsDelta(Aws::Utils::Json::JsonView jsonValue)
bool SourceContentHasBeenSet() const
void SetLocation(LocationT &&value)
AWS_BEDROCKRUNTIME_API CitationsDelta()=default
bool SourceHasBeenSet() const
void SetSourceContent(SourceContentT &&value)
void SetSource(SourceT &&value)
CitationsDelta & WithSource(SourceT &&value)
AWS_BEDROCKRUNTIME_API CitationsDelta & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool TitleHasBeenSet() const
const CitationLocation & GetLocation() const
const Aws::String & GetTitle() const
CitationsDelta & WithLocation(LocationT &&value)
const Aws::String & GetSource() const
CitationsDelta & WithSourceContent(SourceContentT &&value)
CitationsDelta & AddSourceContent(SourceContentT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue