/** * 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 LexRuntimeV2 { namespace Model { class DeleteSessionResult { public: AWS_LEXRUNTIMEV2_API DeleteSessionResult(); AWS_LEXRUNTIMEV2_API DeleteSessionResult(const Aws::AmazonWebServiceResult& result); AWS_LEXRUNTIMEV2_API DeleteSessionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the bot that contained the session data.

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

The identifier of the bot that contained the session data.

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

The identifier of the bot that contained the session data.

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

The identifier of the bot that contained the session data.

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

The identifier of the bot that contained the session data.

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

The identifier of the bot that contained the session data.

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

The identifier of the bot that contained the session data.

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

The alias identifier in use for the bot that contained the session data.

*/ inline const Aws::String& GetBotAliasId() const{ return m_botAliasId; } /** *

The alias identifier in use for the bot that contained the session data.

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

The alias identifier in use for the bot that contained the session data.

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

The alias identifier in use for the bot that contained the session data.

*/ inline void SetBotAliasId(const char* value) { m_botAliasId.assign(value); } /** *

The alias identifier in use for the bot that contained the session data.

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

The alias identifier in use for the bot that contained the session data.

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

The alias identifier in use for the bot that contained the session data.

*/ inline DeleteSessionResult& WithBotAliasId(const char* value) { SetBotAliasId(value); return *this;} /** *

The locale where the session was used.

*/ inline const Aws::String& GetLocaleId() const{ return m_localeId; } /** *

The locale where the session was used.

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

The locale where the session was used.

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

The locale where the session was used.

*/ inline void SetLocaleId(const char* value) { m_localeId.assign(value); } /** *

The locale where the session was used.

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

The locale where the session was used.

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

The locale where the session was used.

*/ inline DeleteSessionResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;} /** *

The identifier of the deleted session.

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

The identifier of the deleted session.

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

The identifier of the deleted session.

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

The identifier of the deleted session.

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

The identifier of the deleted session.

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

The identifier of the deleted session.

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

The identifier of the deleted 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_botId; Aws::String m_botAliasId; Aws::String m_localeId; Aws::String m_sessionId; Aws::String m_requestId; }; } // namespace Model } // namespace LexRuntimeV2 } // namespace Aws