/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information that describes a premigration assessment run that you
* have started using the Some of the information appears based on other operations that
* can return the StartReplicationTaskAssessmentRun
* operation.ReplicationTaskAssessmentRun
object.See
* Also:
AWS
* API Reference
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.
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.
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.
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.
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.
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.
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.
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.
Date on which the assessment run was created using the
* StartReplicationTaskAssessmentRun
operation.
Date on which the assessment run was created using the
* StartReplicationTaskAssessmentRun
operation.
Date on which the assessment run was created using the
* StartReplicationTaskAssessmentRun
operation.
Date on which the assessment run was created using the
* StartReplicationTaskAssessmentRun
operation.
Date on which the assessment run was created using the
* StartReplicationTaskAssessmentRun
operation.
Date on which the assessment run was created using the
* StartReplicationTaskAssessmentRun
operation.
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.
ARN of the service role used to start the assessment run using the
* StartReplicationTaskAssessmentRun
operation. The role must allow
* the iam:PassRole
action.
ARN of the service role used to start the assessment run using the
* StartReplicationTaskAssessmentRun
operation. The role must allow
* the iam:PassRole
action.
ARN of the service role used to start the assessment run using the
* StartReplicationTaskAssessmentRun
operation. The role must allow
* the iam:PassRole
action.
ARN of the service role used to start the assessment run using the
* StartReplicationTaskAssessmentRun
operation. The role must allow
* the iam:PassRole
action.
ARN of the service role used to start the assessment run using the
* StartReplicationTaskAssessmentRun
operation. The role must allow
* the iam:PassRole
action.
ARN of the service role used to start the assessment run using the
* StartReplicationTaskAssessmentRun
operation. The role must allow
* the iam:PassRole
action.
ARN of the service role used to start the assessment run using the
* StartReplicationTaskAssessmentRun
operation. The role must allow
* the iam:PassRole
action.
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