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

The task assessment report in JSON format.

See Also:

AWS * API Reference

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

The replication task identifier of the task on which the task assessment was * run.

*/ inline const Aws::String& GetReplicationTaskIdentifier() const{ return m_replicationTaskIdentifier; } /** *

The replication task identifier of the task on which the task assessment was * run.

*/ inline bool ReplicationTaskIdentifierHasBeenSet() const { return m_replicationTaskIdentifierHasBeenSet; } /** *

The replication task identifier of the task on which the task assessment was * run.

*/ inline void SetReplicationTaskIdentifier(const Aws::String& value) { m_replicationTaskIdentifierHasBeenSet = true; m_replicationTaskIdentifier = value; } /** *

The replication task identifier of the task on which the task assessment was * run.

*/ inline void SetReplicationTaskIdentifier(Aws::String&& value) { m_replicationTaskIdentifierHasBeenSet = true; m_replicationTaskIdentifier = std::move(value); } /** *

The replication task identifier of the task on which the task assessment was * run.

*/ inline void SetReplicationTaskIdentifier(const char* value) { m_replicationTaskIdentifierHasBeenSet = true; m_replicationTaskIdentifier.assign(value); } /** *

The replication task identifier of the task on which the task assessment was * run.

*/ inline ReplicationTaskAssessmentResult& WithReplicationTaskIdentifier(const Aws::String& value) { SetReplicationTaskIdentifier(value); return *this;} /** *

The replication task identifier of the task on which the task assessment was * run.

*/ inline ReplicationTaskAssessmentResult& WithReplicationTaskIdentifier(Aws::String&& value) { SetReplicationTaskIdentifier(std::move(value)); return *this;} /** *

The replication task identifier of the task on which the task assessment was * run.

*/ inline ReplicationTaskAssessmentResult& WithReplicationTaskIdentifier(const char* value) { SetReplicationTaskIdentifier(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 ReplicationTaskAssessmentResult& WithReplicationTaskArn(const Aws::String& value) { SetReplicationTaskArn(value); return *this;} /** *

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

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

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

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

The date the task assessment was completed.

*/ inline const Aws::Utils::DateTime& GetReplicationTaskLastAssessmentDate() const{ return m_replicationTaskLastAssessmentDate; } /** *

The date the task assessment was completed.

*/ inline bool ReplicationTaskLastAssessmentDateHasBeenSet() const { return m_replicationTaskLastAssessmentDateHasBeenSet; } /** *

The date the task assessment was completed.

*/ inline void SetReplicationTaskLastAssessmentDate(const Aws::Utils::DateTime& value) { m_replicationTaskLastAssessmentDateHasBeenSet = true; m_replicationTaskLastAssessmentDate = value; } /** *

The date the task assessment was completed.

*/ inline void SetReplicationTaskLastAssessmentDate(Aws::Utils::DateTime&& value) { m_replicationTaskLastAssessmentDateHasBeenSet = true; m_replicationTaskLastAssessmentDate = std::move(value); } /** *

The date the task assessment was completed.

*/ inline ReplicationTaskAssessmentResult& WithReplicationTaskLastAssessmentDate(const Aws::Utils::DateTime& value) { SetReplicationTaskLastAssessmentDate(value); return *this;} /** *

The date the task assessment was completed.

*/ inline ReplicationTaskAssessmentResult& WithReplicationTaskLastAssessmentDate(Aws::Utils::DateTime&& value) { SetReplicationTaskLastAssessmentDate(std::move(value)); return *this;} /** *

The status of the task assessment.

*/ inline const Aws::String& GetAssessmentStatus() const{ return m_assessmentStatus; } /** *

The status of the task assessment.

*/ inline bool AssessmentStatusHasBeenSet() const { return m_assessmentStatusHasBeenSet; } /** *

The status of the task assessment.

*/ inline void SetAssessmentStatus(const Aws::String& value) { m_assessmentStatusHasBeenSet = true; m_assessmentStatus = value; } /** *

The status of the task assessment.

*/ inline void SetAssessmentStatus(Aws::String&& value) { m_assessmentStatusHasBeenSet = true; m_assessmentStatus = std::move(value); } /** *

The status of the task assessment.

*/ inline void SetAssessmentStatus(const char* value) { m_assessmentStatusHasBeenSet = true; m_assessmentStatus.assign(value); } /** *

The status of the task assessment.

*/ inline ReplicationTaskAssessmentResult& WithAssessmentStatus(const Aws::String& value) { SetAssessmentStatus(value); return *this;} /** *

The status of the task assessment.

*/ inline ReplicationTaskAssessmentResult& WithAssessmentStatus(Aws::String&& value) { SetAssessmentStatus(std::move(value)); return *this;} /** *

The status of the task assessment.

*/ inline ReplicationTaskAssessmentResult& WithAssessmentStatus(const char* value) { SetAssessmentStatus(value); return *this;} /** *

The file containing the results of the task assessment.

*/ inline const Aws::String& GetAssessmentResultsFile() const{ return m_assessmentResultsFile; } /** *

The file containing the results of the task assessment.

*/ inline bool AssessmentResultsFileHasBeenSet() const { return m_assessmentResultsFileHasBeenSet; } /** *

The file containing the results of the task assessment.

*/ inline void SetAssessmentResultsFile(const Aws::String& value) { m_assessmentResultsFileHasBeenSet = true; m_assessmentResultsFile = value; } /** *

The file containing the results of the task assessment.

*/ inline void SetAssessmentResultsFile(Aws::String&& value) { m_assessmentResultsFileHasBeenSet = true; m_assessmentResultsFile = std::move(value); } /** *

The file containing the results of the task assessment.

*/ inline void SetAssessmentResultsFile(const char* value) { m_assessmentResultsFileHasBeenSet = true; m_assessmentResultsFile.assign(value); } /** *

The file containing the results of the task assessment.

*/ inline ReplicationTaskAssessmentResult& WithAssessmentResultsFile(const Aws::String& value) { SetAssessmentResultsFile(value); return *this;} /** *

The file containing the results of the task assessment.

*/ inline ReplicationTaskAssessmentResult& WithAssessmentResultsFile(Aws::String&& value) { SetAssessmentResultsFile(std::move(value)); return *this;} /** *

The file containing the results of the task assessment.

*/ inline ReplicationTaskAssessmentResult& WithAssessmentResultsFile(const char* value) { SetAssessmentResultsFile(value); return *this;} /** *

The task assessment results in JSON format.

The response object only * contains this field if you provide * DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the * request.

*/ inline const Aws::String& GetAssessmentResults() const{ return m_assessmentResults; } /** *

The task assessment results in JSON format.

The response object only * contains this field if you provide * DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the * request.

*/ inline bool AssessmentResultsHasBeenSet() const { return m_assessmentResultsHasBeenSet; } /** *

The task assessment results in JSON format.

The response object only * contains this field if you provide * DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the * request.

*/ inline void SetAssessmentResults(const Aws::String& value) { m_assessmentResultsHasBeenSet = true; m_assessmentResults = value; } /** *

The task assessment results in JSON format.

The response object only * contains this field if you provide * DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the * request.

*/ inline void SetAssessmentResults(Aws::String&& value) { m_assessmentResultsHasBeenSet = true; m_assessmentResults = std::move(value); } /** *

The task assessment results in JSON format.

The response object only * contains this field if you provide * DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the * request.

*/ inline void SetAssessmentResults(const char* value) { m_assessmentResultsHasBeenSet = true; m_assessmentResults.assign(value); } /** *

The task assessment results in JSON format.

The response object only * contains this field if you provide * DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the * request.

*/ inline ReplicationTaskAssessmentResult& WithAssessmentResults(const Aws::String& value) { SetAssessmentResults(value); return *this;} /** *

The task assessment results in JSON format.

The response object only * contains this field if you provide * DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the * request.

*/ inline ReplicationTaskAssessmentResult& WithAssessmentResults(Aws::String&& value) { SetAssessmentResults(std::move(value)); return *this;} /** *

The task assessment results in JSON format.

The response object only * contains this field if you provide * DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the * request.

*/ inline ReplicationTaskAssessmentResult& WithAssessmentResults(const char* value) { SetAssessmentResults(value); return *this;} /** *

The URL of the S3 object containing the task assessment results.

The * response object only contains this field if you provide * DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the * request.

*/ inline const Aws::String& GetS3ObjectUrl() const{ return m_s3ObjectUrl; } /** *

The URL of the S3 object containing the task assessment results.

The * response object only contains this field if you provide * DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the * request.

*/ inline bool S3ObjectUrlHasBeenSet() const { return m_s3ObjectUrlHasBeenSet; } /** *

The URL of the S3 object containing the task assessment results.

The * response object only contains this field if you provide * DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the * request.

*/ inline void SetS3ObjectUrl(const Aws::String& value) { m_s3ObjectUrlHasBeenSet = true; m_s3ObjectUrl = value; } /** *

The URL of the S3 object containing the task assessment results.

The * response object only contains this field if you provide * DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the * request.

*/ inline void SetS3ObjectUrl(Aws::String&& value) { m_s3ObjectUrlHasBeenSet = true; m_s3ObjectUrl = std::move(value); } /** *

The URL of the S3 object containing the task assessment results.

The * response object only contains this field if you provide * DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the * request.

*/ inline void SetS3ObjectUrl(const char* value) { m_s3ObjectUrlHasBeenSet = true; m_s3ObjectUrl.assign(value); } /** *

The URL of the S3 object containing the task assessment results.

The * response object only contains this field if you provide * DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the * request.

*/ inline ReplicationTaskAssessmentResult& WithS3ObjectUrl(const Aws::String& value) { SetS3ObjectUrl(value); return *this;} /** *

The URL of the S3 object containing the task assessment results.

The * response object only contains this field if you provide * DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the * request.

*/ inline ReplicationTaskAssessmentResult& WithS3ObjectUrl(Aws::String&& value) { SetS3ObjectUrl(std::move(value)); return *this;} /** *

The URL of the S3 object containing the task assessment results.

The * response object only contains this field if you provide * DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn in the * request.

*/ inline ReplicationTaskAssessmentResult& WithS3ObjectUrl(const char* value) { SetS3ObjectUrl(value); return *this;} private: Aws::String m_replicationTaskIdentifier; bool m_replicationTaskIdentifierHasBeenSet = false; Aws::String m_replicationTaskArn; bool m_replicationTaskArnHasBeenSet = false; Aws::Utils::DateTime m_replicationTaskLastAssessmentDate; bool m_replicationTaskLastAssessmentDateHasBeenSet = false; Aws::String m_assessmentStatus; bool m_assessmentStatusHasBeenSet = false; Aws::String m_assessmentResultsFile; bool m_assessmentResultsFileHasBeenSet = false; Aws::String m_assessmentResults; bool m_assessmentResultsHasBeenSet = false; Aws::String m_s3ObjectUrl; bool m_s3ObjectUrlHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws