/** * 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 DatabaseMigrationService { namespace Model { /** *

See Also:

AWS * API Reference

*/ class AWS_DATABASEMIGRATIONSERVICE_API DeleteConnectionResult { public: DeleteConnectionResult(); DeleteConnectionResult(const Aws::AmazonWebServiceResult& result); DeleteConnectionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The connection that is being deleted.

*/ inline const Connection& GetConnection() const{ return m_connection; } /** *

The connection that is being deleted.

*/ inline void SetConnection(const Connection& value) { m_connection = value; } /** *

The connection that is being deleted.

*/ inline void SetConnection(Connection&& value) { m_connection = std::move(value); } /** *

The connection that is being deleted.

*/ inline DeleteConnectionResult& WithConnection(const Connection& value) { SetConnection(value); return *this;} /** *

The connection that is being deleted.

*/ inline DeleteConnectionResult& WithConnection(Connection&& value) { SetConnection(std::move(value)); return *this;} private: Connection m_connection; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws