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

The bot member that processes the request.

See Also:

AWS * API Reference

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

The identifier of the bot member that processes the request.

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

The identifier of the bot member that processes the request.

*/ inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; } /** *

The identifier of the bot member that processes the request.

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

The identifier of the bot member that processes the request.

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

The identifier of the bot member that processes the request.

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

The identifier of the bot member that processes the request.

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

The identifier of the bot member that processes the request.

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

The identifier of the bot member that processes the request.

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

The name of the bot member that processes the request.

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

The name of the bot member that processes the request.

*/ inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; } /** *

The name of the bot member that processes the request.

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

The name of the bot member that processes the request.

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

The name of the bot member that processes the request.

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

The name of the bot member that processes the request.

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

The name of the bot member that processes the request.

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

The name of the bot member that processes the request.

*/ inline RecognizedBotMember& WithBotName(const char* value) { SetBotName(value); return *this;} private: Aws::String m_botId; bool m_botIdHasBeenSet = false; Aws::String m_botName; bool m_botNameHasBeenSet = false; }; } // namespace Model } // namespace LexRuntimeV2 } // namespace Aws