/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The settings to be applied to the Redis replication group, either immediately
* or during the next maintenance window.See Also:
AWS
* API Reference
The primary cluster ID that is applied immediately (if
* --apply-immediately was specified), or during the next maintenance
* window.
The primary cluster ID that is applied immediately (if
* --apply-immediately was specified), or during the next maintenance
* window.
The primary cluster ID that is applied immediately (if
* --apply-immediately was specified), or during the next maintenance
* window.
The primary cluster ID that is applied immediately (if
* --apply-immediately was specified), or during the next maintenance
* window.
The primary cluster ID that is applied immediately (if
* --apply-immediately was specified), or during the next maintenance
* window.
The primary cluster ID that is applied immediately (if
* --apply-immediately was specified), or during the next maintenance
* window.
The primary cluster ID that is applied immediately (if
* --apply-immediately was specified), or during the next maintenance
* window.
The primary cluster ID that is applied immediately (if
* --apply-immediately was specified), or during the next maintenance
* window.
Indicates the status of automatic failover for this Redis replication * group.
*/ inline const PendingAutomaticFailoverStatus& GetAutomaticFailoverStatus() const{ return m_automaticFailoverStatus; } /** *Indicates the status of automatic failover for this Redis replication * group.
*/ inline bool AutomaticFailoverStatusHasBeenSet() const { return m_automaticFailoverStatusHasBeenSet; } /** *Indicates the status of automatic failover for this Redis replication * group.
*/ inline void SetAutomaticFailoverStatus(const PendingAutomaticFailoverStatus& value) { m_automaticFailoverStatusHasBeenSet = true; m_automaticFailoverStatus = value; } /** *Indicates the status of automatic failover for this Redis replication * group.
*/ inline void SetAutomaticFailoverStatus(PendingAutomaticFailoverStatus&& value) { m_automaticFailoverStatusHasBeenSet = true; m_automaticFailoverStatus = std::move(value); } /** *Indicates the status of automatic failover for this Redis replication * group.
*/ inline ReplicationGroupPendingModifiedValues& WithAutomaticFailoverStatus(const PendingAutomaticFailoverStatus& value) { SetAutomaticFailoverStatus(value); return *this;} /** *Indicates the status of automatic failover for this Redis replication * group.
*/ inline ReplicationGroupPendingModifiedValues& WithAutomaticFailoverStatus(PendingAutomaticFailoverStatus&& value) { SetAutomaticFailoverStatus(std::move(value)); return *this;} /** *The status of an online resharding operation.
*/ inline const ReshardingStatus& GetResharding() const{ return m_resharding; } /** *The status of an online resharding operation.
*/ inline bool ReshardingHasBeenSet() const { return m_reshardingHasBeenSet; } /** *The status of an online resharding operation.
*/ inline void SetResharding(const ReshardingStatus& value) { m_reshardingHasBeenSet = true; m_resharding = value; } /** *The status of an online resharding operation.
*/ inline void SetResharding(ReshardingStatus&& value) { m_reshardingHasBeenSet = true; m_resharding = std::move(value); } /** *The status of an online resharding operation.
*/ inline ReplicationGroupPendingModifiedValues& WithResharding(const ReshardingStatus& value) { SetResharding(value); return *this;} /** *The status of an online resharding operation.
*/ inline ReplicationGroupPendingModifiedValues& WithResharding(ReshardingStatus&& value) { SetResharding(std::move(value)); return *this;} /** *The auth token status
*/ inline const AuthTokenUpdateStatus& GetAuthTokenStatus() const{ return m_authTokenStatus; } /** *The auth token status
*/ inline bool AuthTokenStatusHasBeenSet() const { return m_authTokenStatusHasBeenSet; } /** *The auth token status
*/ inline void SetAuthTokenStatus(const AuthTokenUpdateStatus& value) { m_authTokenStatusHasBeenSet = true; m_authTokenStatus = value; } /** *The auth token status
*/ inline void SetAuthTokenStatus(AuthTokenUpdateStatus&& value) { m_authTokenStatusHasBeenSet = true; m_authTokenStatus = std::move(value); } /** *The auth token status
*/ inline ReplicationGroupPendingModifiedValues& WithAuthTokenStatus(const AuthTokenUpdateStatus& value) { SetAuthTokenStatus(value); return *this;} /** *The auth token status
*/ inline ReplicationGroupPendingModifiedValues& WithAuthTokenStatus(AuthTokenUpdateStatus&& value) { SetAuthTokenStatus(std::move(value)); return *this;} private: Aws::String m_primaryClusterId; bool m_primaryClusterIdHasBeenSet; PendingAutomaticFailoverStatus m_automaticFailoverStatus; bool m_automaticFailoverStatusHasBeenSet; ReshardingStatus m_resharding; bool m_reshardingHasBeenSet; AuthTokenUpdateStatus m_authTokenStatus; bool m_authTokenStatusHasBeenSet; }; } // namespace Model } // namespace ElastiCache } // namespace Aws