/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace RDS { namespace Model { /** *

See Also:

AWS * API Reference

*/ class DescribeDBSnapshotsRequest : public RDSRequest { public: AWS_RDS_API DescribeDBSnapshotsRequest(); // 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 "DescribeDBSnapshots"; } AWS_RDS_API Aws::String SerializePayload() const override; protected: AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The ID of the DB instance to retrieve the list of DB snapshots for. This * parameter isn't case-sensitive.

Constraints:

  • If * supplied, must match the identifier of an existing DBInstance.

*/ inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; } /** *

The ID of the DB instance to retrieve the list of DB snapshots for. This * parameter isn't case-sensitive.

Constraints:

  • If * supplied, must match the identifier of an existing DBInstance.

*/ inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; } /** *

The ID of the DB instance to retrieve the list of DB snapshots for. This * parameter isn't case-sensitive.

Constraints:

  • If * supplied, must match the identifier of an existing DBInstance.

*/ inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; } /** *

The ID of the DB instance to retrieve the list of DB snapshots for. This * parameter isn't case-sensitive.

Constraints:

  • If * supplied, must match the identifier of an existing DBInstance.

*/ inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); } /** *

The ID of the DB instance to retrieve the list of DB snapshots for. This * parameter isn't case-sensitive.

Constraints:

  • If * supplied, must match the identifier of an existing DBInstance.

*/ inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); } /** *

The ID of the DB instance to retrieve the list of DB snapshots for. This * parameter isn't case-sensitive.

Constraints:

  • If * supplied, must match the identifier of an existing DBInstance.

*/ inline DescribeDBSnapshotsRequest& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;} /** *

The ID of the DB instance to retrieve the list of DB snapshots for. This * parameter isn't case-sensitive.

Constraints:

  • If * supplied, must match the identifier of an existing DBInstance.

*/ inline DescribeDBSnapshotsRequest& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;} /** *

The ID of the DB instance to retrieve the list of DB snapshots for. This * parameter isn't case-sensitive.

Constraints:

  • If * supplied, must match the identifier of an existing DBInstance.

*/ inline DescribeDBSnapshotsRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;} /** *

A specific DB snapshot identifier to describe. This value is stored as a * lowercase string.

Constraints:

  • If supplied, must match * the identifier of an existing DBSnapshot.

  • If this identifier * is for an automated snapshot, the SnapshotType parameter must also * be specified.

*/ inline const Aws::String& GetDBSnapshotIdentifier() const{ return m_dBSnapshotIdentifier; } /** *

A specific DB snapshot identifier to describe. This value is stored as a * lowercase string.

Constraints:

  • If supplied, must match * the identifier of an existing DBSnapshot.

  • If this identifier * is for an automated snapshot, the SnapshotType parameter must also * be specified.

*/ inline bool DBSnapshotIdentifierHasBeenSet() const { return m_dBSnapshotIdentifierHasBeenSet; } /** *

A specific DB snapshot identifier to describe. This value is stored as a * lowercase string.

Constraints:

  • If supplied, must match * the identifier of an existing DBSnapshot.

  • If this identifier * is for an automated snapshot, the SnapshotType parameter must also * be specified.

*/ inline void SetDBSnapshotIdentifier(const Aws::String& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = value; } /** *

A specific DB snapshot identifier to describe. This value is stored as a * lowercase string.

Constraints:

  • If supplied, must match * the identifier of an existing DBSnapshot.

  • If this identifier * is for an automated snapshot, the SnapshotType parameter must also * be specified.

*/ inline void SetDBSnapshotIdentifier(Aws::String&& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = std::move(value); } /** *

A specific DB snapshot identifier to describe. This value is stored as a * lowercase string.

Constraints:

  • If supplied, must match * the identifier of an existing DBSnapshot.

  • If this identifier * is for an automated snapshot, the SnapshotType parameter must also * be specified.

*/ inline void SetDBSnapshotIdentifier(const char* value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier.assign(value); } /** *

A specific DB snapshot identifier to describe. This value is stored as a * lowercase string.

Constraints:

  • If supplied, must match * the identifier of an existing DBSnapshot.

  • If this identifier * is for an automated snapshot, the SnapshotType parameter must also * be specified.

*/ inline DescribeDBSnapshotsRequest& WithDBSnapshotIdentifier(const Aws::String& value) { SetDBSnapshotIdentifier(value); return *this;} /** *

A specific DB snapshot identifier to describe. This value is stored as a * lowercase string.

Constraints:

  • If supplied, must match * the identifier of an existing DBSnapshot.

  • If this identifier * is for an automated snapshot, the SnapshotType parameter must also * be specified.

*/ inline DescribeDBSnapshotsRequest& WithDBSnapshotIdentifier(Aws::String&& value) { SetDBSnapshotIdentifier(std::move(value)); return *this;} /** *

A specific DB snapshot identifier to describe. This value is stored as a * lowercase string.

Constraints:

  • If supplied, must match * the identifier of an existing DBSnapshot.

  • If this identifier * is for an automated snapshot, the SnapshotType parameter must also * be specified.

*/ inline DescribeDBSnapshotsRequest& WithDBSnapshotIdentifier(const char* value) { SetDBSnapshotIdentifier(value); return *this;} /** *

The type of snapshots to be returned. You can specify one of the following * values:

  • automated - Return all DB snapshots that * have been automatically taken by Amazon RDS for my Amazon Web Services * account.

  • manual - Return all DB snapshots that * have been taken by my Amazon Web Services account.

  • * shared - Return all manual DB snapshots that have been shared to my * Amazon Web Services account.

  • public - Return all * DB snapshots that have been marked as public.

  • * awsbackup - Return the DB snapshots managed by the Amazon Web * Services Backup service.

    For information about Amazon Web Services * Backup, see the * Amazon Web Services Backup Developer Guide.

    The * awsbackup type does not apply to Aurora.

If you * don't specify a SnapshotType value, then both automated and manual * snapshots are returned. Shared and public DB snapshots are not included in the * returned results by default. You can include shared snapshots with these results * by enabling the IncludeShared parameter. You can include public * snapshots with these results by enabling the IncludePublic * parameter.

The IncludeShared and IncludePublic * parameters don't apply for SnapshotType values of * manual or automated. The IncludePublic * parameter doesn't apply when SnapshotType is set to * shared. The IncludeShared parameter doesn't apply when * SnapshotType is set to public.

*/ inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; } /** *

The type of snapshots to be returned. You can specify one of the following * values:

  • automated - Return all DB snapshots that * have been automatically taken by Amazon RDS for my Amazon Web Services * account.

  • manual - Return all DB snapshots that * have been taken by my Amazon Web Services account.

  • * shared - Return all manual DB snapshots that have been shared to my * Amazon Web Services account.

  • public - Return all * DB snapshots that have been marked as public.

  • * awsbackup - Return the DB snapshots managed by the Amazon Web * Services Backup service.

    For information about Amazon Web Services * Backup, see the * Amazon Web Services Backup Developer Guide.

    The * awsbackup type does not apply to Aurora.

If you * don't specify a SnapshotType value, then both automated and manual * snapshots are returned. Shared and public DB snapshots are not included in the * returned results by default. You can include shared snapshots with these results * by enabling the IncludeShared parameter. You can include public * snapshots with these results by enabling the IncludePublic * parameter.

The IncludeShared and IncludePublic * parameters don't apply for SnapshotType values of * manual or automated. The IncludePublic * parameter doesn't apply when SnapshotType is set to * shared. The IncludeShared parameter doesn't apply when * SnapshotType is set to public.

*/ inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; } /** *

The type of snapshots to be returned. You can specify one of the following * values:

  • automated - Return all DB snapshots that * have been automatically taken by Amazon RDS for my Amazon Web Services * account.

  • manual - Return all DB snapshots that * have been taken by my Amazon Web Services account.

  • * shared - Return all manual DB snapshots that have been shared to my * Amazon Web Services account.

  • public - Return all * DB snapshots that have been marked as public.

  • * awsbackup - Return the DB snapshots managed by the Amazon Web * Services Backup service.

    For information about Amazon Web Services * Backup, see the * Amazon Web Services Backup Developer Guide.

    The * awsbackup type does not apply to Aurora.

If you * don't specify a SnapshotType value, then both automated and manual * snapshots are returned. Shared and public DB snapshots are not included in the * returned results by default. You can include shared snapshots with these results * by enabling the IncludeShared parameter. You can include public * snapshots with these results by enabling the IncludePublic * parameter.

The IncludeShared and IncludePublic * parameters don't apply for SnapshotType values of * manual or automated. The IncludePublic * parameter doesn't apply when SnapshotType is set to * shared. The IncludeShared parameter doesn't apply when * SnapshotType is set to public.

*/ inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; } /** *

The type of snapshots to be returned. You can specify one of the following * values:

  • automated - Return all DB snapshots that * have been automatically taken by Amazon RDS for my Amazon Web Services * account.

  • manual - Return all DB snapshots that * have been taken by my Amazon Web Services account.

  • * shared - Return all manual DB snapshots that have been shared to my * Amazon Web Services account.

  • public - Return all * DB snapshots that have been marked as public.

  • * awsbackup - Return the DB snapshots managed by the Amazon Web * Services Backup service.

    For information about Amazon Web Services * Backup, see the * Amazon Web Services Backup Developer Guide.

    The * awsbackup type does not apply to Aurora.

If you * don't specify a SnapshotType value, then both automated and manual * snapshots are returned. Shared and public DB snapshots are not included in the * returned results by default. You can include shared snapshots with these results * by enabling the IncludeShared parameter. You can include public * snapshots with these results by enabling the IncludePublic * parameter.

The IncludeShared and IncludePublic * parameters don't apply for SnapshotType values of * manual or automated. The IncludePublic * parameter doesn't apply when SnapshotType is set to * shared. The IncludeShared parameter doesn't apply when * SnapshotType is set to public.

*/ inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::move(value); } /** *

The type of snapshots to be returned. You can specify one of the following * values:

  • automated - Return all DB snapshots that * have been automatically taken by Amazon RDS for my Amazon Web Services * account.

  • manual - Return all DB snapshots that * have been taken by my Amazon Web Services account.

  • * shared - Return all manual DB snapshots that have been shared to my * Amazon Web Services account.

  • public - Return all * DB snapshots that have been marked as public.

  • * awsbackup - Return the DB snapshots managed by the Amazon Web * Services Backup service.

    For information about Amazon Web Services * Backup, see the * Amazon Web Services Backup Developer Guide.

    The * awsbackup type does not apply to Aurora.

If you * don't specify a SnapshotType value, then both automated and manual * snapshots are returned. Shared and public DB snapshots are not included in the * returned results by default. You can include shared snapshots with these results * by enabling the IncludeShared parameter. You can include public * snapshots with these results by enabling the IncludePublic * parameter.

The IncludeShared and IncludePublic * parameters don't apply for SnapshotType values of * manual or automated. The IncludePublic * parameter doesn't apply when SnapshotType is set to * shared. The IncludeShared parameter doesn't apply when * SnapshotType is set to public.

*/ inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); } /** *

The type of snapshots to be returned. You can specify one of the following * values:

  • automated - Return all DB snapshots that * have been automatically taken by Amazon RDS for my Amazon Web Services * account.

  • manual - Return all DB snapshots that * have been taken by my Amazon Web Services account.

  • * shared - Return all manual DB snapshots that have been shared to my * Amazon Web Services account.

  • public - Return all * DB snapshots that have been marked as public.

  • * awsbackup - Return the DB snapshots managed by the Amazon Web * Services Backup service.

    For information about Amazon Web Services * Backup, see the * Amazon Web Services Backup Developer Guide.

    The * awsbackup type does not apply to Aurora.

If you * don't specify a SnapshotType value, then both automated and manual * snapshots are returned. Shared and public DB snapshots are not included in the * returned results by default. You can include shared snapshots with these results * by enabling the IncludeShared parameter. You can include public * snapshots with these results by enabling the IncludePublic * parameter.

The IncludeShared and IncludePublic * parameters don't apply for SnapshotType values of * manual or automated. The IncludePublic * parameter doesn't apply when SnapshotType is set to * shared. The IncludeShared parameter doesn't apply when * SnapshotType is set to public.

*/ inline DescribeDBSnapshotsRequest& WithSnapshotType(const Aws::String& value) { SetSnapshotType(value); return *this;} /** *

The type of snapshots to be returned. You can specify one of the following * values:

  • automated - Return all DB snapshots that * have been automatically taken by Amazon RDS for my Amazon Web Services * account.

  • manual - Return all DB snapshots that * have been taken by my Amazon Web Services account.

  • * shared - Return all manual DB snapshots that have been shared to my * Amazon Web Services account.

  • public - Return all * DB snapshots that have been marked as public.

  • * awsbackup - Return the DB snapshots managed by the Amazon Web * Services Backup service.

    For information about Amazon Web Services * Backup, see the * Amazon Web Services Backup Developer Guide.

    The * awsbackup type does not apply to Aurora.

If you * don't specify a SnapshotType value, then both automated and manual * snapshots are returned. Shared and public DB snapshots are not included in the * returned results by default. You can include shared snapshots with these results * by enabling the IncludeShared parameter. You can include public * snapshots with these results by enabling the IncludePublic * parameter.

The IncludeShared and IncludePublic * parameters don't apply for SnapshotType values of * manual or automated. The IncludePublic * parameter doesn't apply when SnapshotType is set to * shared. The IncludeShared parameter doesn't apply when * SnapshotType is set to public.

*/ inline DescribeDBSnapshotsRequest& WithSnapshotType(Aws::String&& value) { SetSnapshotType(std::move(value)); return *this;} /** *

The type of snapshots to be returned. You can specify one of the following * values:

  • automated - Return all DB snapshots that * have been automatically taken by Amazon RDS for my Amazon Web Services * account.

  • manual - Return all DB snapshots that * have been taken by my Amazon Web Services account.

  • * shared - Return all manual DB snapshots that have been shared to my * Amazon Web Services account.

  • public - Return all * DB snapshots that have been marked as public.

  • * awsbackup - Return the DB snapshots managed by the Amazon Web * Services Backup service.

    For information about Amazon Web Services * Backup, see the * Amazon Web Services Backup Developer Guide.

    The * awsbackup type does not apply to Aurora.

If you * don't specify a SnapshotType value, then both automated and manual * snapshots are returned. Shared and public DB snapshots are not included in the * returned results by default. You can include shared snapshots with these results * by enabling the IncludeShared parameter. You can include public * snapshots with these results by enabling the IncludePublic * parameter.

The IncludeShared and IncludePublic * parameters don't apply for SnapshotType values of * manual or automated. The IncludePublic * parameter doesn't apply when SnapshotType is set to * shared. The IncludeShared parameter doesn't apply when * SnapshotType is set to public.

*/ inline DescribeDBSnapshotsRequest& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;} /** *

A filter that specifies one or more DB snapshots to describe.

*

Supported filters:

  • db-instance-id - Accepts DB * instance identifiers and DB instance Amazon Resource Names (ARNs).

  • *
  • db-snapshot-id - Accepts DB snapshot identifiers.

    *
  • dbi-resource-id - Accepts identifiers of source DB * instances.

  • snapshot-type - Accepts types of DB * snapshots.

  • engine - Accepts names of database * engines.

*/ inline const Aws::Vector& GetFilters() const{ return m_filters; } /** *

A filter that specifies one or more DB snapshots to describe.

*

Supported filters:

  • db-instance-id - Accepts DB * instance identifiers and DB instance Amazon Resource Names (ARNs).

  • *
  • db-snapshot-id - Accepts DB snapshot identifiers.

    *
  • dbi-resource-id - Accepts identifiers of source DB * instances.

  • snapshot-type - Accepts types of DB * snapshots.

  • engine - Accepts names of database * engines.

*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

A filter that specifies one or more DB snapshots to describe.

*

Supported filters:

  • db-instance-id - Accepts DB * instance identifiers and DB instance Amazon Resource Names (ARNs).

  • *
  • db-snapshot-id - Accepts DB snapshot identifiers.

    *
  • dbi-resource-id - Accepts identifiers of source DB * instances.

  • snapshot-type - Accepts types of DB * snapshots.

  • engine - Accepts names of database * engines.

*/ inline void SetFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

A filter that specifies one or more DB snapshots to describe.

*

Supported filters:

  • db-instance-id - Accepts DB * instance identifiers and DB instance Amazon Resource Names (ARNs).

  • *
  • db-snapshot-id - Accepts DB snapshot identifiers.

    *
  • dbi-resource-id - Accepts identifiers of source DB * instances.

  • snapshot-type - Accepts types of DB * snapshots.

  • engine - Accepts names of database * engines.

*/ inline void SetFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

A filter that specifies one or more DB snapshots to describe.

*

Supported filters:

  • db-instance-id - Accepts DB * instance identifiers and DB instance Amazon Resource Names (ARNs).

  • *
  • db-snapshot-id - Accepts DB snapshot identifiers.

    *
  • dbi-resource-id - Accepts identifiers of source DB * instances.

  • snapshot-type - Accepts types of DB * snapshots.

  • engine - Accepts names of database * engines.

*/ inline DescribeDBSnapshotsRequest& WithFilters(const Aws::Vector& value) { SetFilters(value); return *this;} /** *

A filter that specifies one or more DB snapshots to describe.

*

Supported filters:

  • db-instance-id - Accepts DB * instance identifiers and DB instance Amazon Resource Names (ARNs).

  • *
  • db-snapshot-id - Accepts DB snapshot identifiers.

    *
  • dbi-resource-id - Accepts identifiers of source DB * instances.

  • snapshot-type - Accepts types of DB * snapshots.

  • engine - Accepts names of database * engines.

*/ inline DescribeDBSnapshotsRequest& WithFilters(Aws::Vector&& value) { SetFilters(std::move(value)); return *this;} /** *

A filter that specifies one or more DB snapshots to describe.

*

Supported filters:

  • db-instance-id - Accepts DB * instance identifiers and DB instance Amazon Resource Names (ARNs).

  • *
  • db-snapshot-id - Accepts DB snapshot identifiers.

    *
  • dbi-resource-id - Accepts identifiers of source DB * instances.

  • snapshot-type - Accepts types of DB * snapshots.

  • engine - Accepts names of database * engines.

*/ inline DescribeDBSnapshotsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } /** *

A filter that specifies one or more DB snapshots to describe.

*

Supported filters:

  • db-instance-id - Accepts DB * instance identifiers and DB instance Amazon Resource Names (ARNs).

  • *
  • db-snapshot-id - Accepts DB snapshot identifiers.

    *
  • dbi-resource-id - Accepts identifiers of source DB * instances.

  • snapshot-type - Accepts types of DB * snapshots.

  • engine - Accepts names of database * engines.

*/ inline DescribeDBSnapshotsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } /** *

The maximum number of records to include in the response. If more records * exist than the specified MaxRecords value, a pagination token * called a marker is included in the response so that you can retrieve the * remaining results.

Default: 100

Constraints: Minimum 20, maximum * 100.

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

The maximum number of records to include in the response. If more records * exist than the specified MaxRecords value, a pagination token * called a marker is included in the response so that you can retrieve the * remaining results.

Default: 100

Constraints: Minimum 20, maximum * 100.

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

The maximum number of records to include in the response. If more records * exist than the specified MaxRecords value, a pagination token * called a marker is included in the response so that you can retrieve the * remaining results.

Default: 100

Constraints: Minimum 20, maximum * 100.

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

The maximum number of records to include in the response. If more records * exist than the specified MaxRecords value, a pagination token * called a marker is included in the response so that you can retrieve the * remaining results.

Default: 100

Constraints: Minimum 20, maximum * 100.

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

An optional pagination token provided by a previous * DescribeDBSnapshots request. 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 pagination token provided by a previous * DescribeDBSnapshots request. 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 pagination token provided by a previous * DescribeDBSnapshots request. 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 pagination token provided by a previous * DescribeDBSnapshots request. 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 pagination token provided by a previous * DescribeDBSnapshots request. 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 pagination token provided by a previous * DescribeDBSnapshots request. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * MaxRecords.

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

An optional pagination token provided by a previous * DescribeDBSnapshots request. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * MaxRecords.

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

An optional pagination token provided by a previous * DescribeDBSnapshots request. If this parameter is specified, the * response includes only records beyond the marker, up to the value specified by * MaxRecords.

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

A value that indicates whether to include shared manual DB cluster snapshots * from other Amazon Web Services accounts that this Amazon Web Services account * has been given permission to copy or restore. By default, these snapshots are * not included.

You can give an Amazon Web Services account permission to * restore a manual DB snapshot from another Amazon Web Services account by using * the ModifyDBSnapshotAttribute API action.

This setting * doesn't apply to RDS Custom.

*/ inline bool GetIncludeShared() const{ return m_includeShared; } /** *

A value that indicates whether to include shared manual DB cluster snapshots * from other Amazon Web Services accounts that this Amazon Web Services account * has been given permission to copy or restore. By default, these snapshots are * not included.

You can give an Amazon Web Services account permission to * restore a manual DB snapshot from another Amazon Web Services account by using * the ModifyDBSnapshotAttribute API action.

This setting * doesn't apply to RDS Custom.

*/ inline bool IncludeSharedHasBeenSet() const { return m_includeSharedHasBeenSet; } /** *

A value that indicates whether to include shared manual DB cluster snapshots * from other Amazon Web Services accounts that this Amazon Web Services account * has been given permission to copy or restore. By default, these snapshots are * not included.

You can give an Amazon Web Services account permission to * restore a manual DB snapshot from another Amazon Web Services account by using * the ModifyDBSnapshotAttribute API action.

This setting * doesn't apply to RDS Custom.

*/ inline void SetIncludeShared(bool value) { m_includeSharedHasBeenSet = true; m_includeShared = value; } /** *

A value that indicates whether to include shared manual DB cluster snapshots * from other Amazon Web Services accounts that this Amazon Web Services account * has been given permission to copy or restore. By default, these snapshots are * not included.

You can give an Amazon Web Services account permission to * restore a manual DB snapshot from another Amazon Web Services account by using * the ModifyDBSnapshotAttribute API action.

This setting * doesn't apply to RDS Custom.

*/ inline DescribeDBSnapshotsRequest& WithIncludeShared(bool value) { SetIncludeShared(value); return *this;} /** *

A value that indicates whether to include manual DB cluster snapshots that * are public and can be copied or restored by any Amazon Web Services account. By * default, the public snapshots are not included.

You can share a manual DB * snapshot as public by using the ModifyDBSnapshotAttribute API.

*

This setting doesn't apply to RDS Custom.

*/ inline bool GetIncludePublic() const{ return m_includePublic; } /** *

A value that indicates whether to include manual DB cluster snapshots that * are public and can be copied or restored by any Amazon Web Services account. By * default, the public snapshots are not included.

You can share a manual DB * snapshot as public by using the ModifyDBSnapshotAttribute API.

*

This setting doesn't apply to RDS Custom.

*/ inline bool IncludePublicHasBeenSet() const { return m_includePublicHasBeenSet; } /** *

A value that indicates whether to include manual DB cluster snapshots that * are public and can be copied or restored by any Amazon Web Services account. By * default, the public snapshots are not included.

You can share a manual DB * snapshot as public by using the ModifyDBSnapshotAttribute API.

*

This setting doesn't apply to RDS Custom.

*/ inline void SetIncludePublic(bool value) { m_includePublicHasBeenSet = true; m_includePublic = value; } /** *

A value that indicates whether to include manual DB cluster snapshots that * are public and can be copied or restored by any Amazon Web Services account. By * default, the public snapshots are not included.

You can share a manual DB * snapshot as public by using the ModifyDBSnapshotAttribute API.

*

This setting doesn't apply to RDS Custom.

*/ inline DescribeDBSnapshotsRequest& WithIncludePublic(bool value) { SetIncludePublic(value); return *this;} /** *

A specific DB resource ID to describe.

*/ inline const Aws::String& GetDbiResourceId() const{ return m_dbiResourceId; } /** *

A specific DB resource ID to describe.

*/ inline bool DbiResourceIdHasBeenSet() const { return m_dbiResourceIdHasBeenSet; } /** *

A specific DB resource ID to describe.

*/ inline void SetDbiResourceId(const Aws::String& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = value; } /** *

A specific DB resource ID to describe.

*/ inline void SetDbiResourceId(Aws::String&& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = std::move(value); } /** *

A specific DB resource ID to describe.

*/ inline void SetDbiResourceId(const char* value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId.assign(value); } /** *

A specific DB resource ID to describe.

*/ inline DescribeDBSnapshotsRequest& WithDbiResourceId(const Aws::String& value) { SetDbiResourceId(value); return *this;} /** *

A specific DB resource ID to describe.

*/ inline DescribeDBSnapshotsRequest& WithDbiResourceId(Aws::String&& value) { SetDbiResourceId(std::move(value)); return *this;} /** *

A specific DB resource ID to describe.

*/ inline DescribeDBSnapshotsRequest& WithDbiResourceId(const char* value) { SetDbiResourceId(value); return *this;} private: Aws::String m_dBInstanceIdentifier; bool m_dBInstanceIdentifierHasBeenSet = false; Aws::String m_dBSnapshotIdentifier; bool m_dBSnapshotIdentifierHasBeenSet = false; Aws::String m_snapshotType; bool m_snapshotTypeHasBeenSet = false; Aws::Vector m_filters; bool m_filtersHasBeenSet = false; int m_maxRecords; bool m_maxRecordsHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; bool m_includeShared; bool m_includeSharedHasBeenSet = false; bool m_includePublic; bool m_includePublicHasBeenSet = false; Aws::String m_dbiResourceId; bool m_dbiResourceIdHasBeenSet = false; }; } // namespace Model } // namespace RDS } // namespace Aws