/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { class DescribeBotVersionResult { public: AWS_LEXMODELSV2_API DescribeBotVersionResult(); AWS_LEXMODELSV2_API DescribeBotVersionResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELSV2_API DescribeBotVersionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the bot that contains the version.

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

The identifier of the bot that contains the version.

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

The identifier of the bot that contains the version.

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

The identifier of the bot that contains the version.

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

The identifier of the bot that contains the version.

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

The identifier of the bot that contains the version.

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

The identifier of the bot that contains the version.

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

The name of the bot that contains the version.

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

The name of the bot that contains the version.

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

The name of the bot that contains the version.

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

The name of the bot that contains the version.

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

The name of the bot that contains the version.

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

The name of the bot that contains the version.

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

The name of the bot that contains the version.

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

The version of the bot that was described.

*/ inline const Aws::String& GetBotVersion() const{ return m_botVersion; } /** *

The version of the bot that was described.

*/ inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; } /** *

The version of the bot that was described.

*/ inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); } /** *

The version of the bot that was described.

*/ inline void SetBotVersion(const char* value) { m_botVersion.assign(value); } /** *

The version of the bot that was described.

*/ inline DescribeBotVersionResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;} /** *

The version of the bot that was described.

*/ inline DescribeBotVersionResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;} /** *

The version of the bot that was described.

*/ inline DescribeBotVersionResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;} /** *

The description specified for the bot.

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

The description specified for the bot.

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

The description specified for the bot.

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

The description specified for the bot.

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

The description specified for the bot.

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

The description specified for the bot.

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

The description specified for the bot.

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

The Amazon Resource Name (ARN) of an IAM role that has permission to access * the bot version.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The Amazon Resource Name (ARN) of an IAM role that has permission to access * the bot version.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; } /** *

The Amazon Resource Name (ARN) of an IAM role that has permission to access * the bot version.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of an IAM role that has permission to access * the bot version.

*/ inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of an IAM role that has permission to access * the bot version.

*/ inline DescribeBotVersionResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of an IAM role that has permission to access * the bot version.

*/ inline DescribeBotVersionResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of an IAM role that has permission to access * the bot version.

*/ inline DescribeBotVersionResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

Data privacy settings for the bot version.

*/ inline const DataPrivacy& GetDataPrivacy() const{ return m_dataPrivacy; } /** *

Data privacy settings for the bot version.

*/ inline void SetDataPrivacy(const DataPrivacy& value) { m_dataPrivacy = value; } /** *

Data privacy settings for the bot version.

*/ inline void SetDataPrivacy(DataPrivacy&& value) { m_dataPrivacy = std::move(value); } /** *

Data privacy settings for the bot version.

*/ inline DescribeBotVersionResult& WithDataPrivacy(const DataPrivacy& value) { SetDataPrivacy(value); return *this;} /** *

Data privacy settings for the bot version.

*/ inline DescribeBotVersionResult& WithDataPrivacy(DataPrivacy&& value) { SetDataPrivacy(std::move(value)); return *this;} /** *

The number of seconds that a session with the bot remains active before it is * discarded by Amazon Lex.

*/ inline int GetIdleSessionTTLInSeconds() const{ return m_idleSessionTTLInSeconds; } /** *

The number of seconds that a session with the bot remains active before it is * discarded by Amazon Lex.

*/ inline void SetIdleSessionTTLInSeconds(int value) { m_idleSessionTTLInSeconds = value; } /** *

The number of seconds that a session with the bot remains active before it is * discarded by Amazon Lex.

*/ inline DescribeBotVersionResult& WithIdleSessionTTLInSeconds(int value) { SetIdleSessionTTLInSeconds(value); return *this;} /** *

The current status of the bot. When the status is Available, the * bot version 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 version is ready for use.

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

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

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

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

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

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

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

If the botStatus is Failed, this contains a list of * reasons that the version couldn't be built.

*/ inline const Aws::Vector& GetFailureReasons() const{ return m_failureReasons; } /** *

If the botStatus is Failed, this contains a list of * reasons that the version couldn't be built.

*/ inline void SetFailureReasons(const Aws::Vector& value) { m_failureReasons = value; } /** *

If the botStatus is Failed, this contains a list of * reasons that the version couldn't be built.

*/ inline void SetFailureReasons(Aws::Vector&& value) { m_failureReasons = std::move(value); } /** *

If the botStatus is Failed, this contains a list of * reasons that the version couldn't be built.

*/ inline DescribeBotVersionResult& WithFailureReasons(const Aws::Vector& value) { SetFailureReasons(value); return *this;} /** *

If the botStatus is Failed, this contains a list of * reasons that the version couldn't be built.

*/ inline DescribeBotVersionResult& WithFailureReasons(Aws::Vector&& value) { SetFailureReasons(std::move(value)); return *this;} /** *

If the botStatus is Failed, this contains a list of * reasons that the version couldn't be built.

*/ inline DescribeBotVersionResult& AddFailureReasons(const Aws::String& value) { m_failureReasons.push_back(value); return *this; } /** *

If the botStatus is Failed, this contains a list of * reasons that the version couldn't be built.

*/ inline DescribeBotVersionResult& AddFailureReasons(Aws::String&& value) { m_failureReasons.push_back(std::move(value)); return *this; } /** *

If the botStatus is Failed, this contains a list of * reasons that the version couldn't be built.

*/ inline DescribeBotVersionResult& AddFailureReasons(const char* value) { m_failureReasons.push_back(value); return *this; } /** *

A timestamp of the date and time that the bot version was created.

*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *

A timestamp of the date and time that the bot version was created.

*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; } /** *

A timestamp of the date and time that the bot version was created.

*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); } /** *

A timestamp of the date and time that the bot version was created.

*/ inline DescribeBotVersionResult& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *

A timestamp of the date and time that the bot version was created.

*/ inline DescribeBotVersionResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *

A list of the networks to which the bot version you described belongs.

*/ inline const Aws::Vector& GetParentBotNetworks() const{ return m_parentBotNetworks; } /** *

A list of the networks to which the bot version you described belongs.

*/ inline void SetParentBotNetworks(const Aws::Vector& value) { m_parentBotNetworks = value; } /** *

A list of the networks to which the bot version you described belongs.

*/ inline void SetParentBotNetworks(Aws::Vector&& value) { m_parentBotNetworks = std::move(value); } /** *

A list of the networks to which the bot version you described belongs.

*/ inline DescribeBotVersionResult& WithParentBotNetworks(const Aws::Vector& value) { SetParentBotNetworks(value); return *this;} /** *

A list of the networks to which the bot version you described belongs.

*/ inline DescribeBotVersionResult& WithParentBotNetworks(Aws::Vector&& value) { SetParentBotNetworks(std::move(value)); return *this;} /** *

A list of the networks to which the bot version you described belongs.

*/ inline DescribeBotVersionResult& AddParentBotNetworks(const ParentBotNetwork& value) { m_parentBotNetworks.push_back(value); return *this; } /** *

A list of the networks to which the bot version you described belongs.

*/ inline DescribeBotVersionResult& AddParentBotNetworks(ParentBotNetwork&& value) { m_parentBotNetworks.push_back(std::move(value)); return *this; } /** *

The type of the bot in the version that was described.

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

The type of the bot in the version that was described.

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

The type of the bot in the version that was described.

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

The type of the bot in the version that was described.

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

The type of the bot in the version that was described.

*/ inline DescribeBotVersionResult& WithBotType(BotType&& value) { SetBotType(std::move(value)); return *this;} /** *

The members of bot network in the version that was described.

*/ inline const Aws::Vector& GetBotMembers() const{ return m_botMembers; } /** *

The members of bot network in the version that was described.

*/ inline void SetBotMembers(const Aws::Vector& value) { m_botMembers = value; } /** *

The members of bot network in the version that was described.

*/ inline void SetBotMembers(Aws::Vector&& value) { m_botMembers = std::move(value); } /** *

The members of bot network in the version that was described.

*/ inline DescribeBotVersionResult& WithBotMembers(const Aws::Vector& value) { SetBotMembers(value); return *this;} /** *

The members of bot network in the version that was described.

*/ inline DescribeBotVersionResult& WithBotMembers(Aws::Vector&& value) { SetBotMembers(std::move(value)); return *this;} /** *

The members of bot network in the version that was described.

*/ inline DescribeBotVersionResult& AddBotMembers(const BotMember& value) { m_botMembers.push_back(value); return *this; } /** *

The members of bot network in the version that was described.

*/ inline DescribeBotVersionResult& AddBotMembers(BotMember&& value) { m_botMembers.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeBotVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeBotVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeBotVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_botId; Aws::String m_botName; Aws::String m_botVersion; Aws::String m_description; Aws::String m_roleArn; DataPrivacy m_dataPrivacy; int m_idleSessionTTLInSeconds; BotStatus m_botStatus; Aws::Vector m_failureReasons; Aws::Utils::DateTime m_creationDateTime; Aws::Vector m_parentBotNetworks; BotType m_botType; Aws::Vector m_botMembers; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws