/** * 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 Redshift { namespace Model { /** */ class DescribeSnapshotSchedulesRequest : public RedshiftRequest { public: AWS_REDSHIFT_API DescribeSnapshotSchedulesRequest(); // 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 "DescribeSnapshotSchedules"; } AWS_REDSHIFT_API Aws::String SerializePayload() const override; protected: AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The unique identifier for the cluster whose snapshot schedules you want to * view.

*/ inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; } /** *

The unique identifier for the cluster whose snapshot schedules you want to * view.

*/ inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; } /** *

The unique identifier for the cluster whose snapshot schedules you want to * view.

*/ inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; } /** *

The unique identifier for the cluster whose snapshot schedules you want to * view.

*/ inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); } /** *

The unique identifier for the cluster whose snapshot schedules you want to * view.

*/ inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); } /** *

The unique identifier for the cluster whose snapshot schedules you want to * view.

*/ inline DescribeSnapshotSchedulesRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;} /** *

The unique identifier for the cluster whose snapshot schedules you want to * view.

*/ inline DescribeSnapshotSchedulesRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;} /** *

The unique identifier for the cluster whose snapshot schedules you want to * view.

*/ inline DescribeSnapshotSchedulesRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;} /** *

A unique identifier for a snapshot schedule.

*/ inline const Aws::String& GetScheduleIdentifier() const{ return m_scheduleIdentifier; } /** *

A unique identifier for a snapshot schedule.

*/ inline bool ScheduleIdentifierHasBeenSet() const { return m_scheduleIdentifierHasBeenSet; } /** *

A unique identifier for a snapshot schedule.

*/ inline void SetScheduleIdentifier(const Aws::String& value) { m_scheduleIdentifierHasBeenSet = true; m_scheduleIdentifier = value; } /** *

A unique identifier for a snapshot schedule.

*/ inline void SetScheduleIdentifier(Aws::String&& value) { m_scheduleIdentifierHasBeenSet = true; m_scheduleIdentifier = std::move(value); } /** *

A unique identifier for a snapshot schedule.

*/ inline void SetScheduleIdentifier(const char* value) { m_scheduleIdentifierHasBeenSet = true; m_scheduleIdentifier.assign(value); } /** *

A unique identifier for a snapshot schedule.

*/ inline DescribeSnapshotSchedulesRequest& WithScheduleIdentifier(const Aws::String& value) { SetScheduleIdentifier(value); return *this;} /** *

A unique identifier for a snapshot schedule.

*/ inline DescribeSnapshotSchedulesRequest& WithScheduleIdentifier(Aws::String&& value) { SetScheduleIdentifier(std::move(value)); return *this;} /** *

A unique identifier for a snapshot schedule.

*/ inline DescribeSnapshotSchedulesRequest& WithScheduleIdentifier(const char* value) { SetScheduleIdentifier(value); return *this;} /** *

The key value for a snapshot schedule tag.

*/ inline const Aws::Vector& GetTagKeys() const{ return m_tagKeys; } /** *

The key value for a snapshot schedule tag.

*/ inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; } /** *

The key value for a snapshot schedule tag.

*/ inline void SetTagKeys(const Aws::Vector& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; } /** *

The key value for a snapshot schedule tag.

*/ inline void SetTagKeys(Aws::Vector&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); } /** *

The key value for a snapshot schedule tag.

*/ inline DescribeSnapshotSchedulesRequest& WithTagKeys(const Aws::Vector& value) { SetTagKeys(value); return *this;} /** *

The key value for a snapshot schedule tag.

*/ inline DescribeSnapshotSchedulesRequest& WithTagKeys(Aws::Vector&& value) { SetTagKeys(std::move(value)); return *this;} /** *

The key value for a snapshot schedule tag.

*/ inline DescribeSnapshotSchedulesRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; } /** *

The key value for a snapshot schedule tag.

*/ inline DescribeSnapshotSchedulesRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; } /** *

The key value for a snapshot schedule tag.

*/ inline DescribeSnapshotSchedulesRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; } /** *

The value corresponding to the key of the snapshot schedule tag.

*/ inline const Aws::Vector& GetTagValues() const{ return m_tagValues; } /** *

The value corresponding to the key of the snapshot schedule tag.

*/ inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; } /** *

The value corresponding to the key of the snapshot schedule tag.

*/ inline void SetTagValues(const Aws::Vector& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; } /** *

The value corresponding to the key of the snapshot schedule tag.

*/ inline void SetTagValues(Aws::Vector&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); } /** *

The value corresponding to the key of the snapshot schedule tag.

*/ inline DescribeSnapshotSchedulesRequest& WithTagValues(const Aws::Vector& value) { SetTagValues(value); return *this;} /** *

The value corresponding to the key of the snapshot schedule tag.

*/ inline DescribeSnapshotSchedulesRequest& WithTagValues(Aws::Vector&& value) { SetTagValues(std::move(value)); return *this;} /** *

The value corresponding to the key of the snapshot schedule tag.

*/ inline DescribeSnapshotSchedulesRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; } /** *

The value corresponding to the key of the snapshot schedule tag.

*/ inline DescribeSnapshotSchedulesRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; } /** *

The value corresponding to the key of the snapshot schedule tag.

*/ inline DescribeSnapshotSchedulesRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; } /** *

A value that indicates the starting point for the next set of response * records in a subsequent request. If a value is returned in a response, you can * retrieve the next set of records by providing this returned marker value in the * marker parameter and retrying the command. If the * marker field is empty, all response records have been retrieved for * the request.

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

A value that indicates the starting point for the next set of response * records in a subsequent request. If a value is returned in a response, you can * retrieve the next set of records by providing this returned marker value in the * marker parameter and retrying the command. If the * marker field is empty, all response records have been retrieved for * the request.

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

A value that indicates the starting point for the next set of response * records in a subsequent request. If a value is returned in a response, you can * retrieve the next set of records by providing this returned marker value in the * marker parameter and retrying the command. If the * marker field is empty, all response records have been retrieved for * the request.

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

A value that indicates the starting point for the next set of response * records in a subsequent request. If a value is returned in a response, you can * retrieve the next set of records by providing this returned marker value in the * marker parameter and retrying the command. If the * marker field is empty, all response records have been retrieved for * the request.

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

A value that indicates the starting point for the next set of response * records in a subsequent request. If a value is returned in a response, you can * retrieve the next set of records by providing this returned marker value in the * marker parameter and retrying the command. If the * marker field is empty, all response records have been retrieved for * the request.

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

A value that indicates the starting point for the next set of response * records in a subsequent request. If a value is returned in a response, you can * retrieve the next set of records by providing this returned marker value in the * marker parameter and retrying the command. If the * marker field is empty, all response records have been retrieved for * the request.

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

A value that indicates the starting point for the next set of response * records in a subsequent request. If a value is returned in a response, you can * retrieve the next set of records by providing this returned marker value in the * marker parameter and retrying the command. If the * marker field is empty, all response records have been retrieved for * the request.

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

A value that indicates the starting point for the next set of response * records in a subsequent request. If a value is returned in a response, you can * retrieve the next set of records by providing this returned marker value in the * marker parameter and retrying the command. If the * marker field is empty, all response records have been retrieved for * the request.

*/ inline DescribeSnapshotSchedulesRequest& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

The maximum number or response records to return in each call. If the number * of remaining response records exceeds the specified MaxRecords * value, a value is returned in a marker field of the response. You * can retrieve the next set of records by retrying the command with the returned * marker value.

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

The maximum number or response records to return in each call. If the number * of remaining response records exceeds the specified MaxRecords * value, a value is returned in a marker field of the response. You * can retrieve the next set of records by retrying the command with the returned * marker value.

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

The maximum number or response records to return in each call. If the number * of remaining response records exceeds the specified MaxRecords * value, a value is returned in a marker field of the response. You * can retrieve the next set of records by retrying the command with the returned * marker value.

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

The maximum number or response records to return in each call. If the number * of remaining response records exceeds the specified MaxRecords * value, a value is returned in a marker field of the response. You * can retrieve the next set of records by retrying the command with the returned * marker value.

*/ inline DescribeSnapshotSchedulesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;} private: Aws::String m_clusterIdentifier; bool m_clusterIdentifierHasBeenSet = false; Aws::String m_scheduleIdentifier; bool m_scheduleIdentifierHasBeenSet = false; Aws::Vector m_tagKeys; bool m_tagKeysHasBeenSet = false; Aws::Vector m_tagValues; bool m_tagValuesHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; int m_maxRecords; bool m_maxRecordsHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws