/** * 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 LexModelsV2 { namespace Model { /** *

Contains information about the data source from which the test set is * generated.

See Also:

AWS * API Reference

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

Contains information about the bot from which the conversation logs are * sourced.

*/ inline const ConversationLogsDataSource& GetConversationLogsDataSource() const{ return m_conversationLogsDataSource; } /** *

Contains information about the bot from which the conversation logs are * sourced.

*/ inline bool ConversationLogsDataSourceHasBeenSet() const { return m_conversationLogsDataSourceHasBeenSet; } /** *

Contains information about the bot from which the conversation logs are * sourced.

*/ inline void SetConversationLogsDataSource(const ConversationLogsDataSource& value) { m_conversationLogsDataSourceHasBeenSet = true; m_conversationLogsDataSource = value; } /** *

Contains information about the bot from which the conversation logs are * sourced.

*/ inline void SetConversationLogsDataSource(ConversationLogsDataSource&& value) { m_conversationLogsDataSourceHasBeenSet = true; m_conversationLogsDataSource = std::move(value); } /** *

Contains information about the bot from which the conversation logs are * sourced.

*/ inline TestSetGenerationDataSource& WithConversationLogsDataSource(const ConversationLogsDataSource& value) { SetConversationLogsDataSource(value); return *this;} /** *

Contains information about the bot from which the conversation logs are * sourced.

*/ inline TestSetGenerationDataSource& WithConversationLogsDataSource(ConversationLogsDataSource&& value) { SetConversationLogsDataSource(std::move(value)); return *this;} private: ConversationLogsDataSource m_conversationLogsDataSource; bool m_conversationLogsDataSourceHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws