/** * 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 ModifyEndpointResult { public: ModifyEndpointResult(); ModifyEndpointResult(const Aws::AmazonWebServiceResult& result); ModifyEndpointResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The modified endpoint.

*/ inline const Endpoint& GetEndpoint() const{ return m_endpoint; } /** *

The modified endpoint.

*/ inline void SetEndpoint(const Endpoint& value) { m_endpoint = value; } /** *

The modified endpoint.

*/ inline void SetEndpoint(Endpoint&& value) { m_endpoint = std::move(value); } /** *

The modified endpoint.

*/ inline ModifyEndpointResult& WithEndpoint(const Endpoint& value) { SetEndpoint(value); return *this;} /** *

The modified endpoint.

*/ inline ModifyEndpointResult& WithEndpoint(Endpoint&& value) { SetEndpoint(std::move(value)); return *this;} private: Endpoint m_endpoint; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws