/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the AWS DMS resource that the pending * maintenance action applies to.
*/ inline const Aws::String& GetReplicationInstanceArn() const{ return m_replicationInstanceArn; } /** *The Amazon Resource Name (ARN) of the AWS DMS resource that the pending * maintenance action applies to.
*/ inline bool ReplicationInstanceArnHasBeenSet() const { return m_replicationInstanceArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the AWS DMS resource that the pending * maintenance action applies to.
*/ inline void SetReplicationInstanceArn(const Aws::String& value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn = value; } /** *The Amazon Resource Name (ARN) of the AWS DMS resource that the pending * maintenance action applies to.
*/ inline void SetReplicationInstanceArn(Aws::String&& value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the AWS DMS resource that the pending * maintenance action applies to.
*/ inline void SetReplicationInstanceArn(const char* value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn.assign(value); } /** *The Amazon Resource Name (ARN) of the AWS DMS resource that the pending * maintenance action applies to.
*/ inline ApplyPendingMaintenanceActionRequest& WithReplicationInstanceArn(const Aws::String& value) { SetReplicationInstanceArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the AWS DMS resource that the pending * maintenance action applies to.
*/ inline ApplyPendingMaintenanceActionRequest& WithReplicationInstanceArn(Aws::String&& value) { SetReplicationInstanceArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the AWS DMS resource that the pending * maintenance action applies to.
*/ inline ApplyPendingMaintenanceActionRequest& WithReplicationInstanceArn(const char* value) { SetReplicationInstanceArn(value); return *this;} /** *The pending maintenance action to apply to this resource.
*/ inline const Aws::String& GetApplyAction() const{ return m_applyAction; } /** *The pending maintenance action to apply to this resource.
*/ inline bool ApplyActionHasBeenSet() const { return m_applyActionHasBeenSet; } /** *The pending maintenance action to apply to this resource.
*/ inline void SetApplyAction(const Aws::String& value) { m_applyActionHasBeenSet = true; m_applyAction = value; } /** *The pending maintenance action to apply to this resource.
*/ inline void SetApplyAction(Aws::String&& value) { m_applyActionHasBeenSet = true; m_applyAction = std::move(value); } /** *The pending maintenance action to apply to this resource.
*/ inline void SetApplyAction(const char* value) { m_applyActionHasBeenSet = true; m_applyAction.assign(value); } /** *The pending maintenance action to apply to this resource.
*/ inline ApplyPendingMaintenanceActionRequest& WithApplyAction(const Aws::String& value) { SetApplyAction(value); return *this;} /** *The pending maintenance action to apply to this resource.
*/ inline ApplyPendingMaintenanceActionRequest& WithApplyAction(Aws::String&& value) { SetApplyAction(std::move(value)); return *this;} /** *The pending maintenance action to apply to this resource.
*/ inline ApplyPendingMaintenanceActionRequest& WithApplyAction(const char* value) { SetApplyAction(value); return *this;} /** *A value that specifies the type of opt-in request, or undoes an opt-in
* request. You can't undo an opt-in request of type immediate.
Valid values:
immediate - Apply the
* maintenance action immediately.
next-maintenance
* - Apply the maintenance action during the next maintenance window for the
* resource.
undo-opt-in - Cancel any existing
* next-maintenance opt-in requests.
A value that specifies the type of opt-in request, or undoes an opt-in
* request. You can't undo an opt-in request of type immediate.
Valid values:
immediate - Apply the
* maintenance action immediately.
next-maintenance
* - Apply the maintenance action during the next maintenance window for the
* resource.
undo-opt-in - Cancel any existing
* next-maintenance opt-in requests.
A value that specifies the type of opt-in request, or undoes an opt-in
* request. You can't undo an opt-in request of type immediate.
Valid values:
immediate - Apply the
* maintenance action immediately.
next-maintenance
* - Apply the maintenance action during the next maintenance window for the
* resource.
undo-opt-in - Cancel any existing
* next-maintenance opt-in requests.
A value that specifies the type of opt-in request, or undoes an opt-in
* request. You can't undo an opt-in request of type immediate.
Valid values:
immediate - Apply the
* maintenance action immediately.
next-maintenance
* - Apply the maintenance action during the next maintenance window for the
* resource.
undo-opt-in - Cancel any existing
* next-maintenance opt-in requests.
A value that specifies the type of opt-in request, or undoes an opt-in
* request. You can't undo an opt-in request of type immediate.
Valid values:
immediate - Apply the
* maintenance action immediately.
next-maintenance
* - Apply the maintenance action during the next maintenance window for the
* resource.
undo-opt-in - Cancel any existing
* next-maintenance opt-in requests.
A value that specifies the type of opt-in request, or undoes an opt-in
* request. You can't undo an opt-in request of type immediate.
Valid values:
immediate - Apply the
* maintenance action immediately.
next-maintenance
* - Apply the maintenance action during the next maintenance window for the
* resource.
undo-opt-in - Cancel any existing
* next-maintenance opt-in requests.
A value that specifies the type of opt-in request, or undoes an opt-in
* request. You can't undo an opt-in request of type immediate.
Valid values:
immediate - Apply the
* maintenance action immediately.
next-maintenance
* - Apply the maintenance action during the next maintenance window for the
* resource.
undo-opt-in - Cancel any existing
* next-maintenance opt-in requests.
A value that specifies the type of opt-in request, or undoes an opt-in
* request. You can't undo an opt-in request of type immediate.
Valid values:
immediate - Apply the
* maintenance action immediately.
next-maintenance
* - Apply the maintenance action during the next maintenance window for the
* resource.
undo-opt-in - Cancel any existing
* next-maintenance opt-in requests.