/** * 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 SSM { namespace Model { /** */ class ResumeSessionRequest : public SSMRequest { public: AWS_SSM_API ResumeSessionRequest(); // 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 "ResumeSession"; } AWS_SSM_API Aws::String SerializePayload() const override; AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the disconnected session to resume.

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

The ID of the disconnected session to resume.

*/ inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } /** *

The ID of the disconnected session to resume.

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

The ID of the disconnected session to resume.

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

The ID of the disconnected session to resume.

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

The ID of the disconnected session to resume.

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

The ID of the disconnected session to resume.

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

The ID of the disconnected session to resume.

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