7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qconnect/QConnect_EXPORTS.h>
9#include <aws/qconnect/model/CitationSpan.h>
10#include <aws/qconnect/model/ReferenceType.h>
42 template <
typename ContentIdT = Aws::String>
44 m_contentIdHasBeenSet =
true;
45 m_contentId = std::forward<ContentIdT>(value);
47 template <
typename ContentIdT = Aws::String>
60 template <
typename TitleT = Aws::String>
62 m_titleHasBeenSet =
true;
63 m_title = std::forward<TitleT>(value);
65 template <
typename TitleT = Aws::String>
67 SetTitle(std::forward<TitleT>(value));
78 template <
typename KnowledgeBaseIdT = Aws::String>
80 m_knowledgeBaseIdHasBeenSet =
true;
81 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
83 template <
typename KnowledgeBaseIdT = Aws::String>
94 template <
typename CitationSpanT = CitationSpan>
96 m_citationSpanHasBeenSet =
true;
97 m_citationSpan = std::forward<CitationSpanT>(value);
99 template <
typename CitationSpanT = CitationSpan>
112 template <
typename SourceURLT = Aws::String>
114 m_sourceURLHasBeenSet =
true;
115 m_sourceURL = std::forward<SourceURLT>(value);
117 template <
typename SourceURLT = Aws::String>
131 m_referenceTypeHasBeenSet =
true;
132 m_referenceType = value;
151 bool m_contentIdHasBeenSet =
false;
152 bool m_titleHasBeenSet =
false;
153 bool m_knowledgeBaseIdHasBeenSet =
false;
154 bool m_citationSpanHasBeenSet =
false;
155 bool m_sourceURLHasBeenSet =
false;
156 bool m_referenceTypeHasBeenSet =
false;
AWS_QCONNECT_API Citation(Aws::Utils::Json::JsonView jsonValue)
const CitationSpan & GetCitationSpan() const
AWS_QCONNECT_API Citation()=default
void SetTitle(TitleT &&value)
const Aws::String & GetKnowledgeBaseId() const
bool CitationSpanHasBeenSet() const
bool KnowledgeBaseIdHasBeenSet() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
Citation & WithCitationSpan(CitationSpanT &&value)
Citation & WithContentId(ContentIdT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool SourceURLHasBeenSet() const
const Aws::String & GetSourceURL() const
const Aws::String & GetTitle() const
Citation & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetReferenceType(ReferenceType value)
ReferenceType GetReferenceType() const
bool ContentIdHasBeenSet() const
bool ReferenceTypeHasBeenSet() const
void SetCitationSpan(CitationSpanT &&value)
Citation & WithTitle(TitleT &&value)
void SetSourceURL(SourceURLT &&value)
void SetContentId(ContentIdT &&value)
Citation & WithReferenceType(ReferenceType value)
Citation & WithSourceURL(SourceURLT &&value)
bool TitleHasBeenSet() const
const Aws::String & GetContentId() const
AWS_QCONNECT_API Citation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue