/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the details about a blue/green deployment. For more
* information, see Using
* Amazon RDS Blue/Green Deployments for database updates in the Amazon RDS
* User Guide and Using
* Amazon RDS Blue/Green Deployments for database updates in the Amazon
* Aurora User Guide.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of a resource in the blue environment.
*/ inline const Aws::String& GetSourceMember() const{ return m_sourceMember; } /** *The Amazon Resource Name (ARN) of a resource in the blue environment.
*/ inline bool SourceMemberHasBeenSet() const { return m_sourceMemberHasBeenSet; } /** *The Amazon Resource Name (ARN) of a resource in the blue environment.
*/ inline void SetSourceMember(const Aws::String& value) { m_sourceMemberHasBeenSet = true; m_sourceMember = value; } /** *The Amazon Resource Name (ARN) of a resource in the blue environment.
*/ inline void SetSourceMember(Aws::String&& value) { m_sourceMemberHasBeenSet = true; m_sourceMember = std::move(value); } /** *The Amazon Resource Name (ARN) of a resource in the blue environment.
*/ inline void SetSourceMember(const char* value) { m_sourceMemberHasBeenSet = true; m_sourceMember.assign(value); } /** *The Amazon Resource Name (ARN) of a resource in the blue environment.
*/ inline SwitchoverDetail& WithSourceMember(const Aws::String& value) { SetSourceMember(value); return *this;} /** *The Amazon Resource Name (ARN) of a resource in the blue environment.
*/ inline SwitchoverDetail& WithSourceMember(Aws::String&& value) { SetSourceMember(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of a resource in the blue environment.
*/ inline SwitchoverDetail& WithSourceMember(const char* value) { SetSourceMember(value); return *this;} /** *The Amazon Resource Name (ARN) of a resource in the green environment.
*/ inline const Aws::String& GetTargetMember() const{ return m_targetMember; } /** *The Amazon Resource Name (ARN) of a resource in the green environment.
*/ inline bool TargetMemberHasBeenSet() const { return m_targetMemberHasBeenSet; } /** *The Amazon Resource Name (ARN) of a resource in the green environment.
*/ inline void SetTargetMember(const Aws::String& value) { m_targetMemberHasBeenSet = true; m_targetMember = value; } /** *The Amazon Resource Name (ARN) of a resource in the green environment.
*/ inline void SetTargetMember(Aws::String&& value) { m_targetMemberHasBeenSet = true; m_targetMember = std::move(value); } /** *The Amazon Resource Name (ARN) of a resource in the green environment.
*/ inline void SetTargetMember(const char* value) { m_targetMemberHasBeenSet = true; m_targetMember.assign(value); } /** *The Amazon Resource Name (ARN) of a resource in the green environment.
*/ inline SwitchoverDetail& WithTargetMember(const Aws::String& value) { SetTargetMember(value); return *this;} /** *The Amazon Resource Name (ARN) of a resource in the green environment.
*/ inline SwitchoverDetail& WithTargetMember(Aws::String&& value) { SetTargetMember(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of a resource in the green environment.
*/ inline SwitchoverDetail& WithTargetMember(const char* value) { SetTargetMember(value); return *this;} /** *The switchover status of a resource in a blue/green deployment.
*Values:
PROVISIONING
- The resource is being
* prepared to switch over.
AVAILABLE
- The
* resource is ready to switch over.
* SWITCHOVER_IN_PROGRESS
- The resource is being switched over.
SWITCHOVER_COMPLETED
- The resource has been
* switched over.
SWITCHOVER_FAILED
- The resource
* attempted to switch over but failed.
* MISSING_SOURCE
- The source resource has been deleted.
MISSING_TARGET
- The target resource has been deleted.
The switchover status of a resource in a blue/green deployment.
*Values:
PROVISIONING
- The resource is being
* prepared to switch over.
AVAILABLE
- The
* resource is ready to switch over.
* SWITCHOVER_IN_PROGRESS
- The resource is being switched over.
SWITCHOVER_COMPLETED
- The resource has been
* switched over.
SWITCHOVER_FAILED
- The resource
* attempted to switch over but failed.
* MISSING_SOURCE
- The source resource has been deleted.
MISSING_TARGET
- The target resource has been deleted.
The switchover status of a resource in a blue/green deployment.
*Values:
PROVISIONING
- The resource is being
* prepared to switch over.
AVAILABLE
- The
* resource is ready to switch over.
* SWITCHOVER_IN_PROGRESS
- The resource is being switched over.
SWITCHOVER_COMPLETED
- The resource has been
* switched over.
SWITCHOVER_FAILED
- The resource
* attempted to switch over but failed.
* MISSING_SOURCE
- The source resource has been deleted.
MISSING_TARGET
- The target resource has been deleted.
The switchover status of a resource in a blue/green deployment.
*Values:
PROVISIONING
- The resource is being
* prepared to switch over.
AVAILABLE
- The
* resource is ready to switch over.
* SWITCHOVER_IN_PROGRESS
- The resource is being switched over.
SWITCHOVER_COMPLETED
- The resource has been
* switched over.
SWITCHOVER_FAILED
- The resource
* attempted to switch over but failed.
* MISSING_SOURCE
- The source resource has been deleted.
MISSING_TARGET
- The target resource has been deleted.
The switchover status of a resource in a blue/green deployment.
*Values:
PROVISIONING
- The resource is being
* prepared to switch over.
AVAILABLE
- The
* resource is ready to switch over.
* SWITCHOVER_IN_PROGRESS
- The resource is being switched over.
SWITCHOVER_COMPLETED
- The resource has been
* switched over.
SWITCHOVER_FAILED
- The resource
* attempted to switch over but failed.
* MISSING_SOURCE
- The source resource has been deleted.
MISSING_TARGET
- The target resource has been deleted.
The switchover status of a resource in a blue/green deployment.
*Values:
PROVISIONING
- The resource is being
* prepared to switch over.
AVAILABLE
- The
* resource is ready to switch over.
* SWITCHOVER_IN_PROGRESS
- The resource is being switched over.
SWITCHOVER_COMPLETED
- The resource has been
* switched over.
SWITCHOVER_FAILED
- The resource
* attempted to switch over but failed.
* MISSING_SOURCE
- The source resource has been deleted.
MISSING_TARGET
- The target resource has been deleted.
The switchover status of a resource in a blue/green deployment.
*Values:
PROVISIONING
- The resource is being
* prepared to switch over.
AVAILABLE
- The
* resource is ready to switch over.
* SWITCHOVER_IN_PROGRESS
- The resource is being switched over.
SWITCHOVER_COMPLETED
- The resource has been
* switched over.
SWITCHOVER_FAILED
- The resource
* attempted to switch over but failed.
* MISSING_SOURCE
- The source resource has been deleted.
MISSING_TARGET
- The target resource has been deleted.
The switchover status of a resource in a blue/green deployment.
*Values:
PROVISIONING
- The resource is being
* prepared to switch over.
AVAILABLE
- The
* resource is ready to switch over.
* SWITCHOVER_IN_PROGRESS
- The resource is being switched over.
SWITCHOVER_COMPLETED
- The resource has been
* switched over.
SWITCHOVER_FAILED
- The resource
* attempted to switch over but failed.
* MISSING_SOURCE
- The source resource has been deleted.
MISSING_TARGET
- The target resource has been deleted.