/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace ElastiCache { namespace Model { /** */ class DescribeUpdateActionsRequest : public ElastiCacheRequest { public: AWS_ELASTICACHE_API DescribeUpdateActionsRequest(); // 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 "DescribeUpdateActions"; } AWS_ELASTICACHE_API Aws::String SerializePayload() const override; protected: AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

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 DescribeUpdateActionsRequest& WithServiceUpdateName(const Aws::String& value) { SetServiceUpdateName(value); return *this;} /** *

The unique ID of the service update

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

The unique ID of the service update

*/ inline DescribeUpdateActionsRequest& WithServiceUpdateName(const char* value) { SetServiceUpdateName(value); return *this;} /** *

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 DescribeUpdateActionsRequest& WithReplicationGroupIds(const Aws::Vector& value) { SetReplicationGroupIds(value); return *this;} /** *

The replication group IDs

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

The replication group IDs

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

The replication group IDs

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

The replication group IDs

*/ inline DescribeUpdateActionsRequest& 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 DescribeUpdateActionsRequest& WithCacheClusterIds(const Aws::Vector& value) { SetCacheClusterIds(value); return *this;} /** *

The cache cluster IDs

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

The cache cluster IDs

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

The cache cluster IDs

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

The cache cluster IDs

*/ inline DescribeUpdateActionsRequest& AddCacheClusterIds(const char* value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds.push_back(value); return *this; } /** *

The Elasticache engine to which the update applies. Either Redis or Memcached *

*/ inline const Aws::String& GetEngine() const{ return m_engine; } /** *

The Elasticache engine to which the update applies. Either Redis or Memcached *

*/ inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; } /** *

The Elasticache engine to which the update applies. Either Redis or Memcached *

*/ inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; } /** *

The Elasticache engine to which the update applies. Either Redis or Memcached *

*/ inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); } /** *

The Elasticache engine to which the update applies. Either Redis or Memcached *

*/ inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); } /** *

The Elasticache engine to which the update applies. Either Redis or Memcached *

*/ inline DescribeUpdateActionsRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;} /** *

The Elasticache engine to which the update applies. Either Redis or Memcached *

*/ inline DescribeUpdateActionsRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;} /** *

The Elasticache engine to which the update applies. Either Redis or Memcached *

*/ inline DescribeUpdateActionsRequest& WithEngine(const char* value) { SetEngine(value); return *this;} /** *

The status of the service update

*/ inline const Aws::Vector& GetServiceUpdateStatus() const{ return m_serviceUpdateStatus; } /** *

The status of the service update

*/ inline bool ServiceUpdateStatusHasBeenSet() const { return m_serviceUpdateStatusHasBeenSet; } /** *

The status of the service update

*/ inline void SetServiceUpdateStatus(const Aws::Vector& value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus = value; } /** *

The status of the service update

*/ inline void SetServiceUpdateStatus(Aws::Vector&& value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus = std::move(value); } /** *

The status of the service update

*/ inline DescribeUpdateActionsRequest& WithServiceUpdateStatus(const Aws::Vector& value) { SetServiceUpdateStatus(value); return *this;} /** *

The status of the service update

*/ inline DescribeUpdateActionsRequest& WithServiceUpdateStatus(Aws::Vector&& value) { SetServiceUpdateStatus(std::move(value)); return *this;} /** *

The status of the service update

*/ inline DescribeUpdateActionsRequest& AddServiceUpdateStatus(const ServiceUpdateStatus& value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus.push_back(value); return *this; } /** *

The status of the service update

*/ inline DescribeUpdateActionsRequest& AddServiceUpdateStatus(ServiceUpdateStatus&& value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus.push_back(std::move(value)); return *this; } /** *

The range of time specified to search for service updates that are in * available status

*/ inline const TimeRangeFilter& GetServiceUpdateTimeRange() const{ return m_serviceUpdateTimeRange; } /** *

The range of time specified to search for service updates that are in * available status

*/ inline bool ServiceUpdateTimeRangeHasBeenSet() const { return m_serviceUpdateTimeRangeHasBeenSet; } /** *

The range of time specified to search for service updates that are in * available status

*/ inline void SetServiceUpdateTimeRange(const TimeRangeFilter& value) { m_serviceUpdateTimeRangeHasBeenSet = true; m_serviceUpdateTimeRange = value; } /** *

The range of time specified to search for service updates that are in * available status

*/ inline void SetServiceUpdateTimeRange(TimeRangeFilter&& value) { m_serviceUpdateTimeRangeHasBeenSet = true; m_serviceUpdateTimeRange = std::move(value); } /** *

The range of time specified to search for service updates that are in * available status

*/ inline DescribeUpdateActionsRequest& WithServiceUpdateTimeRange(const TimeRangeFilter& value) { SetServiceUpdateTimeRange(value); return *this;} /** *

The range of time specified to search for service updates that are in * available status

*/ inline DescribeUpdateActionsRequest& WithServiceUpdateTimeRange(TimeRangeFilter&& value) { SetServiceUpdateTimeRange(std::move(value)); return *this;} /** *

The status of the update action.

*/ inline const Aws::Vector& GetUpdateActionStatus() const{ return m_updateActionStatus; } /** *

The status of the update action.

*/ inline bool UpdateActionStatusHasBeenSet() const { return m_updateActionStatusHasBeenSet; } /** *

The status of the update action.

*/ inline void SetUpdateActionStatus(const Aws::Vector& value) { m_updateActionStatusHasBeenSet = true; m_updateActionStatus = value; } /** *

The status of the update action.

*/ inline void SetUpdateActionStatus(Aws::Vector&& value) { m_updateActionStatusHasBeenSet = true; m_updateActionStatus = std::move(value); } /** *

The status of the update action.

*/ inline DescribeUpdateActionsRequest& WithUpdateActionStatus(const Aws::Vector& value) { SetUpdateActionStatus(value); return *this;} /** *

The status of the update action.

*/ inline DescribeUpdateActionsRequest& WithUpdateActionStatus(Aws::Vector&& value) { SetUpdateActionStatus(std::move(value)); return *this;} /** *

The status of the update action.

*/ inline DescribeUpdateActionsRequest& AddUpdateActionStatus(const UpdateActionStatus& value) { m_updateActionStatusHasBeenSet = true; m_updateActionStatus.push_back(value); return *this; } /** *

The status of the update action.

*/ inline DescribeUpdateActionsRequest& AddUpdateActionStatus(UpdateActionStatus&& value) { m_updateActionStatusHasBeenSet = true; m_updateActionStatus.push_back(std::move(value)); return *this; } /** *

Dictates whether to include node level update status in the response

*/ inline bool GetShowNodeLevelUpdateStatus() const{ return m_showNodeLevelUpdateStatus; } /** *

Dictates whether to include node level update status in the response

*/ inline bool ShowNodeLevelUpdateStatusHasBeenSet() const { return m_showNodeLevelUpdateStatusHasBeenSet; } /** *

Dictates whether to include node level update status in the response

*/ inline void SetShowNodeLevelUpdateStatus(bool value) { m_showNodeLevelUpdateStatusHasBeenSet = true; m_showNodeLevelUpdateStatus = value; } /** *

Dictates whether to include node level update status in the response

*/ inline DescribeUpdateActionsRequest& WithShowNodeLevelUpdateStatus(bool value) { SetShowNodeLevelUpdateStatus(value); return *this;} /** *

The maximum number of records to include in the response

*/ inline int GetMaxRecords() const{ return m_maxRecords; } /** *

The maximum number of records to include in the response

*/ inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; } /** *

The maximum number of records to include in the response

*/ inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; } /** *

The maximum number of records to include in the response

*/ inline DescribeUpdateActionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;} /** *

An optional marker returned from a prior request. Use this marker for * pagination of results from this operation. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * MaxRecords.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

An optional marker returned from a prior request. Use this marker for * pagination of results from this operation. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * MaxRecords.

*/ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *

An optional marker returned from a prior request. Use this marker for * pagination of results from this operation. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * MaxRecords.

*/ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** *

An optional marker returned from a prior request. Use this marker for * pagination of results from this operation. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * MaxRecords.

*/ inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } /** *

An optional marker returned from a prior request. Use this marker for * pagination of results from this operation. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * MaxRecords.

*/ inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } /** *

An optional marker returned from a prior request. Use this marker for * pagination of results from this operation. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * MaxRecords.

*/ inline DescribeUpdateActionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

An optional marker returned from a prior request. Use this marker for * pagination of results from this operation. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * MaxRecords.

*/ inline DescribeUpdateActionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

An optional marker returned from a prior request. Use this marker for * pagination of results from this operation. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * MaxRecords.

*/ inline DescribeUpdateActionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;} private: Aws::String m_serviceUpdateName; bool m_serviceUpdateNameHasBeenSet = false; Aws::Vector m_replicationGroupIds; bool m_replicationGroupIdsHasBeenSet = false; Aws::Vector m_cacheClusterIds; bool m_cacheClusterIdsHasBeenSet = false; Aws::String m_engine; bool m_engineHasBeenSet = false; Aws::Vector m_serviceUpdateStatus; bool m_serviceUpdateStatusHasBeenSet = false; TimeRangeFilter m_serviceUpdateTimeRange; bool m_serviceUpdateTimeRangeHasBeenSet = false; Aws::Vector m_updateActionStatus; bool m_updateActionStatusHasBeenSet = false; bool m_showNodeLevelUpdateStatus; bool m_showNodeLevelUpdateStatusHasBeenSet = false; int m_maxRecords; bool m_maxRecordsHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; }; } // namespace Model } // namespace ElastiCache } // namespace Aws