7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/DataSummary.h>
9#include <aws/qconnect/model/Document.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/qconnect/model/RelevanceLevel.h>
12#include <aws/qconnect/model/RecommendationType.h>
63 inline void SetDocument(
Document&& value) { m_documentHasBeenSet =
true; m_document = std::move(value); }
76 inline void SetRecommendationId(
const char* value) { m_recommendationIdHasBeenSet =
true; m_recommendationId.assign(value); }
100 inline void SetRelevanceScore(
double value) { m_relevanceScoreHasBeenSet =
true; m_relevanceScore = value; }
118 bool m_dataHasBeenSet =
false;
121 bool m_documentHasBeenSet =
false;
124 bool m_recommendationIdHasBeenSet =
false;
127 bool m_relevanceLevelHasBeenSet =
false;
129 double m_relevanceScore;
130 bool m_relevanceScoreHasBeenSet =
false;
133 bool m_typeHasBeenSet =
false;
bool RecommendationIdHasBeenSet() const
RecommendationData & WithRelevanceLevel(const RelevanceLevel &value)
RecommendationData & WithDocument(Document &&value)
RecommendationData & WithRelevanceScore(double value)
void SetRecommendationId(const Aws::String &value)
RecommendationData & WithRecommendationId(Aws::String &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const DataSummary & GetData() const
bool RelevanceScoreHasBeenSet() const
bool DocumentHasBeenSet() const
void SetRelevanceScore(double value)
void SetDocument(Document &&value)
void SetRelevanceLevel(RelevanceLevel &&value)
AWS_QCONNECT_API RecommendationData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRelevanceLevel(const RelevanceLevel &value)
const Document & GetDocument() const
void SetType(RecommendationType &&value)
void SetData(DataSummary &&value)
const Aws::String & GetRecommendationId() const
const RelevanceLevel & GetRelevanceLevel() const
RecommendationData & WithRecommendationId(const Aws::String &value)
RecommendationData & WithData(DataSummary &&value)
void SetRecommendationId(Aws::String &&value)
RecommendationData & WithRelevanceLevel(RelevanceLevel &&value)
void SetType(const RecommendationType &value)
AWS_QCONNECT_API RecommendationData()
RecommendationData & WithType(const RecommendationType &value)
AWS_QCONNECT_API RecommendationData(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
bool RelevanceLevelHasBeenSet() const
RecommendationData & WithData(const DataSummary &value)
const RecommendationType & GetType() const
double GetRelevanceScore() const
RecommendationData & WithRecommendationId(const char *value)
RecommendationData & WithDocument(const Document &value)
void SetDocument(const Document &value)
RecommendationData & WithType(RecommendationType &&value)
bool DataHasBeenSet() const
void SetData(const DataSummary &value)
void SetRecommendationId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue