7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/CitationSpan.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qconnect/model/RankingData.h>
11#include <aws/qconnect/model/TextData.h>
12#include <aws/qconnect/model/SourceContentType.h>
64 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
65 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
90 inline void SetTextData(
TextData&& value) { m_textDataHasBeenSet =
true; m_textData = std::move(value); }
109 bool m_citationSpanHasBeenSet =
false;
112 bool m_idHasBeenSet =
false;
115 bool m_rankingDataHasBeenSet =
false;
118 bool m_textDataHasBeenSet =
false;
121 bool m_typeHasBeenSet =
false;
SourceContentDataDetails & WithId(const Aws::String &value)
SourceContentDataDetails & WithTextData(const TextData &value)
const CitationSpan & GetCitationSpan() const
bool TypeHasBeenSet() const
SourceContentDataDetails & WithType(SourceContentType &&value)
SourceContentDataDetails & WithRankingData(RankingData &&value)
void SetId(Aws::String &&value)
bool IdHasBeenSet() const
bool TextDataHasBeenSet() const
void SetCitationSpan(const CitationSpan &value)
SourceContentDataDetails & WithType(const SourceContentType &value)
void SetTextData(const TextData &value)
void SetCitationSpan(CitationSpan &&value)
const TextData & GetTextData() const
AWS_QCONNECT_API SourceContentDataDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CitationSpanHasBeenSet() const
void SetType(const SourceContentType &value)
void SetRankingData(RankingData &&value)
const Aws::String & GetId() const
void SetRankingData(const RankingData &value)
const RankingData & GetRankingData() const
SourceContentDataDetails & WithId(Aws::String &&value)
bool RankingDataHasBeenSet() const
void SetId(const char *value)
void SetType(SourceContentType &&value)
SourceContentDataDetails & WithCitationSpan(const CitationSpan &value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QCONNECT_API SourceContentDataDetails()
AWS_QCONNECT_API SourceContentDataDetails(Aws::Utils::Json::JsonView jsonValue)
void SetTextData(TextData &&value)
SourceContentDataDetails & WithId(const char *value)
SourceContentDataDetails & WithTextData(TextData &&value)
SourceContentDataDetails & WithCitationSpan(CitationSpan &&value)
const SourceContentType & GetType() const
SourceContentDataDetails & WithRankingData(const RankingData &value)
void SetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue