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

The data source that uses conversation logs.

See Also:

AWS * API Reference

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

The bot Id from the conversation logs.

*/ inline const Aws::String& GetBotId() const{ return m_botId; } /** *

The bot Id from the conversation logs.

*/ inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; } /** *

The bot Id from the conversation logs.

*/ inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; } /** *

The bot Id from the conversation logs.

*/ inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); } /** *

The bot Id from the conversation logs.

*/ inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); } /** *

The bot Id from the conversation logs.

*/ inline ConversationLogsDataSource& WithBotId(const Aws::String& value) { SetBotId(value); return *this;} /** *

The bot Id from the conversation logs.

*/ inline ConversationLogsDataSource& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;} /** *

The bot Id from the conversation logs.

*/ inline ConversationLogsDataSource& WithBotId(const char* value) { SetBotId(value); return *this;} /** *

The bot alias Id from the conversation logs.

*/ inline const Aws::String& GetBotAliasId() const{ return m_botAliasId; } /** *

The bot alias Id from the conversation logs.

*/ inline bool BotAliasIdHasBeenSet() const { return m_botAliasIdHasBeenSet; } /** *

The bot alias Id from the conversation logs.

*/ inline void SetBotAliasId(const Aws::String& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = value; } /** *

The bot alias Id from the conversation logs.

*/ inline void SetBotAliasId(Aws::String&& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = std::move(value); } /** *

The bot alias Id from the conversation logs.

*/ inline void SetBotAliasId(const char* value) { m_botAliasIdHasBeenSet = true; m_botAliasId.assign(value); } /** *

The bot alias Id from the conversation logs.

*/ inline ConversationLogsDataSource& WithBotAliasId(const Aws::String& value) { SetBotAliasId(value); return *this;} /** *

The bot alias Id from the conversation logs.

*/ inline ConversationLogsDataSource& WithBotAliasId(Aws::String&& value) { SetBotAliasId(std::move(value)); return *this;} /** *

The bot alias Id from the conversation logs.

*/ inline ConversationLogsDataSource& WithBotAliasId(const char* value) { SetBotAliasId(value); return *this;} /** *

The locale Id of the conversation log.

*/ inline const Aws::String& GetLocaleId() const{ return m_localeId; } /** *

The locale Id of the conversation log.

*/ inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; } /** *

The locale Id of the conversation log.

*/ inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; } /** *

The locale Id of the conversation log.

*/ inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); } /** *

The locale Id of the conversation log.

*/ inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); } /** *

The locale Id of the conversation log.

*/ inline ConversationLogsDataSource& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;} /** *

The locale Id of the conversation log.

*/ inline ConversationLogsDataSource& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;} /** *

The locale Id of the conversation log.

*/ inline ConversationLogsDataSource& WithLocaleId(const char* value) { SetLocaleId(value); return *this;} /** *

The filter for the data source of the conversation log.

*/ inline const ConversationLogsDataSourceFilterBy& GetFilter() const{ return m_filter; } /** *

The filter for the data source of the conversation log.

*/ inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } /** *

The filter for the data source of the conversation log.

*/ inline void SetFilter(const ConversationLogsDataSourceFilterBy& value) { m_filterHasBeenSet = true; m_filter = value; } /** *

The filter for the data source of the conversation log.

*/ inline void SetFilter(ConversationLogsDataSourceFilterBy&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); } /** *

The filter for the data source of the conversation log.

*/ inline ConversationLogsDataSource& WithFilter(const ConversationLogsDataSourceFilterBy& value) { SetFilter(value); return *this;} /** *

The filter for the data source of the conversation log.

*/ inline ConversationLogsDataSource& WithFilter(ConversationLogsDataSourceFilterBy&& value) { SetFilter(std::move(value)); return *this;} private: Aws::String m_botId; bool m_botIdHasBeenSet = false; Aws::String m_botAliasId; bool m_botAliasIdHasBeenSet = false; Aws::String m_localeId; bool m_localeIdHasBeenSet = false; ConversationLogsDataSourceFilterBy m_filter; bool m_filterHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws