/** * 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 { /** *

The version of a bot used for a bot locale.

See Also:

AWS * API Reference

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

The version of a bot used for a bot locale.

*/ inline const Aws::String& GetSourceBotVersion() const{ return m_sourceBotVersion; } /** *

The version of a bot used for a bot locale.

*/ inline bool SourceBotVersionHasBeenSet() const { return m_sourceBotVersionHasBeenSet; } /** *

The version of a bot used for a bot locale.

*/ inline void SetSourceBotVersion(const Aws::String& value) { m_sourceBotVersionHasBeenSet = true; m_sourceBotVersion = value; } /** *

The version of a bot used for a bot locale.

*/ inline void SetSourceBotVersion(Aws::String&& value) { m_sourceBotVersionHasBeenSet = true; m_sourceBotVersion = std::move(value); } /** *

The version of a bot used for a bot locale.

*/ inline void SetSourceBotVersion(const char* value) { m_sourceBotVersionHasBeenSet = true; m_sourceBotVersion.assign(value); } /** *

The version of a bot used for a bot locale.

*/ inline BotVersionLocaleDetails& WithSourceBotVersion(const Aws::String& value) { SetSourceBotVersion(value); return *this;} /** *

The version of a bot used for a bot locale.

*/ inline BotVersionLocaleDetails& WithSourceBotVersion(Aws::String&& value) { SetSourceBotVersion(std::move(value)); return *this;} /** *

The version of a bot used for a bot locale.

*/ inline BotVersionLocaleDetails& WithSourceBotVersion(const char* value) { SetSourceBotVersion(value); return *this;} private: Aws::String m_sourceBotVersion; bool m_sourceBotVersionHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws