/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LexRuntimeService { namespace Model { class DeleteSessionResult { public: AWS_LEXRUNTIMESERVICE_API DeleteSessionResult(); AWS_LEXRUNTIMESERVICE_API DeleteSessionResult(const Aws::AmazonWebServiceResult& result); AWS_LEXRUNTIMESERVICE_API DeleteSessionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the bot associated with the session data.

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

The name of the bot associated with the session data.

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

The name of the bot associated with the session data.

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

The name of the bot associated with the session data.

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

The name of the bot associated with the session data.

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

The name of the bot associated with the session data.

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

The name of the bot associated with the session data.

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

The alias in use for the bot associated with the session data.

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

The alias in use for the bot associated with the session data.

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

The alias in use for the bot associated with the session data.

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

The alias in use for the bot associated with the session data.

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

The alias in use for the bot associated with the session data.

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

The alias in use for the bot associated with the session data.

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

The alias in use for the bot associated with the session data.

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

The ID of the client application user.

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

The ID of the client application user.

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

The ID of the client application user.

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

The ID of the client application user.

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

The ID of the client application user.

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

The ID of the client application user.

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

The ID of the client application user.

*/ inline DeleteSessionResult& WithUserId(const char* value) { SetUserId(value); return *this;} /** *

The unique identifier for the session.

*/ inline const Aws::String& GetSessionId() const{ return m_sessionId; } /** *

The unique identifier for the session.

*/ inline void SetSessionId(const Aws::String& value) { m_sessionId = value; } /** *

The unique identifier for the session.

*/ inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); } /** *

The unique identifier for the session.

*/ inline void SetSessionId(const char* value) { m_sessionId.assign(value); } /** *

The unique identifier for the session.

*/ inline DeleteSessionResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} /** *

The unique identifier for the session.

*/ inline DeleteSessionResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} /** *

The unique identifier for the session.

*/ inline DeleteSessionResult& WithSessionId(const char* value) { SetSessionId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DeleteSessionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteSessionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteSessionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_botName; Aws::String m_botAlias; Aws::String m_userId; Aws::String m_sessionId; Aws::String m_requestId; }; } // namespace Model } // namespace LexRuntimeService } // namespace Aws