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

A unique alpha-numeric tunnel ID.

*/ inline const Aws::String& GetTunnelId() const{ return m_tunnelId; } /** *

A unique alpha-numeric tunnel ID.

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

A unique alpha-numeric tunnel ID.

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

A unique alpha-numeric tunnel ID.

*/ inline void SetTunnelId(const char* value) { m_tunnelId.assign(value); } /** *

A unique alpha-numeric tunnel ID.

*/ inline OpenTunnelResult& WithTunnelId(const Aws::String& value) { SetTunnelId(value); return *this;} /** *

A unique alpha-numeric tunnel ID.

*/ inline OpenTunnelResult& WithTunnelId(Aws::String&& value) { SetTunnelId(std::move(value)); return *this;} /** *

A unique alpha-numeric tunnel ID.

*/ inline OpenTunnelResult& WithTunnelId(const char* value) { SetTunnelId(value); return *this;} /** *

The Amazon Resource Name for the tunnel. The tunnel ARN format is * arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id> *

*/ inline const Aws::String& GetTunnelArn() const{ return m_tunnelArn; } /** *

The Amazon Resource Name for the tunnel. The tunnel ARN format is * arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id> *

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

The Amazon Resource Name for the tunnel. The tunnel ARN format is * arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id> *

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

The Amazon Resource Name for the tunnel. The tunnel ARN format is * arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id> *

*/ inline void SetTunnelArn(const char* value) { m_tunnelArn.assign(value); } /** *

The Amazon Resource Name for the tunnel. The tunnel ARN format is * arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id> *

*/ inline OpenTunnelResult& WithTunnelArn(const Aws::String& value) { SetTunnelArn(value); return *this;} /** *

The Amazon Resource Name for the tunnel. The tunnel ARN format is * arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id> *

*/ inline OpenTunnelResult& WithTunnelArn(Aws::String&& value) { SetTunnelArn(std::move(value)); return *this;} /** *

The Amazon Resource Name for the tunnel. The tunnel ARN format is * arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id> *

*/ inline OpenTunnelResult& WithTunnelArn(const char* value) { SetTunnelArn(value); return *this;} /** *

The access token the source local proxy uses to connect to AWS IoT Secure * Tunneling.

*/ inline const Aws::String& GetSourceAccessToken() const{ return m_sourceAccessToken; } /** *

The access token the source local proxy uses to connect to AWS IoT Secure * Tunneling.

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

The access token the source local proxy uses to connect to AWS IoT Secure * Tunneling.

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

The access token the source local proxy uses to connect to AWS IoT Secure * Tunneling.

*/ inline void SetSourceAccessToken(const char* value) { m_sourceAccessToken.assign(value); } /** *

The access token the source local proxy uses to connect to AWS IoT Secure * Tunneling.

*/ inline OpenTunnelResult& WithSourceAccessToken(const Aws::String& value) { SetSourceAccessToken(value); return *this;} /** *

The access token the source local proxy uses to connect to AWS IoT Secure * Tunneling.

*/ inline OpenTunnelResult& WithSourceAccessToken(Aws::String&& value) { SetSourceAccessToken(std::move(value)); return *this;} /** *

The access token the source local proxy uses to connect to AWS IoT Secure * Tunneling.

*/ inline OpenTunnelResult& WithSourceAccessToken(const char* value) { SetSourceAccessToken(value); return *this;} /** *

The access token the destination local proxy uses to connect to AWS IoT * Secure Tunneling.

*/ inline const Aws::String& GetDestinationAccessToken() const{ return m_destinationAccessToken; } /** *

The access token the destination local proxy uses to connect to AWS IoT * Secure Tunneling.

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

The access token the destination local proxy uses to connect to AWS IoT * Secure Tunneling.

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

The access token the destination local proxy uses to connect to AWS IoT * Secure Tunneling.

*/ inline void SetDestinationAccessToken(const char* value) { m_destinationAccessToken.assign(value); } /** *

The access token the destination local proxy uses to connect to AWS IoT * Secure Tunneling.

*/ inline OpenTunnelResult& WithDestinationAccessToken(const Aws::String& value) { SetDestinationAccessToken(value); return *this;} /** *

The access token the destination local proxy uses to connect to AWS IoT * Secure Tunneling.

*/ inline OpenTunnelResult& WithDestinationAccessToken(Aws::String&& value) { SetDestinationAccessToken(std::move(value)); return *this;} /** *

The access token the destination local proxy uses to connect to AWS IoT * Secure Tunneling.

*/ inline OpenTunnelResult& WithDestinationAccessToken(const char* value) { SetDestinationAccessToken(value); return *this;} private: Aws::String m_tunnelId; Aws::String m_tunnelArn; Aws::String m_sourceAccessToken; Aws::String m_destinationAccessToken; }; } // namespace Model } // namespace IoTSecureTunneling } // namespace Aws