/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details for the execute command session.See Also:
AWS API
* Reference
The ID of the execute command session.
*/ inline const Aws::String& GetSessionId() const{ return m_sessionId; } /** *The ID of the execute command session.
*/ inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } /** *The ID of the execute command session.
*/ inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } /** *The ID of the execute command session.
*/ inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } /** *The ID of the execute command session.
*/ inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } /** *The ID of the execute command session.
*/ inline Session& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} /** *The ID of the execute command session.
*/ inline Session& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} /** *The ID of the execute command session.
*/ inline Session& WithSessionId(const char* value) { SetSessionId(value); return *this;} /** *A URL to the managed agent on the container that the SSM Session Manager * client uses to send commands and receive output from the container.
*/ inline const Aws::String& GetStreamUrl() const{ return m_streamUrl; } /** *A URL to the managed agent on the container that the SSM Session Manager * client uses to send commands and receive output from the container.
*/ inline bool StreamUrlHasBeenSet() const { return m_streamUrlHasBeenSet; } /** *A URL to the managed agent on the container that the SSM Session Manager * client uses to send commands and receive output from the container.
*/ inline void SetStreamUrl(const Aws::String& value) { m_streamUrlHasBeenSet = true; m_streamUrl = value; } /** *A URL to the managed agent on the container that the SSM Session Manager * client uses to send commands and receive output from the container.
*/ inline void SetStreamUrl(Aws::String&& value) { m_streamUrlHasBeenSet = true; m_streamUrl = std::move(value); } /** *A URL to the managed agent on the container that the SSM Session Manager * client uses to send commands and receive output from the container.
*/ inline void SetStreamUrl(const char* value) { m_streamUrlHasBeenSet = true; m_streamUrl.assign(value); } /** *A URL to the managed agent on the container that the SSM Session Manager * client uses to send commands and receive output from the container.
*/ inline Session& WithStreamUrl(const Aws::String& value) { SetStreamUrl(value); return *this;} /** *A URL to the managed agent on the container that the SSM Session Manager * client uses to send commands and receive output from the container.
*/ inline Session& WithStreamUrl(Aws::String&& value) { SetStreamUrl(std::move(value)); return *this;} /** *A URL to the managed agent on the container that the SSM Session Manager * client uses to send commands and receive output from the container.
*/ inline Session& WithStreamUrl(const char* value) { SetStreamUrl(value); return *this;} /** *An encrypted token value containing session and caller information. It's used * to authenticate the connection to the container.
*/ inline const Aws::String& GetTokenValue() const{ return m_tokenValue; } /** *An encrypted token value containing session and caller information. It's used * to authenticate the connection to the container.
*/ inline bool TokenValueHasBeenSet() const { return m_tokenValueHasBeenSet; } /** *An encrypted token value containing session and caller information. It's used * to authenticate the connection to the container.
*/ inline void SetTokenValue(const Aws::String& value) { m_tokenValueHasBeenSet = true; m_tokenValue = value; } /** *An encrypted token value containing session and caller information. It's used * to authenticate the connection to the container.
*/ inline void SetTokenValue(Aws::String&& value) { m_tokenValueHasBeenSet = true; m_tokenValue = std::move(value); } /** *An encrypted token value containing session and caller information. It's used * to authenticate the connection to the container.
*/ inline void SetTokenValue(const char* value) { m_tokenValueHasBeenSet = true; m_tokenValue.assign(value); } /** *An encrypted token value containing session and caller information. It's used * to authenticate the connection to the container.
*/ inline Session& WithTokenValue(const Aws::String& value) { SetTokenValue(value); return *this;} /** *An encrypted token value containing session and caller information. It's used * to authenticate the connection to the container.
*/ inline Session& WithTokenValue(Aws::String&& value) { SetTokenValue(std::move(value)); return *this;} /** *An encrypted token value containing session and caller information. It's used * to authenticate the connection to the container.
*/ inline Session& WithTokenValue(const char* value) { SetTokenValue(value); return *this;} private: Aws::String m_sessionId; bool m_sessionIdHasBeenSet = false; Aws::String m_streamUrl; bool m_streamUrlHasBeenSet = false; Aws::String m_tokenValue; bool m_tokenValueHasBeenSet = false; }; } // namespace Model } // namespace ECS } // namespace Aws