/** * 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 DescribeReplicationTasksResult { public: AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationTasksResult(); AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationTasksResult(const Aws::AmazonWebServiceResult& result); AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationTasksResult& 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 DescribeReplicationTasksResult& 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 DescribeReplicationTasksResult& 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 DescribeReplicationTasksResult& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

A description of the replication tasks.

*/ inline const Aws::Vector& GetReplicationTasks() const{ return m_replicationTasks; } /** *

A description of the replication tasks.

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

A description of the replication tasks.

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

A description of the replication tasks.

*/ inline DescribeReplicationTasksResult& WithReplicationTasks(const Aws::Vector& value) { SetReplicationTasks(value); return *this;} /** *

A description of the replication tasks.

*/ inline DescribeReplicationTasksResult& WithReplicationTasks(Aws::Vector&& value) { SetReplicationTasks(std::move(value)); return *this;} /** *

A description of the replication tasks.

*/ inline DescribeReplicationTasksResult& AddReplicationTasks(const ReplicationTask& value) { m_replicationTasks.push_back(value); return *this; } /** *

A description of the replication tasks.

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