/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CodeCatalyst { namespace Model { /** *

Information about connection details for a Dev Environment.

See * Also:

AWS * API Reference

*/ class DevEnvironmentAccessDetails { public: AWS_CODECATALYST_API DevEnvironmentAccessDetails(); AWS_CODECATALYST_API DevEnvironmentAccessDetails(Aws::Utils::Json::JsonView jsonValue); AWS_CODECATALYST_API DevEnvironmentAccessDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The URL used to send commands to and from the Dev Environment.

*/ inline const Aws::String& GetStreamUrl() const{ return m_streamUrl; } /** *

The URL used to send commands to and from the Dev Environment.

*/ inline bool StreamUrlHasBeenSet() const { return m_streamUrlHasBeenSet; } /** *

The URL used to send commands to and from the Dev Environment.

*/ inline void SetStreamUrl(const Aws::String& value) { m_streamUrlHasBeenSet = true; m_streamUrl = value; } /** *

The URL used to send commands to and from the Dev Environment.

*/ inline void SetStreamUrl(Aws::String&& value) { m_streamUrlHasBeenSet = true; m_streamUrl = std::move(value); } /** *

The URL used to send commands to and from the Dev Environment.

*/ inline void SetStreamUrl(const char* value) { m_streamUrlHasBeenSet = true; m_streamUrl.assign(value); } /** *

The URL used to send commands to and from the Dev Environment.

*/ inline DevEnvironmentAccessDetails& WithStreamUrl(const Aws::String& value) { SetStreamUrl(value); return *this;} /** *

The URL used to send commands to and from the Dev Environment.

*/ inline DevEnvironmentAccessDetails& WithStreamUrl(Aws::String&& value) { SetStreamUrl(std::move(value)); return *this;} /** *

The URL used to send commands to and from the Dev Environment.

*/ inline DevEnvironmentAccessDetails& WithStreamUrl(const char* value) { SetStreamUrl(value); return *this;} /** *

An encrypted token value that contains session and caller information used to * authenticate the connection.

*/ inline const Aws::String& GetTokenValue() const{ return m_tokenValue; } /** *

An encrypted token value that contains session and caller information used to * authenticate the connection.

*/ inline bool TokenValueHasBeenSet() const { return m_tokenValueHasBeenSet; } /** *

An encrypted token value that contains session and caller information used to * authenticate the connection.

*/ inline void SetTokenValue(const Aws::String& value) { m_tokenValueHasBeenSet = true; m_tokenValue = value; } /** *

An encrypted token value that contains session and caller information used to * authenticate the connection.

*/ inline void SetTokenValue(Aws::String&& value) { m_tokenValueHasBeenSet = true; m_tokenValue = std::move(value); } /** *

An encrypted token value that contains session and caller information used to * authenticate the connection.

*/ inline void SetTokenValue(const char* value) { m_tokenValueHasBeenSet = true; m_tokenValue.assign(value); } /** *

An encrypted token value that contains session and caller information used to * authenticate the connection.

*/ inline DevEnvironmentAccessDetails& WithTokenValue(const Aws::String& value) { SetTokenValue(value); return *this;} /** *

An encrypted token value that contains session and caller information used to * authenticate the connection.

*/ inline DevEnvironmentAccessDetails& WithTokenValue(Aws::String&& value) { SetTokenValue(std::move(value)); return *this;} /** *

An encrypted token value that contains session and caller information used to * authenticate the connection.

*/ inline DevEnvironmentAccessDetails& WithTokenValue(const char* value) { SetTokenValue(value); return *this;} private: Aws::String m_streamUrl; bool m_streamUrlHasBeenSet = false; Aws::String m_tokenValue; bool m_tokenValueHasBeenSet = false; }; } // namespace Model } // namespace CodeCatalyst } // namespace Aws