/** * 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 { /** *

See Also:

AWS * API Reference

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

The order-able replication instances available.

*/ inline const Aws::Vector& GetOrderableReplicationInstances() const{ return m_orderableReplicationInstances; } /** *

The order-able replication instances available.

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

The order-able replication instances available.

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

The order-able replication instances available.

*/ inline DescribeOrderableReplicationInstancesResult& WithOrderableReplicationInstances(const Aws::Vector& value) { SetOrderableReplicationInstances(value); return *this;} /** *

The order-able replication instances available.

*/ inline DescribeOrderableReplicationInstancesResult& WithOrderableReplicationInstances(Aws::Vector&& value) { SetOrderableReplicationInstances(std::move(value)); return *this;} /** *

The order-able replication instances available.

*/ inline DescribeOrderableReplicationInstancesResult& AddOrderableReplicationInstances(const OrderableReplicationInstance& value) { m_orderableReplicationInstances.push_back(value); return *this; } /** *

The order-able replication instances available.

*/ inline DescribeOrderableReplicationInstancesResult& AddOrderableReplicationInstances(OrderableReplicationInstance&& value) { m_orderableReplicationInstances.push_back(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 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 DescribeOrderableReplicationInstancesResult& 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 DescribeOrderableReplicationInstancesResult& 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 DescribeOrderableReplicationInstancesResult& WithMarker(const char* value) { SetMarker(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 DescribeOrderableReplicationInstancesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeOrderableReplicationInstancesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeOrderableReplicationInstancesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_orderableReplicationInstances; Aws::String m_marker; Aws::String m_requestId; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws