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/CitationSourceContent.h>
24namespace BedrockRuntime
52 template<
typename TitleT = Aws::String>
53 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
54 template<
typename TitleT = Aws::String>
65 template<
typename SourceContentT = Aws::Vector<CitationSourceContent>>
66 void SetSourceContent(SourceContentT&& value) { m_sourceContentHasBeenSet =
true; m_sourceContent = std::forward<SourceContentT>(value); }
67 template<
typename SourceContentT = Aws::Vector<CitationSourceContent>>
69 template<
typename SourceContentT = CitationSourceContent>
70 Citation&
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;
bool LocationHasBeenSet() const
void SetSourceContent(SourceContentT &&value)
AWS_BEDROCKRUNTIME_API Citation()=default
const Aws::String & GetTitle() const
AWS_BEDROCKRUNTIME_API Citation(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< CitationSourceContent > & GetSourceContent() const
Citation & WithTitle(TitleT &&value)
bool SourceContentHasBeenSet() const
void SetLocation(LocationT &&value)
Citation & WithLocation(LocationT &&value)
Citation & WithSourceContent(SourceContentT &&value)
bool TitleHasBeenSet() const
AWS_BEDROCKRUNTIME_API Citation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
Citation & AddSourceContent(SourceContentT &&value)
void SetTitle(TitleT &&value)
const CitationLocation & GetLocation() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue