/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DatabaseMigrationService { namespace Model { /** *

Contains metadata for a replication instance task log.

See * Also:

AWS * API Reference

*/ class AWS_DATABASEMIGRATIONSERVICE_API ReplicationInstanceTaskLog { public: ReplicationInstanceTaskLog(); ReplicationInstanceTaskLog(Aws::Utils::Json::JsonView jsonValue); ReplicationInstanceTaskLog& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the replication task.

*/ inline const Aws::String& GetReplicationTaskName() const{ return m_replicationTaskName; } /** *

The name of the replication task.

*/ inline bool ReplicationTaskNameHasBeenSet() const { return m_replicationTaskNameHasBeenSet; } /** *

The name of the replication task.

*/ inline void SetReplicationTaskName(const Aws::String& value) { m_replicationTaskNameHasBeenSet = true; m_replicationTaskName = value; } /** *

The name of the replication task.

*/ inline void SetReplicationTaskName(Aws::String&& value) { m_replicationTaskNameHasBeenSet = true; m_replicationTaskName = std::move(value); } /** *

The name of the replication task.

*/ inline void SetReplicationTaskName(const char* value) { m_replicationTaskNameHasBeenSet = true; m_replicationTaskName.assign(value); } /** *

The name of the replication task.

*/ inline ReplicationInstanceTaskLog& WithReplicationTaskName(const Aws::String& value) { SetReplicationTaskName(value); return *this;} /** *

The name of the replication task.

*/ inline ReplicationInstanceTaskLog& WithReplicationTaskName(Aws::String&& value) { SetReplicationTaskName(std::move(value)); return *this;} /** *

The name of the replication task.

*/ inline ReplicationInstanceTaskLog& WithReplicationTaskName(const char* value) { SetReplicationTaskName(value); return *this;} /** *

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

*/ inline const Aws::String& GetReplicationTaskArn() const{ return m_replicationTaskArn; } /** *

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

*/ inline bool ReplicationTaskArnHasBeenSet() const { return m_replicationTaskArnHasBeenSet; } /** *

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

*/ inline void SetReplicationTaskArn(const Aws::String& value) { m_replicationTaskArnHasBeenSet = true; m_replicationTaskArn = value; } /** *

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

*/ inline void SetReplicationTaskArn(Aws::String&& value) { m_replicationTaskArnHasBeenSet = true; m_replicationTaskArn = std::move(value); } /** *

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

*/ inline void SetReplicationTaskArn(const char* value) { m_replicationTaskArnHasBeenSet = true; m_replicationTaskArn.assign(value); } /** *

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

*/ inline ReplicationInstanceTaskLog& WithReplicationTaskArn(const Aws::String& value) { SetReplicationTaskArn(value); return *this;} /** *

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

*/ inline ReplicationInstanceTaskLog& WithReplicationTaskArn(Aws::String&& value) { SetReplicationTaskArn(std::move(value)); return *this;} /** *

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

*/ inline ReplicationInstanceTaskLog& WithReplicationTaskArn(const char* value) { SetReplicationTaskArn(value); return *this;} /** *

The size, in bytes, of the replication task log.

*/ inline long long GetReplicationInstanceTaskLogSize() const{ return m_replicationInstanceTaskLogSize; } /** *

The size, in bytes, of the replication task log.

*/ inline bool ReplicationInstanceTaskLogSizeHasBeenSet() const { return m_replicationInstanceTaskLogSizeHasBeenSet; } /** *

The size, in bytes, of the replication task log.

*/ inline void SetReplicationInstanceTaskLogSize(long long value) { m_replicationInstanceTaskLogSizeHasBeenSet = true; m_replicationInstanceTaskLogSize = value; } /** *

The size, in bytes, of the replication task log.

*/ inline ReplicationInstanceTaskLog& WithReplicationInstanceTaskLogSize(long long value) { SetReplicationInstanceTaskLogSize(value); return *this;} private: Aws::String m_replicationTaskName; bool m_replicationTaskNameHasBeenSet; Aws::String m_replicationTaskArn; bool m_replicationTaskArnHasBeenSet; long long m_replicationInstanceTaskLogSize; bool m_replicationInstanceTaskLogSizeHasBeenSet; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws