/** * 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 bot used for the test execution.

See * Also:

AWS * API Reference

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

Contains information about the bot alias used for the test execution.

*/ inline const BotAliasTestExecutionTarget& GetBotAliasTarget() const{ return m_botAliasTarget; } /** *

Contains information about the bot alias used for the test execution.

*/ inline bool BotAliasTargetHasBeenSet() const { return m_botAliasTargetHasBeenSet; } /** *

Contains information about the bot alias used for the test execution.

*/ inline void SetBotAliasTarget(const BotAliasTestExecutionTarget& value) { m_botAliasTargetHasBeenSet = true; m_botAliasTarget = value; } /** *

Contains information about the bot alias used for the test execution.

*/ inline void SetBotAliasTarget(BotAliasTestExecutionTarget&& value) { m_botAliasTargetHasBeenSet = true; m_botAliasTarget = std::move(value); } /** *

Contains information about the bot alias used for the test execution.

*/ inline TestExecutionTarget& WithBotAliasTarget(const BotAliasTestExecutionTarget& value) { SetBotAliasTarget(value); return *this;} /** *

Contains information about the bot alias used for the test execution.

*/ inline TestExecutionTarget& WithBotAliasTarget(BotAliasTestExecutionTarget&& value) { SetBotAliasTarget(std::move(value)); return *this;} private: BotAliasTestExecutionTarget m_botAliasTarget; bool m_botAliasTargetHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws