text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
  #include <aws/wisdom/model/Document.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <aws/wisdom/model/RelevanceLevel.h>
  #include <utility>
  
  namespace Aws
  {
  namespace Utils
  {
  namespace Json
  {
    class JsonValue;
    class JsonView;
  } // namespace Json
  } // namespace Utils
  namespace ConnectWisdomService
  {
  namespace Model
  {
  
    /**
     * <p>Information about the recommendation.</p><p><h3>See Also:</h3>   <a
     * href="http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/RecommendationData">AWS
     * API Reference</a></p>
     */
    class AWS_CONNECTWISDOMSERVICE_API RecommendationData
    {
    public:
      RecommendationData();
      RecommendationData(Aws::Utils::Json::JsonView jsonValue);
      RecommendationData& operator=(Aws::Utils::Json::JsonView jsonValue);
      Aws::Utils::Json::JsonValue Jsonize() const;
  
  
      /**
       * <p>The recommended document.</p>
       */
      inline const Document& GetDocument() const{ return m_document; }
  
      /**
       * <p>The recommended document.</p>
       */
      inline bool DocumentHasBeenSet() const { return m_documentHasBeenSet; }
  
      /**
       * <p>The recommended document.</p>
       */
      inline void SetDocument(const Document& value) { m_documentHasBeenSet = true; m_document = value; }
  
      /**
       * <p>The recommended document.</p>
       */
      inline void SetDocument(Document&& value) { m_documentHasBeenSet = true; m_document = std::move(value); }
  
      /**
       * <p>The recommended document.</p>
       */
      inline RecommendationData& WithDocument(const Document& value) { SetDocument(value); return *this;}
  
      /**
       * <p>The recommended document.</p>
       */
      inline RecommendationData& WithDocument(Document&& value) { SetDocument(std::move(value)); return *this;}
  
  
      /**
       * <p>The identifier of the recommendation.</p>
       */
      inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; }
  
      /**
       * <p>The identifier of the recommendation.</p>
       */
      inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; }
  
      /**
       * <p>The identifier of the recommendation.</p>
       */
      inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; }
  
      /**
       * <p>The identifier of the recommendation.</p>
       */
      inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); }
  
      /**
       * <p>The identifier of the recommendation.</p>
       */
      inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); }
  
      /**
       * <p>The identifier of the recommendation.</p>
       */
      inline RecommendationData& WithRecommendationId(const Aws::String& value) { SetRecommendationId(value); return *this;}
  
      /**
       * <p>The identifier of the recommendation.</p>
       */
      inline RecommendationData& WithRecommendationId(Aws::String&& value) { SetRecommendationId(std::move(value)); return *this;}
  
      /**
       * <p>The identifier of the recommendation.</p>
       */
      inline RecommendationData& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;}
  
  
      /**
       * <p>The relevance level of the recommendation.</p>
       */
      inline const RelevanceLevel& GetRelevanceLevel() const{ return m_relevanceLevel; }
  
      /**
       * <p>The relevance level of the recommendation.</p>
       */
      inline bool RelevanceLevelHasBeenSet() const { return m_relevanceLevelHasBeenSet; }
  
      /**
       * <p>The relevance level of the recommendation.</p>
       */
      inline void SetRelevanceLevel(const RelevanceLevel& value) { m_relevanceLevelHasBeenSet = true; m_relevanceLevel = value; }
  
      /**
       * <p>The relevance level of the recommendation.</p>
       */
      inline void SetRelevanceLevel(RelevanceLevel&& value) { m_relevanceLevelHasBeenSet = true; m_relevanceLevel = std::move(value); }
  
      /**
       * <p>The relevance level of the recommendation.</p>
       */
      inline RecommendationData& WithRelevanceLevel(const RelevanceLevel& value) { SetRelevanceLevel(value); return *this;}
  
      /**
       * <p>The relevance level of the recommendation.</p>
       */
      inline RecommendationData& WithRelevanceLevel(RelevanceLevel&& value) { SetRelevanceLevel(std::move(value)); return *this;}
  
  
      /**
       * <p>The relevance score of the recommendation.</p>
       */
      inline double GetRelevanceScore() const{ return m_relevanceScore; }
  
      /**
       * <p>The relevance score of the recommendation.</p>
       */
      inline bool RelevanceScoreHasBeenSet() const { return m_relevanceScoreHasBeenSet; }
  
      /**
       * <p>The relevance score of the recommendation.</p>
       */
      inline void SetRelevanceScore(double value) { m_relevanceScoreHasBeenSet = true; m_relevanceScore = value; }
  
      /**
       * <p>The relevance score of the recommendation.</p>
       */
      inline RecommendationData& WithRelevanceScore(double value) { SetRelevanceScore(value); return *this;}
  
    private:
  
      Document m_document;
      bool m_documentHasBeenSet;
  
      Aws::String m_recommendationId;
      bool m_recommendationIdHasBeenSet;
  
      RelevanceLevel m_relevanceLevel;
      bool m_relevanceLevelHasBeenSet;
  
      double m_relevanceScore;
      bool m_relevanceScoreHasBeenSet;
    };
  
  } // namespace Model
  } // namespace ConnectWisdomService
  } // namespace Aws
  