7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/wisdom/model/Document.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wisdom/model/RelevanceLevel.h>
11#include <aws/wisdom/model/RecommendationType.h>
24namespace ConnectWisdomService
50 inline void SetDocument(
Document&& value) { m_documentHasBeenSet =
true; m_document = std::move(value); }
63 inline void SetRecommendationId(
const char* value) { m_recommendationIdHasBeenSet =
true; m_recommendationId.assign(value); }
87 inline void SetRelevanceScore(
double value) { m_relevanceScoreHasBeenSet =
true; m_relevanceScore = value; }
105 bool m_documentHasBeenSet =
false;
108 bool m_recommendationIdHasBeenSet =
false;
111 bool m_relevanceLevelHasBeenSet =
false;
113 double m_relevanceScore;
114 bool m_relevanceScoreHasBeenSet =
false;
117 bool m_typeHasBeenSet =
false;
bool DocumentHasBeenSet() const
RecommendationData & WithDocument(Document &&value)
void SetRecommendationId(Aws::String &&value)
void SetRecommendationId(const Aws::String &value)
bool TypeHasBeenSet() const
RecommendationData & WithRecommendationId(Aws::String &&value)
RecommendationData & WithRelevanceLevel(RelevanceLevel &&value)
bool RecommendationIdHasBeenSet() const
RecommendationData & WithRelevanceLevel(const RelevanceLevel &value)
const Aws::String & GetRecommendationId() const
void SetType(const RecommendationType &value)
const Document & GetDocument() const
bool RelevanceLevelHasBeenSet() const
AWS_CONNECTWISDOMSERVICE_API RecommendationData(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTWISDOMSERVICE_API RecommendationData()
void SetRelevanceLevel(RelevanceLevel &&value)
void SetRecommendationId(const char *value)
double GetRelevanceScore() const
RecommendationData & WithRecommendationId(const char *value)
const RelevanceLevel & GetRelevanceLevel() const
void SetRelevanceLevel(const RelevanceLevel &value)
void SetRelevanceScore(double value)
const RecommendationType & GetType() const
bool RelevanceScoreHasBeenSet() const
RecommendationData & WithType(RecommendationType &&value)
RecommendationData & WithDocument(const Document &value)
RecommendationData & WithRecommendationId(const Aws::String &value)
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDocument(const Document &value)
AWS_CONNECTWISDOMSERVICE_API RecommendationData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(RecommendationType &&value)
RecommendationData & WithRelevanceScore(double value)
void SetDocument(Document &&value)
RecommendationData & WithType(const RecommendationType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue