/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace ElastiCache { namespace Model { /** */ class BatchStopUpdateActionRequest : public ElastiCacheRequest { public: AWS_ELASTICACHE_API BatchStopUpdateActionRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "BatchStopUpdateAction"; } AWS_ELASTICACHE_API Aws::String SerializePayload() const override; protected: AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The replication group IDs

*/ inline const Aws::Vector& GetReplicationGroupIds() const{ return m_replicationGroupIds; } /** *

The replication group IDs

*/ inline bool ReplicationGroupIdsHasBeenSet() const { return m_replicationGroupIdsHasBeenSet; } /** *

The replication group IDs

*/ inline void SetReplicationGroupIds(const Aws::Vector& value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds = value; } /** *

The replication group IDs

*/ inline void SetReplicationGroupIds(Aws::Vector&& value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds = std::move(value); } /** *

The replication group IDs

*/ inline BatchStopUpdateActionRequest& WithReplicationGroupIds(const Aws::Vector& value) { SetReplicationGroupIds(value); return *this;} /** *

The replication group IDs

*/ inline BatchStopUpdateActionRequest& WithReplicationGroupIds(Aws::Vector&& value) { SetReplicationGroupIds(std::move(value)); return *this;} /** *

The replication group IDs

*/ inline BatchStopUpdateActionRequest& AddReplicationGroupIds(const Aws::String& value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds.push_back(value); return *this; } /** *

The replication group IDs

*/ inline BatchStopUpdateActionRequest& AddReplicationGroupIds(Aws::String&& value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds.push_back(std::move(value)); return *this; } /** *

The replication group IDs

*/ inline BatchStopUpdateActionRequest& AddReplicationGroupIds(const char* value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds.push_back(value); return *this; } /** *

The cache cluster IDs

*/ inline const Aws::Vector& GetCacheClusterIds() const{ return m_cacheClusterIds; } /** *

The cache cluster IDs

*/ inline bool CacheClusterIdsHasBeenSet() const { return m_cacheClusterIdsHasBeenSet; } /** *

The cache cluster IDs

*/ inline void SetCacheClusterIds(const Aws::Vector& value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds = value; } /** *

The cache cluster IDs

*/ inline void SetCacheClusterIds(Aws::Vector&& value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds = std::move(value); } /** *

The cache cluster IDs

*/ inline BatchStopUpdateActionRequest& WithCacheClusterIds(const Aws::Vector& value) { SetCacheClusterIds(value); return *this;} /** *

The cache cluster IDs

*/ inline BatchStopUpdateActionRequest& WithCacheClusterIds(Aws::Vector&& value) { SetCacheClusterIds(std::move(value)); return *this;} /** *

The cache cluster IDs

*/ inline BatchStopUpdateActionRequest& AddCacheClusterIds(const Aws::String& value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds.push_back(value); return *this; } /** *

The cache cluster IDs

*/ inline BatchStopUpdateActionRequest& AddCacheClusterIds(Aws::String&& value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds.push_back(std::move(value)); return *this; } /** *

The cache cluster IDs

*/ inline BatchStopUpdateActionRequest& AddCacheClusterIds(const char* value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds.push_back(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 BatchStopUpdateActionRequest& WithServiceUpdateName(const Aws::String& value) { SetServiceUpdateName(value); return *this;} /** *

The unique ID of the service update

*/ inline BatchStopUpdateActionRequest& WithServiceUpdateName(Aws::String&& value) { SetServiceUpdateName(std::move(value)); return *this;} /** *

The unique ID of the service update

*/ inline BatchStopUpdateActionRequest& WithServiceUpdateName(const char* value) { SetServiceUpdateName(value); return *this;} private: Aws::Vector m_replicationGroupIds; bool m_replicationGroupIdsHasBeenSet = false; Aws::Vector m_cacheClusterIds; bool m_cacheClusterIdsHasBeenSet = false; Aws::String m_serviceUpdateName; bool m_serviceUpdateNameHasBeenSet = false; }; } // namespace Model } // namespace ElastiCache } // namespace Aws