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

The Amazon Resource Name (ARN) of the replication instance.

*/ inline const Aws::String& GetReplicationInstanceArn() const{ return m_replicationInstanceArn; } /** *

The Amazon Resource Name (ARN) of the replication instance.

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

The Amazon Resource Name (ARN) of the replication instance.

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

The Amazon Resource Name (ARN) of the replication instance.

*/ inline void SetReplicationInstanceArn(const char* value) { m_replicationInstanceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the replication instance.

*/ inline DescribeReplicationInstanceTaskLogsResult& WithReplicationInstanceArn(const Aws::String& value) { SetReplicationInstanceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the replication instance.

*/ inline DescribeReplicationInstanceTaskLogsResult& WithReplicationInstanceArn(Aws::String&& value) { SetReplicationInstanceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the replication instance.

*/ inline DescribeReplicationInstanceTaskLogsResult& WithReplicationInstanceArn(const char* value) { SetReplicationInstanceArn(value); return *this;} /** *

An array of replication task log metadata. Each member of the array contains * the replication task name, ARN, and task log size (in bytes).

*/ inline const Aws::Vector& GetReplicationInstanceTaskLogs() const{ return m_replicationInstanceTaskLogs; } /** *

An array of replication task log metadata. Each member of the array contains * the replication task name, ARN, and task log size (in bytes).

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

An array of replication task log metadata. Each member of the array contains * the replication task name, ARN, and task log size (in bytes).

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

An array of replication task log metadata. Each member of the array contains * the replication task name, ARN, and task log size (in bytes).

*/ inline DescribeReplicationInstanceTaskLogsResult& WithReplicationInstanceTaskLogs(const Aws::Vector& value) { SetReplicationInstanceTaskLogs(value); return *this;} /** *

An array of replication task log metadata. Each member of the array contains * the replication task name, ARN, and task log size (in bytes).

*/ inline DescribeReplicationInstanceTaskLogsResult& WithReplicationInstanceTaskLogs(Aws::Vector&& value) { SetReplicationInstanceTaskLogs(std::move(value)); return *this;} /** *

An array of replication task log metadata. Each member of the array contains * the replication task name, ARN, and task log size (in bytes).

*/ inline DescribeReplicationInstanceTaskLogsResult& AddReplicationInstanceTaskLogs(const ReplicationInstanceTaskLog& value) { m_replicationInstanceTaskLogs.push_back(value); return *this; } /** *

An array of replication task log metadata. Each member of the array contains * the replication task name, ARN, and task log size (in bytes).

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