/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the result.See Also:
AWS
* API Reference
The document.
*/ inline const Document& GetDocument() const{ return m_document; } /** *The document.
*/ inline bool DocumentHasBeenSet() const { return m_documentHasBeenSet; } /** *The document.
*/ inline void SetDocument(const Document& value) { m_documentHasBeenSet = true; m_document = value; } /** *The document.
*/ inline void SetDocument(Document&& value) { m_documentHasBeenSet = true; m_document = std::move(value); } /** *The document.
*/ inline ResultData& WithDocument(const Document& value) { SetDocument(value); return *this;} /** *The document.
*/ inline ResultData& WithDocument(Document&& value) { SetDocument(std::move(value)); return *this;} /** *The relevance score of the results.
*/ inline double GetRelevanceScore() const{ return m_relevanceScore; } /** *The relevance score of the results.
*/ inline bool RelevanceScoreHasBeenSet() const { return m_relevanceScoreHasBeenSet; } /** *The relevance score of the results.
*/ inline void SetRelevanceScore(double value) { m_relevanceScoreHasBeenSet = true; m_relevanceScore = value; } /** *The relevance score of the results.
*/ inline ResultData& WithRelevanceScore(double value) { SetRelevanceScore(value); return *this;} /** *The identifier of the result data.
*/ inline const Aws::String& GetResultId() const{ return m_resultId; } /** *The identifier of the result data.
*/ inline bool ResultIdHasBeenSet() const { return m_resultIdHasBeenSet; } /** *The identifier of the result data.
*/ inline void SetResultId(const Aws::String& value) { m_resultIdHasBeenSet = true; m_resultId = value; } /** *The identifier of the result data.
*/ inline void SetResultId(Aws::String&& value) { m_resultIdHasBeenSet = true; m_resultId = std::move(value); } /** *The identifier of the result data.
*/ inline void SetResultId(const char* value) { m_resultIdHasBeenSet = true; m_resultId.assign(value); } /** *The identifier of the result data.
*/ inline ResultData& WithResultId(const Aws::String& value) { SetResultId(value); return *this;} /** *The identifier of the result data.
*/ inline ResultData& WithResultId(Aws::String&& value) { SetResultId(std::move(value)); return *this;} /** *The identifier of the result data.
*/ inline ResultData& WithResultId(const char* value) { SetResultId(value); return *this;} private: Document m_document; bool m_documentHasBeenSet = false; double m_relevanceScore; bool m_relevanceScoreHasBeenSet = false; Aws::String m_resultId; bool m_resultIdHasBeenSet = false; }; } // namespace Model } // namespace ConnectWisdomService } // namespace Aws