/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the recommendation.See Also:
AWS
* API Reference
The recommended document.
*/ inline const Document& GetDocument() const{ return m_document; } /** *The recommended document.
*/ inline bool DocumentHasBeenSet() const { return m_documentHasBeenSet; } /** *The recommended document.
*/ inline void SetDocument(const Document& value) { m_documentHasBeenSet = true; m_document = value; } /** *The recommended document.
*/ inline void SetDocument(Document&& value) { m_documentHasBeenSet = true; m_document = std::move(value); } /** *The recommended document.
*/ inline RecommendationData& WithDocument(const Document& value) { SetDocument(value); return *this;} /** *The recommended document.
*/ inline RecommendationData& WithDocument(Document&& value) { SetDocument(std::move(value)); return *this;} /** *The identifier of the recommendation.
*/ inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; } /** *The identifier of the recommendation.
*/ inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; } /** *The identifier of the recommendation.
*/ inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; } /** *The identifier of the recommendation.
*/ inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); } /** *The identifier of the recommendation.
*/ inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); } /** *The identifier of the recommendation.
*/ inline RecommendationData& WithRecommendationId(const Aws::String& value) { SetRecommendationId(value); return *this;} /** *The identifier of the recommendation.
*/ inline RecommendationData& WithRecommendationId(Aws::String&& value) { SetRecommendationId(std::move(value)); return *this;} /** *The identifier of the recommendation.
*/ inline RecommendationData& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;} /** *The relevance level of the recommendation.
*/ inline const RelevanceLevel& GetRelevanceLevel() const{ return m_relevanceLevel; } /** *The relevance level of the recommendation.
*/ inline bool RelevanceLevelHasBeenSet() const { return m_relevanceLevelHasBeenSet; } /** *The relevance level of the recommendation.
*/ inline void SetRelevanceLevel(const RelevanceLevel& value) { m_relevanceLevelHasBeenSet = true; m_relevanceLevel = value; } /** *The relevance level of the recommendation.
*/ inline void SetRelevanceLevel(RelevanceLevel&& value) { m_relevanceLevelHasBeenSet = true; m_relevanceLevel = std::move(value); } /** *The relevance level of the recommendation.
*/ inline RecommendationData& WithRelevanceLevel(const RelevanceLevel& value) { SetRelevanceLevel(value); return *this;} /** *The relevance level of the recommendation.
*/ inline RecommendationData& WithRelevanceLevel(RelevanceLevel&& value) { SetRelevanceLevel(std::move(value)); return *this;} /** *The relevance score of the recommendation.
*/ inline double GetRelevanceScore() const{ return m_relevanceScore; } /** *The relevance score of the recommendation.
*/ inline bool RelevanceScoreHasBeenSet() const { return m_relevanceScoreHasBeenSet; } /** *The relevance score of the recommendation.
*/ inline void SetRelevanceScore(double value) { m_relevanceScoreHasBeenSet = true; m_relevanceScore = value; } /** *The relevance score of the recommendation.
*/ inline RecommendationData& WithRelevanceScore(double value) { SetRelevanceScore(value); return *this;} /** *The type of recommendation.
*/ inline const RecommendationType& GetType() const{ return m_type; } /** *The type of recommendation.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of recommendation.
*/ inline void SetType(const RecommendationType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of recommendation.
*/ inline void SetType(RecommendationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of recommendation.
*/ inline RecommendationData& WithType(const RecommendationType& value) { SetType(value); return *this;} /** *The type of recommendation.
*/ inline RecommendationData& WithType(RecommendationType&& value) { SetType(std::move(value)); return *this;} private: Document m_document; bool m_documentHasBeenSet = false; Aws::String m_recommendationId; bool m_recommendationIdHasBeenSet = false; RelevanceLevel m_relevanceLevel; bool m_relevanceLevelHasBeenSet = false; double m_relevanceScore; bool m_relevanceScoreHasBeenSet = false; RecommendationType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace ConnectWisdomService } // namespace Aws