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

Provides statistical information about the FAQ questions and answers * contained in an index.

See Also:

AWS * API Reference

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

The total number of FAQ questions and answers contained in the index.

*/ inline int GetIndexedQuestionAnswersCount() const{ return m_indexedQuestionAnswersCount; } /** *

The total number of FAQ questions and answers contained in the index.

*/ inline bool IndexedQuestionAnswersCountHasBeenSet() const { return m_indexedQuestionAnswersCountHasBeenSet; } /** *

The total number of FAQ questions and answers contained in the index.

*/ inline void SetIndexedQuestionAnswersCount(int value) { m_indexedQuestionAnswersCountHasBeenSet = true; m_indexedQuestionAnswersCount = value; } /** *

The total number of FAQ questions and answers contained in the index.

*/ inline FaqStatistics& WithIndexedQuestionAnswersCount(int value) { SetIndexedQuestionAnswersCount(value); return *this;} private: int m_indexedQuestionAnswersCount; bool m_indexedQuestionAnswersCountHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws