/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace LexRuntimeService { namespace Model { /** */ class DeleteSessionRequest : public LexRuntimeServiceRequest { public: AWS_LEXRUNTIMESERVICE_API DeleteSessionRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteSession"; } AWS_LEXRUNTIMESERVICE_API Aws::String SerializePayload() const override; /** *

The name of the bot that contains the session data.

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

The name of the bot that contains the session data.

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

The name of the bot that contains the session data.

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

The name of the bot that contains the session data.

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

The name of the bot that contains the session data.

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

The name of the bot that contains the session data.

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

The name of the bot that contains the session data.

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

The name of the bot that contains the session data.

*/ inline DeleteSessionRequest& WithBotName(const char* value) { SetBotName(value); return *this;} /** *

The alias in use for the bot that contains the session data.

*/ inline const Aws::String& GetBotAlias() const{ return m_botAlias; } /** *

The alias in use for the bot that contains the session data.

*/ inline bool BotAliasHasBeenSet() const { return m_botAliasHasBeenSet; } /** *

The alias in use for the bot that contains the session data.

*/ inline void SetBotAlias(const Aws::String& value) { m_botAliasHasBeenSet = true; m_botAlias = value; } /** *

The alias in use for the bot that contains the session data.

*/ inline void SetBotAlias(Aws::String&& value) { m_botAliasHasBeenSet = true; m_botAlias = std::move(value); } /** *

The alias in use for the bot that contains the session data.

*/ inline void SetBotAlias(const char* value) { m_botAliasHasBeenSet = true; m_botAlias.assign(value); } /** *

The alias in use for the bot that contains the session data.

*/ inline DeleteSessionRequest& WithBotAlias(const Aws::String& value) { SetBotAlias(value); return *this;} /** *

The alias in use for the bot that contains the session data.

*/ inline DeleteSessionRequest& WithBotAlias(Aws::String&& value) { SetBotAlias(std::move(value)); return *this;} /** *

The alias in use for the bot that contains the session data.

*/ inline DeleteSessionRequest& WithBotAlias(const char* value) { SetBotAlias(value); return *this;} /** *

The identifier of the user associated with the session data.

*/ inline const Aws::String& GetUserId() const{ return m_userId; } /** *

The identifier of the user associated with the session data.

*/ inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } /** *

The identifier of the user associated with the session data.

*/ inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } /** *

The identifier of the user associated with the session data.

*/ inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } /** *

The identifier of the user associated with the session data.

*/ inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } /** *

The identifier of the user associated with the session data.

*/ inline DeleteSessionRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} /** *

The identifier of the user associated with the session data.

*/ inline DeleteSessionRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} /** *

The identifier of the user associated with the session data.

*/ inline DeleteSessionRequest& WithUserId(const char* value) { SetUserId(value); return *this;} private: Aws::String m_botName; bool m_botNameHasBeenSet = false; Aws::String m_botAlias; bool m_botAliasHasBeenSet = false; Aws::String m_userId; bool m_userIdHasBeenSet = false; }; } // namespace Model } // namespace LexRuntimeService } // namespace Aws