/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains details about the accepted inbound connection.See
* Also:
AWS
* API Reference
Information about the accepted inbound connection.
*/ inline const InboundConnection& GetConnection() const{ return m_connection; } /** *Information about the accepted inbound connection.
*/ inline void SetConnection(const InboundConnection& value) { m_connection = value; } /** *Information about the accepted inbound connection.
*/ inline void SetConnection(InboundConnection&& value) { m_connection = std::move(value); } /** *Information about the accepted inbound connection.
*/ inline AcceptInboundConnectionResult& WithConnection(const InboundConnection& value) { SetConnection(value); return *this;} /** *Information about the accepted inbound connection.
*/ inline AcceptInboundConnectionResult& WithConnection(InboundConnection&& value) { SetConnection(std::move(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 AcceptInboundConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AcceptInboundConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AcceptInboundConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: InboundConnection m_connection; Aws::String m_requestId; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws