7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock-runtime/model/CitationLocation.h>
11#include <aws/bedrock-runtime/model/CitationSourceContentDelta.h>
24namespace BedrockRuntime
51 template<
typename TitleT = Aws::String>
52 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
53 template<
typename TitleT = Aws::String>
64 template<
typename SourceContentT = Aws::Vector<CitationSourceContentDelta>>
65 void SetSourceContent(SourceContentT&& value) { m_sourceContentHasBeenSet =
true; m_sourceContent = std::forward<SourceContentT>(value); }
66 template<
typename SourceContentT = Aws::Vector<CitationSourceContentDelta>>
68 template<
typename SourceContentT = CitationSourceContentDelta>
69 CitationsDelta&
AddSourceContent(SourceContentT&& value) { m_sourceContentHasBeenSet =
true; m_sourceContent.emplace_back(std::forward<SourceContentT>(value));
return *
this; }
80 template<
typename LocationT = CitationLocation>
81 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
82 template<
typename LocationT = CitationLocation>
88 bool m_titleHasBeenSet =
false;
91 bool m_sourceContentHasBeenSet =
false;
94 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
void SetSourceContent(SourceContentT &&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)
CitationsDelta & WithSourceContent(SourceContentT &&value)
CitationsDelta & AddSourceContent(SourceContentT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue