/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DatabaseMigrationService { namespace Model { class DescribeEndpointSettingsResult { public: AWS_DATABASEMIGRATIONSERVICE_API DescribeEndpointSettingsResult(); AWS_DATABASEMIGRATIONSERVICE_API DescribeEndpointSettingsResult(const Aws::AmazonWebServiceResult& result); AWS_DATABASEMIGRATIONSERVICE_API DescribeEndpointSettingsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the marker, up * to the value specified by MaxRecords.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the marker, up * to the value specified by MaxRecords.

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

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the marker, up * to the value specified by MaxRecords.

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

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the marker, up * to the value specified by MaxRecords.

*/ inline void SetMarker(const char* value) { m_marker.assign(value); } /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the marker, up * to the value specified by MaxRecords.

*/ inline DescribeEndpointSettingsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the marker, up * to the value specified by MaxRecords.

*/ inline DescribeEndpointSettingsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the marker, up * to the value specified by MaxRecords.

*/ inline DescribeEndpointSettingsResult& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

Descriptions of the endpoint settings available for your source or target * database engine.

*/ inline const Aws::Vector& GetEndpointSettings() const{ return m_endpointSettings; } /** *

Descriptions of the endpoint settings available for your source or target * database engine.

*/ inline void SetEndpointSettings(const Aws::Vector& value) { m_endpointSettings = value; } /** *

Descriptions of the endpoint settings available for your source or target * database engine.

*/ inline void SetEndpointSettings(Aws::Vector&& value) { m_endpointSettings = std::move(value); } /** *

Descriptions of the endpoint settings available for your source or target * database engine.

*/ inline DescribeEndpointSettingsResult& WithEndpointSettings(const Aws::Vector& value) { SetEndpointSettings(value); return *this;} /** *

Descriptions of the endpoint settings available for your source or target * database engine.

*/ inline DescribeEndpointSettingsResult& WithEndpointSettings(Aws::Vector&& value) { SetEndpointSettings(std::move(value)); return *this;} /** *

Descriptions of the endpoint settings available for your source or target * database engine.

*/ inline DescribeEndpointSettingsResult& AddEndpointSettings(const EndpointSetting& value) { m_endpointSettings.push_back(value); return *this; } /** *

Descriptions of the endpoint settings available for your source or target * database engine.

*/ inline DescribeEndpointSettingsResult& AddEndpointSettings(EndpointSetting&& value) { m_endpointSettings.push_back(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 DescribeEndpointSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeEndpointSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeEndpointSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_marker; Aws::Vector m_endpointSettings; Aws::String m_requestId; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws