/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DatabaseMigrationService { namespace Model { /** *

Provides information that describes a premigration assessment run that you * have started using the StartReplicationTaskAssessmentRun * operation.

Some of the information appears based on other operations that * can return the ReplicationTaskAssessmentRun object.

See * Also:

AWS * API Reference

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

Amazon Resource Name (ARN) of this assessment run.

*/ inline const Aws::String& GetReplicationTaskAssessmentRunArn() const{ return m_replicationTaskAssessmentRunArn; } /** *

Amazon Resource Name (ARN) of this assessment run.

*/ inline bool ReplicationTaskAssessmentRunArnHasBeenSet() const { return m_replicationTaskAssessmentRunArnHasBeenSet; } /** *

Amazon Resource Name (ARN) of this assessment run.

*/ inline void SetReplicationTaskAssessmentRunArn(const Aws::String& value) { m_replicationTaskAssessmentRunArnHasBeenSet = true; m_replicationTaskAssessmentRunArn = value; } /** *

Amazon Resource Name (ARN) of this assessment run.

*/ inline void SetReplicationTaskAssessmentRunArn(Aws::String&& value) { m_replicationTaskAssessmentRunArnHasBeenSet = true; m_replicationTaskAssessmentRunArn = std::move(value); } /** *

Amazon Resource Name (ARN) of this assessment run.

*/ inline void SetReplicationTaskAssessmentRunArn(const char* value) { m_replicationTaskAssessmentRunArnHasBeenSet = true; m_replicationTaskAssessmentRunArn.assign(value); } /** *

Amazon Resource Name (ARN) of this assessment run.

*/ inline ReplicationTaskAssessmentRun& WithReplicationTaskAssessmentRunArn(const Aws::String& value) { SetReplicationTaskAssessmentRunArn(value); return *this;} /** *

Amazon Resource Name (ARN) of this assessment run.

*/ inline ReplicationTaskAssessmentRun& WithReplicationTaskAssessmentRunArn(Aws::String&& value) { SetReplicationTaskAssessmentRunArn(std::move(value)); return *this;} /** *

Amazon Resource Name (ARN) of this assessment run.

*/ inline ReplicationTaskAssessmentRun& WithReplicationTaskAssessmentRunArn(const char* value) { SetReplicationTaskAssessmentRunArn(value); return *this;} /** *

ARN of the migration task associated with this premigration assessment * run.

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

ARN of the migration task associated with this premigration assessment * run.

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

ARN of the migration task associated with this premigration assessment * run.

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

ARN of the migration task associated with this premigration assessment * run.

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

ARN of the migration task associated with this premigration assessment * run.

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

ARN of the migration task associated with this premigration assessment * run.

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

ARN of the migration task associated with this premigration assessment * run.

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

ARN of the migration task associated with this premigration assessment * run.

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

Assessment run status.

This status can have one of the following * values:

  • "cancelling" – The assessment run was * canceled by the CancelReplicationTaskAssessmentRun operation.

    *
  • "deleting" – The assessment run was deleted by the * DeleteReplicationTaskAssessmentRun operation.

  • * "failed" – At least one individual assessment completed with a * failed status.

  • "error-provisioning" * – An internal error occurred while resources were provisioned (during * provisioning status).

  • * "error-executing" – An internal error occurred while individual * assessments ran (during running status).

  • * "invalid state" – The assessment run is in an unknown state.

    *
  • "passed" – All individual assessments have * completed, and none has a failed status.

  • * "provisioning" – Resources required to run individual assessments * are being provisioned.

  • "running" – Individual * assessments are being run.

  • "starting" – The * assessment run is starting, but resources are not yet being provisioned for * individual assessments.

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

Assessment run status.

This status can have one of the following * values:

  • "cancelling" – The assessment run was * canceled by the CancelReplicationTaskAssessmentRun operation.

    *
  • "deleting" – The assessment run was deleted by the * DeleteReplicationTaskAssessmentRun operation.

  • * "failed" – At least one individual assessment completed with a * failed status.

  • "error-provisioning" * – An internal error occurred while resources were provisioned (during * provisioning status).

  • * "error-executing" – An internal error occurred while individual * assessments ran (during running status).

  • * "invalid state" – The assessment run is in an unknown state.

    *
  • "passed" – All individual assessments have * completed, and none has a failed status.

  • * "provisioning" – Resources required to run individual assessments * are being provisioned.

  • "running" – Individual * assessments are being run.

  • "starting" – The * assessment run is starting, but resources are not yet being provisioned for * individual assessments.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Assessment run status.

This status can have one of the following * values:

  • "cancelling" – The assessment run was * canceled by the CancelReplicationTaskAssessmentRun operation.

    *
  • "deleting" – The assessment run was deleted by the * DeleteReplicationTaskAssessmentRun operation.

  • * "failed" – At least one individual assessment completed with a * failed status.

  • "error-provisioning" * – An internal error occurred while resources were provisioned (during * provisioning status).

  • * "error-executing" – An internal error occurred while individual * assessments ran (during running status).

  • * "invalid state" – The assessment run is in an unknown state.

    *
  • "passed" – All individual assessments have * completed, and none has a failed status.

  • * "provisioning" – Resources required to run individual assessments * are being provisioned.

  • "running" – Individual * assessments are being run.

  • "starting" – The * assessment run is starting, but resources are not yet being provisioned for * individual assessments.

*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Assessment run status.

This status can have one of the following * values:

  • "cancelling" – The assessment run was * canceled by the CancelReplicationTaskAssessmentRun operation.

    *
  • "deleting" – The assessment run was deleted by the * DeleteReplicationTaskAssessmentRun operation.

  • * "failed" – At least one individual assessment completed with a * failed status.

  • "error-provisioning" * – An internal error occurred while resources were provisioned (during * provisioning status).

  • * "error-executing" – An internal error occurred while individual * assessments ran (during running status).

  • * "invalid state" – The assessment run is in an unknown state.

    *
  • "passed" – All individual assessments have * completed, and none has a failed status.

  • * "provisioning" – Resources required to run individual assessments * are being provisioned.

  • "running" – Individual * assessments are being run.

  • "starting" – The * assessment run is starting, but resources are not yet being provisioned for * individual assessments.

*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Assessment run status.

This status can have one of the following * values:

  • "cancelling" – The assessment run was * canceled by the CancelReplicationTaskAssessmentRun operation.

    *
  • "deleting" – The assessment run was deleted by the * DeleteReplicationTaskAssessmentRun operation.

  • * "failed" – At least one individual assessment completed with a * failed status.

  • "error-provisioning" * – An internal error occurred while resources were provisioned (during * provisioning status).

  • * "error-executing" – An internal error occurred while individual * assessments ran (during running status).

  • * "invalid state" – The assessment run is in an unknown state.

    *
  • "passed" – All individual assessments have * completed, and none has a failed status.

  • * "provisioning" – Resources required to run individual assessments * are being provisioned.

  • "running" – Individual * assessments are being run.

  • "starting" – The * assessment run is starting, but resources are not yet being provisioned for * individual assessments.

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

Assessment run status.

This status can have one of the following * values:

  • "cancelling" – The assessment run was * canceled by the CancelReplicationTaskAssessmentRun operation.

    *
  • "deleting" – The assessment run was deleted by the * DeleteReplicationTaskAssessmentRun operation.

  • * "failed" – At least one individual assessment completed with a * failed status.

  • "error-provisioning" * – An internal error occurred while resources were provisioned (during * provisioning status).

  • * "error-executing" – An internal error occurred while individual * assessments ran (during running status).

  • * "invalid state" – The assessment run is in an unknown state.

    *
  • "passed" – All individual assessments have * completed, and none has a failed status.

  • * "provisioning" – Resources required to run individual assessments * are being provisioned.

  • "running" – Individual * assessments are being run.

  • "starting" – The * assessment run is starting, but resources are not yet being provisioned for * individual assessments.

*/ inline ReplicationTaskAssessmentRun& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

Assessment run status.

This status can have one of the following * values:

  • "cancelling" – The assessment run was * canceled by the CancelReplicationTaskAssessmentRun operation.

    *
  • "deleting" – The assessment run was deleted by the * DeleteReplicationTaskAssessmentRun operation.

  • * "failed" – At least one individual assessment completed with a * failed status.

  • "error-provisioning" * – An internal error occurred while resources were provisioned (during * provisioning status).

  • * "error-executing" – An internal error occurred while individual * assessments ran (during running status).

  • * "invalid state" – The assessment run is in an unknown state.

    *
  • "passed" – All individual assessments have * completed, and none has a failed status.

  • * "provisioning" – Resources required to run individual assessments * are being provisioned.

  • "running" – Individual * assessments are being run.

  • "starting" – The * assessment run is starting, but resources are not yet being provisioned for * individual assessments.

*/ inline ReplicationTaskAssessmentRun& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

Assessment run status.

This status can have one of the following * values:

  • "cancelling" – The assessment run was * canceled by the CancelReplicationTaskAssessmentRun operation.

    *
  • "deleting" – The assessment run was deleted by the * DeleteReplicationTaskAssessmentRun operation.

  • * "failed" – At least one individual assessment completed with a * failed status.

  • "error-provisioning" * – An internal error occurred while resources were provisioned (during * provisioning status).

  • * "error-executing" – An internal error occurred while individual * assessments ran (during running status).

  • * "invalid state" – The assessment run is in an unknown state.

    *
  • "passed" – All individual assessments have * completed, and none has a failed status.

  • * "provisioning" – Resources required to run individual assessments * are being provisioned.

  • "running" – Individual * assessments are being run.

  • "starting" – The * assessment run is starting, but resources are not yet being provisioned for * individual assessments.

*/ inline ReplicationTaskAssessmentRun& WithStatus(const char* value) { SetStatus(value); return *this;} /** *

Date on which the assessment run was created using the * StartReplicationTaskAssessmentRun operation.

*/ inline const Aws::Utils::DateTime& GetReplicationTaskAssessmentRunCreationDate() const{ return m_replicationTaskAssessmentRunCreationDate; } /** *

Date on which the assessment run was created using the * StartReplicationTaskAssessmentRun operation.

*/ inline bool ReplicationTaskAssessmentRunCreationDateHasBeenSet() const { return m_replicationTaskAssessmentRunCreationDateHasBeenSet; } /** *

Date on which the assessment run was created using the * StartReplicationTaskAssessmentRun operation.

*/ inline void SetReplicationTaskAssessmentRunCreationDate(const Aws::Utils::DateTime& value) { m_replicationTaskAssessmentRunCreationDateHasBeenSet = true; m_replicationTaskAssessmentRunCreationDate = value; } /** *

Date on which the assessment run was created using the * StartReplicationTaskAssessmentRun operation.

*/ inline void SetReplicationTaskAssessmentRunCreationDate(Aws::Utils::DateTime&& value) { m_replicationTaskAssessmentRunCreationDateHasBeenSet = true; m_replicationTaskAssessmentRunCreationDate = std::move(value); } /** *

Date on which the assessment run was created using the * StartReplicationTaskAssessmentRun operation.

*/ inline ReplicationTaskAssessmentRun& WithReplicationTaskAssessmentRunCreationDate(const Aws::Utils::DateTime& value) { SetReplicationTaskAssessmentRunCreationDate(value); return *this;} /** *

Date on which the assessment run was created using the * StartReplicationTaskAssessmentRun operation.

*/ inline ReplicationTaskAssessmentRun& WithReplicationTaskAssessmentRunCreationDate(Aws::Utils::DateTime&& value) { SetReplicationTaskAssessmentRunCreationDate(std::move(value)); return *this;} /** *

Indication of the completion progress for the individual assessments * specified to run.

*/ inline const ReplicationTaskAssessmentRunProgress& GetAssessmentProgress() const{ return m_assessmentProgress; } /** *

Indication of the completion progress for the individual assessments * specified to run.

*/ inline bool AssessmentProgressHasBeenSet() const { return m_assessmentProgressHasBeenSet; } /** *

Indication of the completion progress for the individual assessments * specified to run.

*/ inline void SetAssessmentProgress(const ReplicationTaskAssessmentRunProgress& value) { m_assessmentProgressHasBeenSet = true; m_assessmentProgress = value; } /** *

Indication of the completion progress for the individual assessments * specified to run.

*/ inline void SetAssessmentProgress(ReplicationTaskAssessmentRunProgress&& value) { m_assessmentProgressHasBeenSet = true; m_assessmentProgress = std::move(value); } /** *

Indication of the completion progress for the individual assessments * specified to run.

*/ inline ReplicationTaskAssessmentRun& WithAssessmentProgress(const ReplicationTaskAssessmentRunProgress& value) { SetAssessmentProgress(value); return *this;} /** *

Indication of the completion progress for the individual assessments * specified to run.

*/ inline ReplicationTaskAssessmentRun& WithAssessmentProgress(ReplicationTaskAssessmentRunProgress&& value) { SetAssessmentProgress(std::move(value)); return *this;} /** *

Last message generated by an individual assessment failure.

*/ inline const Aws::String& GetLastFailureMessage() const{ return m_lastFailureMessage; } /** *

Last message generated by an individual assessment failure.

*/ inline bool LastFailureMessageHasBeenSet() const { return m_lastFailureMessageHasBeenSet; } /** *

Last message generated by an individual assessment failure.

*/ inline void SetLastFailureMessage(const Aws::String& value) { m_lastFailureMessageHasBeenSet = true; m_lastFailureMessage = value; } /** *

Last message generated by an individual assessment failure.

*/ inline void SetLastFailureMessage(Aws::String&& value) { m_lastFailureMessageHasBeenSet = true; m_lastFailureMessage = std::move(value); } /** *

Last message generated by an individual assessment failure.

*/ inline void SetLastFailureMessage(const char* value) { m_lastFailureMessageHasBeenSet = true; m_lastFailureMessage.assign(value); } /** *

Last message generated by an individual assessment failure.

*/ inline ReplicationTaskAssessmentRun& WithLastFailureMessage(const Aws::String& value) { SetLastFailureMessage(value); return *this;} /** *

Last message generated by an individual assessment failure.

*/ inline ReplicationTaskAssessmentRun& WithLastFailureMessage(Aws::String&& value) { SetLastFailureMessage(std::move(value)); return *this;} /** *

Last message generated by an individual assessment failure.

*/ inline ReplicationTaskAssessmentRun& WithLastFailureMessage(const char* value) { SetLastFailureMessage(value); return *this;} /** *

ARN of the service role used to start the assessment run using the * StartReplicationTaskAssessmentRun operation. The role must allow * the iam:PassRole action.

*/ inline const Aws::String& GetServiceAccessRoleArn() const{ return m_serviceAccessRoleArn; } /** *

ARN of the service role used to start the assessment run using the * StartReplicationTaskAssessmentRun operation. The role must allow * the iam:PassRole action.

*/ inline bool ServiceAccessRoleArnHasBeenSet() const { return m_serviceAccessRoleArnHasBeenSet; } /** *

ARN of the service role used to start the assessment run using the * StartReplicationTaskAssessmentRun operation. The role must allow * the iam:PassRole action.

*/ inline void SetServiceAccessRoleArn(const Aws::String& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = value; } /** *

ARN of the service role used to start the assessment run using the * StartReplicationTaskAssessmentRun operation. The role must allow * the iam:PassRole action.

*/ inline void SetServiceAccessRoleArn(Aws::String&& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = std::move(value); } /** *

ARN of the service role used to start the assessment run using the * StartReplicationTaskAssessmentRun operation. The role must allow * the iam:PassRole action.

*/ inline void SetServiceAccessRoleArn(const char* value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn.assign(value); } /** *

ARN of the service role used to start the assessment run using the * StartReplicationTaskAssessmentRun operation. The role must allow * the iam:PassRole action.

*/ inline ReplicationTaskAssessmentRun& WithServiceAccessRoleArn(const Aws::String& value) { SetServiceAccessRoleArn(value); return *this;} /** *

ARN of the service role used to start the assessment run using the * StartReplicationTaskAssessmentRun operation. The role must allow * the iam:PassRole action.

*/ inline ReplicationTaskAssessmentRun& WithServiceAccessRoleArn(Aws::String&& value) { SetServiceAccessRoleArn(std::move(value)); return *this;} /** *

ARN of the service role used to start the assessment run using the * StartReplicationTaskAssessmentRun operation. The role must allow * the iam:PassRole action.

*/ inline ReplicationTaskAssessmentRun& WithServiceAccessRoleArn(const char* value) { SetServiceAccessRoleArn(value); return *this;} /** *

Amazon S3 bucket where DMS stores the results of this assessment run.

*/ inline const Aws::String& GetResultLocationBucket() const{ return m_resultLocationBucket; } /** *

Amazon S3 bucket where DMS stores the results of this assessment run.

*/ inline bool ResultLocationBucketHasBeenSet() const { return m_resultLocationBucketHasBeenSet; } /** *

Amazon S3 bucket where DMS stores the results of this assessment run.

*/ inline void SetResultLocationBucket(const Aws::String& value) { m_resultLocationBucketHasBeenSet = true; m_resultLocationBucket = value; } /** *

Amazon S3 bucket where DMS stores the results of this assessment run.

*/ inline void SetResultLocationBucket(Aws::String&& value) { m_resultLocationBucketHasBeenSet = true; m_resultLocationBucket = std::move(value); } /** *

Amazon S3 bucket where DMS stores the results of this assessment run.

*/ inline void SetResultLocationBucket(const char* value) { m_resultLocationBucketHasBeenSet = true; m_resultLocationBucket.assign(value); } /** *

Amazon S3 bucket where DMS stores the results of this assessment run.

*/ inline ReplicationTaskAssessmentRun& WithResultLocationBucket(const Aws::String& value) { SetResultLocationBucket(value); return *this;} /** *

Amazon S3 bucket where DMS stores the results of this assessment run.

*/ inline ReplicationTaskAssessmentRun& WithResultLocationBucket(Aws::String&& value) { SetResultLocationBucket(std::move(value)); return *this;} /** *

Amazon S3 bucket where DMS stores the results of this assessment run.

*/ inline ReplicationTaskAssessmentRun& WithResultLocationBucket(const char* value) { SetResultLocationBucket(value); return *this;} /** *

Folder in an Amazon S3 bucket where DMS stores the results of this assessment * run.

*/ inline const Aws::String& GetResultLocationFolder() const{ return m_resultLocationFolder; } /** *

Folder in an Amazon S3 bucket where DMS stores the results of this assessment * run.

*/ inline bool ResultLocationFolderHasBeenSet() const { return m_resultLocationFolderHasBeenSet; } /** *

Folder in an Amazon S3 bucket where DMS stores the results of this assessment * run.

*/ inline void SetResultLocationFolder(const Aws::String& value) { m_resultLocationFolderHasBeenSet = true; m_resultLocationFolder = value; } /** *

Folder in an Amazon S3 bucket where DMS stores the results of this assessment * run.

*/ inline void SetResultLocationFolder(Aws::String&& value) { m_resultLocationFolderHasBeenSet = true; m_resultLocationFolder = std::move(value); } /** *

Folder in an Amazon S3 bucket where DMS stores the results of this assessment * run.

*/ inline void SetResultLocationFolder(const char* value) { m_resultLocationFolderHasBeenSet = true; m_resultLocationFolder.assign(value); } /** *

Folder in an Amazon S3 bucket where DMS stores the results of this assessment * run.

*/ inline ReplicationTaskAssessmentRun& WithResultLocationFolder(const Aws::String& value) { SetResultLocationFolder(value); return *this;} /** *

Folder in an Amazon S3 bucket where DMS stores the results of this assessment * run.

*/ inline ReplicationTaskAssessmentRun& WithResultLocationFolder(Aws::String&& value) { SetResultLocationFolder(std::move(value)); return *this;} /** *

Folder in an Amazon S3 bucket where DMS stores the results of this assessment * run.

*/ inline ReplicationTaskAssessmentRun& WithResultLocationFolder(const char* value) { SetResultLocationFolder(value); return *this;} /** *

Encryption mode used to encrypt the assessment run results.

*/ inline const Aws::String& GetResultEncryptionMode() const{ return m_resultEncryptionMode; } /** *

Encryption mode used to encrypt the assessment run results.

*/ inline bool ResultEncryptionModeHasBeenSet() const { return m_resultEncryptionModeHasBeenSet; } /** *

Encryption mode used to encrypt the assessment run results.

*/ inline void SetResultEncryptionMode(const Aws::String& value) { m_resultEncryptionModeHasBeenSet = true; m_resultEncryptionMode = value; } /** *

Encryption mode used to encrypt the assessment run results.

*/ inline void SetResultEncryptionMode(Aws::String&& value) { m_resultEncryptionModeHasBeenSet = true; m_resultEncryptionMode = std::move(value); } /** *

Encryption mode used to encrypt the assessment run results.

*/ inline void SetResultEncryptionMode(const char* value) { m_resultEncryptionModeHasBeenSet = true; m_resultEncryptionMode.assign(value); } /** *

Encryption mode used to encrypt the assessment run results.

*/ inline ReplicationTaskAssessmentRun& WithResultEncryptionMode(const Aws::String& value) { SetResultEncryptionMode(value); return *this;} /** *

Encryption mode used to encrypt the assessment run results.

*/ inline ReplicationTaskAssessmentRun& WithResultEncryptionMode(Aws::String&& value) { SetResultEncryptionMode(std::move(value)); return *this;} /** *

Encryption mode used to encrypt the assessment run results.

*/ inline ReplicationTaskAssessmentRun& WithResultEncryptionMode(const char* value) { SetResultEncryptionMode(value); return *this;} /** *

ARN of the KMS encryption key used to encrypt the assessment run results.

*/ inline const Aws::String& GetResultKmsKeyArn() const{ return m_resultKmsKeyArn; } /** *

ARN of the KMS encryption key used to encrypt the assessment run results.

*/ inline bool ResultKmsKeyArnHasBeenSet() const { return m_resultKmsKeyArnHasBeenSet; } /** *

ARN of the KMS encryption key used to encrypt the assessment run results.

*/ inline void SetResultKmsKeyArn(const Aws::String& value) { m_resultKmsKeyArnHasBeenSet = true; m_resultKmsKeyArn = value; } /** *

ARN of the KMS encryption key used to encrypt the assessment run results.

*/ inline void SetResultKmsKeyArn(Aws::String&& value) { m_resultKmsKeyArnHasBeenSet = true; m_resultKmsKeyArn = std::move(value); } /** *

ARN of the KMS encryption key used to encrypt the assessment run results.

*/ inline void SetResultKmsKeyArn(const char* value) { m_resultKmsKeyArnHasBeenSet = true; m_resultKmsKeyArn.assign(value); } /** *

ARN of the KMS encryption key used to encrypt the assessment run results.

*/ inline ReplicationTaskAssessmentRun& WithResultKmsKeyArn(const Aws::String& value) { SetResultKmsKeyArn(value); return *this;} /** *

ARN of the KMS encryption key used to encrypt the assessment run results.

*/ inline ReplicationTaskAssessmentRun& WithResultKmsKeyArn(Aws::String&& value) { SetResultKmsKeyArn(std::move(value)); return *this;} /** *

ARN of the KMS encryption key used to encrypt the assessment run results.

*/ inline ReplicationTaskAssessmentRun& WithResultKmsKeyArn(const char* value) { SetResultKmsKeyArn(value); return *this;} /** *

Unique name of the assessment run.

*/ inline const Aws::String& GetAssessmentRunName() const{ return m_assessmentRunName; } /** *

Unique name of the assessment run.

*/ inline bool AssessmentRunNameHasBeenSet() const { return m_assessmentRunNameHasBeenSet; } /** *

Unique name of the assessment run.

*/ inline void SetAssessmentRunName(const Aws::String& value) { m_assessmentRunNameHasBeenSet = true; m_assessmentRunName = value; } /** *

Unique name of the assessment run.

*/ inline void SetAssessmentRunName(Aws::String&& value) { m_assessmentRunNameHasBeenSet = true; m_assessmentRunName = std::move(value); } /** *

Unique name of the assessment run.

*/ inline void SetAssessmentRunName(const char* value) { m_assessmentRunNameHasBeenSet = true; m_assessmentRunName.assign(value); } /** *

Unique name of the assessment run.

*/ inline ReplicationTaskAssessmentRun& WithAssessmentRunName(const Aws::String& value) { SetAssessmentRunName(value); return *this;} /** *

Unique name of the assessment run.

*/ inline ReplicationTaskAssessmentRun& WithAssessmentRunName(Aws::String&& value) { SetAssessmentRunName(std::move(value)); return *this;} /** *

Unique name of the assessment run.

*/ inline ReplicationTaskAssessmentRun& WithAssessmentRunName(const char* value) { SetAssessmentRunName(value); return *this;} private: Aws::String m_replicationTaskAssessmentRunArn; bool m_replicationTaskAssessmentRunArnHasBeenSet = false; Aws::String m_replicationTaskArn; bool m_replicationTaskArnHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_replicationTaskAssessmentRunCreationDate; bool m_replicationTaskAssessmentRunCreationDateHasBeenSet = false; ReplicationTaskAssessmentRunProgress m_assessmentProgress; bool m_assessmentProgressHasBeenSet = false; Aws::String m_lastFailureMessage; bool m_lastFailureMessageHasBeenSet = false; Aws::String m_serviceAccessRoleArn; bool m_serviceAccessRoleArnHasBeenSet = false; Aws::String m_resultLocationBucket; bool m_resultLocationBucketHasBeenSet = false; Aws::String m_resultLocationFolder; bool m_resultLocationFolderHasBeenSet = false; Aws::String m_resultEncryptionMode; bool m_resultEncryptionModeHasBeenSet = false; Aws::String m_resultKmsKeyArn; bool m_resultKmsKeyArnHasBeenSet = false; Aws::String m_assessmentRunName; bool m_assessmentRunNameHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws