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

Summary information about a bot returned by the ListBots * operation.

See Also:

AWS * API Reference

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

The unique identifier assigned to the bot. Use this ID to get detailed * information about the bot with the DescribeBot * operation.

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

The unique identifier assigned to the bot. Use this ID to get detailed * information about the bot with the DescribeBot * operation.

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

The unique identifier assigned to the bot. Use this ID to get detailed * information about the bot with the DescribeBot * operation.

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

The unique identifier assigned to the bot. Use this ID to get detailed * information about the bot with the DescribeBot * operation.

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

The unique identifier assigned to the bot. Use this ID to get detailed * information about the bot with the DescribeBot * operation.

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

The unique identifier assigned to the bot. Use this ID to get detailed * information about the bot with the DescribeBot * operation.

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

The unique identifier assigned to the bot. Use this ID to get detailed * information about the bot with the DescribeBot * operation.

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

The unique identifier assigned to the bot. Use this ID to get detailed * information about the bot with the DescribeBot * operation.

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

The name of the bot.

*/ inline const Aws::String& GetBotName() const{ return m_botName; } /** *

The name of the bot.

*/ inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; } /** *

The name of the bot.

*/ inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; } /** *

The name of the bot.

*/ inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); } /** *

The name of the bot.

*/ inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); } /** *

The name of the bot.

*/ inline BotSummary& WithBotName(const Aws::String& value) { SetBotName(value); return *this;} /** *

The name of the bot.

*/ inline BotSummary& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;} /** *

The name of the bot.

*/ inline BotSummary& WithBotName(const char* value) { SetBotName(value); return *this;} /** *

The description of the bot.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the bot.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the bot.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the bot.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the bot.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the bot.

*/ inline BotSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the bot.

*/ inline BotSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the bot.

*/ inline BotSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The current status of the bot. When the status is Available the * bot is ready for use.

*/ inline const BotStatus& GetBotStatus() const{ return m_botStatus; } /** *

The current status of the bot. When the status is Available the * bot is ready for use.

*/ inline bool BotStatusHasBeenSet() const { return m_botStatusHasBeenSet; } /** *

The current status of the bot. When the status is Available the * bot is ready for use.

*/ inline void SetBotStatus(const BotStatus& value) { m_botStatusHasBeenSet = true; m_botStatus = value; } /** *

The current status of the bot. When the status is Available the * bot is ready for use.

*/ inline void SetBotStatus(BotStatus&& value) { m_botStatusHasBeenSet = true; m_botStatus = std::move(value); } /** *

The current status of the bot. When the status is Available the * bot is ready for use.

*/ inline BotSummary& WithBotStatus(const BotStatus& value) { SetBotStatus(value); return *this;} /** *

The current status of the bot. When the status is Available the * bot is ready for use.

*/ inline BotSummary& WithBotStatus(BotStatus&& value) { SetBotStatus(std::move(value)); return *this;} /** *

The latest numerical version in use for the bot.

*/ inline const Aws::String& GetLatestBotVersion() const{ return m_latestBotVersion; } /** *

The latest numerical version in use for the bot.

*/ inline bool LatestBotVersionHasBeenSet() const { return m_latestBotVersionHasBeenSet; } /** *

The latest numerical version in use for the bot.

*/ inline void SetLatestBotVersion(const Aws::String& value) { m_latestBotVersionHasBeenSet = true; m_latestBotVersion = value; } /** *

The latest numerical version in use for the bot.

*/ inline void SetLatestBotVersion(Aws::String&& value) { m_latestBotVersionHasBeenSet = true; m_latestBotVersion = std::move(value); } /** *

The latest numerical version in use for the bot.

*/ inline void SetLatestBotVersion(const char* value) { m_latestBotVersionHasBeenSet = true; m_latestBotVersion.assign(value); } /** *

The latest numerical version in use for the bot.

*/ inline BotSummary& WithLatestBotVersion(const Aws::String& value) { SetLatestBotVersion(value); return *this;} /** *

The latest numerical version in use for the bot.

*/ inline BotSummary& WithLatestBotVersion(Aws::String&& value) { SetLatestBotVersion(std::move(value)); return *this;} /** *

The latest numerical version in use for the bot.

*/ inline BotSummary& WithLatestBotVersion(const char* value) { SetLatestBotVersion(value); return *this;} /** *

The date and time that the bot was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *

The date and time that the bot was last updated.

*/ inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *

The date and time that the bot was last updated.

*/ inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; } /** *

The date and time that the bot was last updated.

*/ inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); } /** *

The date and time that the bot was last updated.

*/ inline BotSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *

The date and time that the bot was last updated.

*/ inline BotSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} /** *

The type of the bot.

*/ inline const BotType& GetBotType() const{ return m_botType; } /** *

The type of the bot.

*/ inline bool BotTypeHasBeenSet() const { return m_botTypeHasBeenSet; } /** *

The type of the bot.

*/ inline void SetBotType(const BotType& value) { m_botTypeHasBeenSet = true; m_botType = value; } /** *

The type of the bot.

*/ inline void SetBotType(BotType&& value) { m_botTypeHasBeenSet = true; m_botType = std::move(value); } /** *

The type of the bot.

*/ inline BotSummary& WithBotType(const BotType& value) { SetBotType(value); return *this;} /** *

The type of the bot.

*/ inline BotSummary& WithBotType(BotType&& value) { SetBotType(std::move(value)); return *this;} private: Aws::String m_botId; bool m_botIdHasBeenSet = false; Aws::String m_botName; bool m_botNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; BotStatus m_botStatus; bool m_botStatusHasBeenSet = false; Aws::String m_latestBotVersion; bool m_latestBotVersionHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; BotType m_botType; bool m_botTypeHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws