/** * 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 Connect { namespace Model { /** *

Configuration information of an Amazon Lex V2 bot.

See Also:

* AWS * API Reference

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

The Amazon Resource Name (ARN) of the Amazon Lex V2 bot.

*/ inline const Aws::String& GetAliasArn() const{ return m_aliasArn; } /** *

The Amazon Resource Name (ARN) of the Amazon Lex V2 bot.

*/ inline bool AliasArnHasBeenSet() const { return m_aliasArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the Amazon Lex V2 bot.

*/ inline void SetAliasArn(const Aws::String& value) { m_aliasArnHasBeenSet = true; m_aliasArn = value; } /** *

The Amazon Resource Name (ARN) of the Amazon Lex V2 bot.

*/ inline void SetAliasArn(Aws::String&& value) { m_aliasArnHasBeenSet = true; m_aliasArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Amazon Lex V2 bot.

*/ inline void SetAliasArn(const char* value) { m_aliasArnHasBeenSet = true; m_aliasArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the Amazon Lex V2 bot.

*/ inline LexV2Bot& WithAliasArn(const Aws::String& value) { SetAliasArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Amazon Lex V2 bot.

*/ inline LexV2Bot& WithAliasArn(Aws::String&& value) { SetAliasArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Amazon Lex V2 bot.

*/ inline LexV2Bot& WithAliasArn(const char* value) { SetAliasArn(value); return *this;} private: Aws::String m_aliasArn; bool m_aliasArnHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws