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

The ID of the connection.

*/ inline const Aws::String& GetConnectionId() const{ return m_connectionId; } /** *

The ID of the connection.

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

The ID of the connection.

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

The ID of the connection.

*/ inline void SetConnectionId(const char* value) { m_connectionId.assign(value); } /** *

The ID of the connection.

*/ inline StartConnectionResult& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;} /** *

The ID of the connection.

*/ inline StartConnectionResult& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;} /** *

The ID of the connection.

*/ inline StartConnectionResult& WithConnectionId(const char* value) { SetConnectionId(value); return *this;} /** *

The underlay IP address.

*/ inline const Aws::String& GetUnderlayIpAddress() const{ return m_underlayIpAddress; } /** *

The underlay IP address.

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

The underlay IP address.

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

The underlay IP address.

*/ inline void SetUnderlayIpAddress(const char* value) { m_underlayIpAddress.assign(value); } /** *

The underlay IP address.

*/ inline StartConnectionResult& WithUnderlayIpAddress(const Aws::String& value) { SetUnderlayIpAddress(value); return *this;} /** *

The underlay IP address.

*/ inline StartConnectionResult& WithUnderlayIpAddress(Aws::String&& value) { SetUnderlayIpAddress(std::move(value)); return *this;} /** *

The underlay IP address.

*/ inline StartConnectionResult& WithUnderlayIpAddress(const char* value) { SetUnderlayIpAddress(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline StartConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_connectionId; Aws::String m_underlayIpAddress; Aws::String m_requestId; }; } // namespace Model } // namespace Outposts } // namespace Aws