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