/** * 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 bot.

See Also:

AWS API * Reference

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

The name of the Amazon Lex bot.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the Amazon Lex bot.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the Amazon Lex bot.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the Amazon Lex bot.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the Amazon Lex bot.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the Amazon Lex bot.

*/ inline LexBot& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the Amazon Lex bot.

*/ inline LexBot& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the Amazon Lex bot.

*/ inline LexBot& WithName(const char* value) { SetName(value); return *this;} /** *

The Amazon Web Services Region where the Amazon Lex bot was created.

*/ inline const Aws::String& GetLexRegion() const{ return m_lexRegion; } /** *

The Amazon Web Services Region where the Amazon Lex bot was created.

*/ inline bool LexRegionHasBeenSet() const { return m_lexRegionHasBeenSet; } /** *

The Amazon Web Services Region where the Amazon Lex bot was created.

*/ inline void SetLexRegion(const Aws::String& value) { m_lexRegionHasBeenSet = true; m_lexRegion = value; } /** *

The Amazon Web Services Region where the Amazon Lex bot was created.

*/ inline void SetLexRegion(Aws::String&& value) { m_lexRegionHasBeenSet = true; m_lexRegion = std::move(value); } /** *

The Amazon Web Services Region where the Amazon Lex bot was created.

*/ inline void SetLexRegion(const char* value) { m_lexRegionHasBeenSet = true; m_lexRegion.assign(value); } /** *

The Amazon Web Services Region where the Amazon Lex bot was created.

*/ inline LexBot& WithLexRegion(const Aws::String& value) { SetLexRegion(value); return *this;} /** *

The Amazon Web Services Region where the Amazon Lex bot was created.

*/ inline LexBot& WithLexRegion(Aws::String&& value) { SetLexRegion(std::move(value)); return *this;} /** *

The Amazon Web Services Region where the Amazon Lex bot was created.

*/ inline LexBot& WithLexRegion(const char* value) { SetLexRegion(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_lexRegion; bool m_lexRegionHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws