/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary information about a bot version returned by the ListBotVersions
* operation.See Also:
AWS
* API Reference
The name of the bot associated with the version.
*/ inline const Aws::String& GetBotName() const{ return m_botName; } /** *The name of the bot associated with the version.
*/ inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; } /** *The name of the bot associated with the version.
*/ inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; } /** *The name of the bot associated with the version.
*/ inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); } /** *The name of the bot associated with the version.
*/ inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); } /** *The name of the bot associated with the version.
*/ inline BotVersionSummary& WithBotName(const Aws::String& value) { SetBotName(value); return *this;} /** *The name of the bot associated with the version.
*/ inline BotVersionSummary& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;} /** *The name of the bot associated with the version.
*/ inline BotVersionSummary& WithBotName(const char* value) { SetBotName(value); return *this;} /** *The numeric version of the bot, or DRAFT
to indicate that this
* is the version of the bot that can be updated..
The numeric version of the bot, or DRAFT
to indicate that this
* is the version of the bot that can be updated..
The numeric version of the bot, or DRAFT
to indicate that this
* is the version of the bot that can be updated..
The numeric version of the bot, or DRAFT
to indicate that this
* is the version of the bot that can be updated..
The numeric version of the bot, or DRAFT
to indicate that this
* is the version of the bot that can be updated..
The numeric version of the bot, or DRAFT
to indicate that this
* is the version of the bot that can be updated..
The numeric version of the bot, or DRAFT
to indicate that this
* is the version of the bot that can be updated..
The numeric version of the bot, or DRAFT
to indicate that this
* is the version of the bot that can be updated..
The description of the version.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the version.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the version.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the version.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the version.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the version.
*/ inline BotVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the version.
*/ inline BotVersionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the version.
*/ inline BotVersionSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The status of the bot. When the status is available, the version of the bot * is ready for use.
*/ inline const BotStatus& GetBotStatus() const{ return m_botStatus; } /** *The status of the bot. When the status is available, the version of the bot * is ready for use.
*/ inline bool BotStatusHasBeenSet() const { return m_botStatusHasBeenSet; } /** *The status of the bot. When the status is available, the version of the bot * is ready for use.
*/ inline void SetBotStatus(const BotStatus& value) { m_botStatusHasBeenSet = true; m_botStatus = value; } /** *The status of the bot. When the status is available, the version of the bot * is ready for use.
*/ inline void SetBotStatus(BotStatus&& value) { m_botStatusHasBeenSet = true; m_botStatus = std::move(value); } /** *The status of the bot. When the status is available, the version of the bot * is ready for use.
*/ inline BotVersionSummary& WithBotStatus(const BotStatus& value) { SetBotStatus(value); return *this;} /** *The status of the bot. When the status is available, the version of the bot * is ready for use.
*/ inline BotVersionSummary& WithBotStatus(BotStatus&& value) { SetBotStatus(std::move(value)); return *this;} /** *A timestamp of the date and time that the version was created.
*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *A timestamp of the date and time that the version was created.
*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *A timestamp of the date and time that the version was created.
*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *A timestamp of the date and time that the version was created.
*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *A timestamp of the date and time that the version was created.
*/ inline BotVersionSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *A timestamp of the date and time that the version was created.
*/ inline BotVersionSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} private: Aws::String m_botName; bool m_botNameHasBeenSet = false; Aws::String m_botVersion; bool m_botVersionHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; BotStatus m_botStatus; bool m_botStatusHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws