/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace kendra { namespace Model { /** *

A document ID doesn't exist but you have specified as a featured document. * Amazon Kendra cannot feature the document if it doesn't exist in the index. You * can check the status of a document and its ID or check for documents with status * errors using the BatchGetDocumentStatus * API.

See Also:

AWS * API Reference

*/ class FeaturedDocumentMissing { public: AWS_KENDRA_API FeaturedDocumentMissing(); AWS_KENDRA_API FeaturedDocumentMissing(Aws::Utils::Json::JsonView jsonValue); AWS_KENDRA_API FeaturedDocumentMissing& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The identifier of the document that doesn't exist but you have specified as a * featured document.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The identifier of the document that doesn't exist but you have specified as a * featured document.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The identifier of the document that doesn't exist but you have specified as a * featured document.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The identifier of the document that doesn't exist but you have specified as a * featured document.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The identifier of the document that doesn't exist but you have specified as a * featured document.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The identifier of the document that doesn't exist but you have specified as a * featured document.

*/ inline FeaturedDocumentMissing& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The identifier of the document that doesn't exist but you have specified as a * featured document.

*/ inline FeaturedDocumentMissing& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The identifier of the document that doesn't exist but you have specified as a * featured document.

*/ inline FeaturedDocumentMissing& WithId(const char* value) { SetId(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws