/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The document.See Also:
AWS API
* Reference
A reference to the content resource.
*/ inline const ContentReference& GetContentReference() const{ return m_contentReference; } /** *A reference to the content resource.
*/ inline bool ContentReferenceHasBeenSet() const { return m_contentReferenceHasBeenSet; } /** *A reference to the content resource.
*/ inline void SetContentReference(const ContentReference& value) { m_contentReferenceHasBeenSet = true; m_contentReference = value; } /** *A reference to the content resource.
*/ inline void SetContentReference(ContentReference&& value) { m_contentReferenceHasBeenSet = true; m_contentReference = std::move(value); } /** *A reference to the content resource.
*/ inline Document& WithContentReference(const ContentReference& value) { SetContentReference(value); return *this;} /** *A reference to the content resource.
*/ inline Document& WithContentReference(ContentReference&& value) { SetContentReference(std::move(value)); return *this;} /** *The excerpt from the document.
*/ inline const DocumentText& GetExcerpt() const{ return m_excerpt; } /** *The excerpt from the document.
*/ inline bool ExcerptHasBeenSet() const { return m_excerptHasBeenSet; } /** *The excerpt from the document.
*/ inline void SetExcerpt(const DocumentText& value) { m_excerptHasBeenSet = true; m_excerpt = value; } /** *The excerpt from the document.
*/ inline void SetExcerpt(DocumentText&& value) { m_excerptHasBeenSet = true; m_excerpt = std::move(value); } /** *The excerpt from the document.
*/ inline Document& WithExcerpt(const DocumentText& value) { SetExcerpt(value); return *this;} /** *The excerpt from the document.
*/ inline Document& WithExcerpt(DocumentText&& value) { SetExcerpt(std::move(value)); return *this;} /** *The title of the document.
*/ inline const DocumentText& GetTitle() const{ return m_title; } /** *The title of the document.
*/ inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } /** *The title of the document.
*/ inline void SetTitle(const DocumentText& value) { m_titleHasBeenSet = true; m_title = value; } /** *The title of the document.
*/ inline void SetTitle(DocumentText&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } /** *The title of the document.
*/ inline Document& WithTitle(const DocumentText& value) { SetTitle(value); return *this;} /** *The title of the document.
*/ inline Document& WithTitle(DocumentText&& value) { SetTitle(std::move(value)); return *this;} private: ContentReference m_contentReference; bool m_contentReferenceHasBeenSet = false; DocumentText m_excerpt; bool m_excerptHasBeenSet = false; DocumentText m_title; bool m_titleHasBeenSet = false; }; } // namespace Model } // namespace ConnectWisdomService } // namespace Aws