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

The ID of the session that has been terminated.

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

The ID of the session that has been terminated.

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

The ID of the session that has been terminated.

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

The ID of the session that has been terminated.

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

The ID of the session that has been terminated.

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

The ID of the session that has been terminated.

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

The ID of the session that has been terminated.

*/ inline TerminateSessionResult& WithSessionId(const char* value) { SetSessionId(value); return *this;} private: Aws::String m_sessionId; }; } // namespace Model } // namespace SSM } // namespace Aws