/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Update action that has been processed for the corresponding apply/stop
* requestSee Also:
AWS
* API Reference
The ID of the replication group
*/ inline const Aws::String& GetReplicationGroupId() const{ return m_replicationGroupId; } /** *The ID of the replication group
*/ inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; } /** *The ID of the replication group
*/ inline void SetReplicationGroupId(const Aws::String& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = value; } /** *The ID of the replication group
*/ inline void SetReplicationGroupId(Aws::String&& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = std::move(value); } /** *The ID of the replication group
*/ inline void SetReplicationGroupId(const char* value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId.assign(value); } /** *The ID of the replication group
*/ inline ProcessedUpdateAction& WithReplicationGroupId(const Aws::String& value) { SetReplicationGroupId(value); return *this;} /** *The ID of the replication group
*/ inline ProcessedUpdateAction& WithReplicationGroupId(Aws::String&& value) { SetReplicationGroupId(std::move(value)); return *this;} /** *The ID of the replication group
*/ inline ProcessedUpdateAction& WithReplicationGroupId(const char* value) { SetReplicationGroupId(value); return *this;} /** *The ID of the cache cluster
*/ inline const Aws::String& GetCacheClusterId() const{ return m_cacheClusterId; } /** *The ID of the cache cluster
*/ inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; } /** *The ID of the cache cluster
*/ inline void SetCacheClusterId(const Aws::String& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = value; } /** *The ID of the cache cluster
*/ inline void SetCacheClusterId(Aws::String&& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = std::move(value); } /** *The ID of the cache cluster
*/ inline void SetCacheClusterId(const char* value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId.assign(value); } /** *The ID of the cache cluster
*/ inline ProcessedUpdateAction& WithCacheClusterId(const Aws::String& value) { SetCacheClusterId(value); return *this;} /** *The ID of the cache cluster
*/ inline ProcessedUpdateAction& WithCacheClusterId(Aws::String&& value) { SetCacheClusterId(std::move(value)); return *this;} /** *The ID of the cache cluster
*/ inline ProcessedUpdateAction& WithCacheClusterId(const char* value) { SetCacheClusterId(value); return *this;} /** *The unique ID of the service update
*/ inline const Aws::String& GetServiceUpdateName() const{ return m_serviceUpdateName; } /** *The unique ID of the service update
*/ inline bool ServiceUpdateNameHasBeenSet() const { return m_serviceUpdateNameHasBeenSet; } /** *The unique ID of the service update
*/ inline void SetServiceUpdateName(const Aws::String& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = value; } /** *The unique ID of the service update
*/ inline void SetServiceUpdateName(Aws::String&& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = std::move(value); } /** *The unique ID of the service update
*/ inline void SetServiceUpdateName(const char* value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName.assign(value); } /** *The unique ID of the service update
*/ inline ProcessedUpdateAction& WithServiceUpdateName(const Aws::String& value) { SetServiceUpdateName(value); return *this;} /** *The unique ID of the service update
*/ inline ProcessedUpdateAction& WithServiceUpdateName(Aws::String&& value) { SetServiceUpdateName(std::move(value)); return *this;} /** *The unique ID of the service update
*/ inline ProcessedUpdateAction& WithServiceUpdateName(const char* value) { SetServiceUpdateName(value); return *this;} /** *The status of the update action on the Redis cluster
*/ inline const UpdateActionStatus& GetUpdateActionStatus() const{ return m_updateActionStatus; } /** *The status of the update action on the Redis cluster
*/ inline bool UpdateActionStatusHasBeenSet() const { return m_updateActionStatusHasBeenSet; } /** *The status of the update action on the Redis cluster
*/ inline void SetUpdateActionStatus(const UpdateActionStatus& value) { m_updateActionStatusHasBeenSet = true; m_updateActionStatus = value; } /** *The status of the update action on the Redis cluster
*/ inline void SetUpdateActionStatus(UpdateActionStatus&& value) { m_updateActionStatusHasBeenSet = true; m_updateActionStatus = std::move(value); } /** *The status of the update action on the Redis cluster
*/ inline ProcessedUpdateAction& WithUpdateActionStatus(const UpdateActionStatus& value) { SetUpdateActionStatus(value); return *this;} /** *The status of the update action on the Redis cluster
*/ inline ProcessedUpdateAction& WithUpdateActionStatus(UpdateActionStatus&& value) { SetUpdateActionStatus(std::move(value)); return *this;} private: Aws::String m_replicationGroupId; bool m_replicationGroupIdHasBeenSet = false; Aws::String m_cacheClusterId; bool m_cacheClusterIdHasBeenSet = false; Aws::String m_serviceUpdateName; bool m_serviceUpdateNameHasBeenSet = false; UpdateActionStatus m_updateActionStatus; bool m_updateActionStatusHasBeenSet = false; }; } // namespace Model } // namespace ElastiCache } // namespace Aws