/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
The identifier for the DB cluster snapshot to modify the attributes for.
*/ inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; } /** *The identifier for the DB cluster snapshot to modify the attributes for.
*/ inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; } /** *The identifier for the DB cluster snapshot to modify the attributes for.
*/ inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; } /** *The identifier for the DB cluster snapshot to modify the attributes for.
*/ inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); } /** *The identifier for the DB cluster snapshot to modify the attributes for.
*/ inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); } /** *The identifier for the DB cluster snapshot to modify the attributes for.
*/ inline ModifyDBClusterSnapshotAttributeRequest& WithDBClusterSnapshotIdentifier(const Aws::String& value) { SetDBClusterSnapshotIdentifier(value); return *this;} /** *The identifier for the DB cluster snapshot to modify the attributes for.
*/ inline ModifyDBClusterSnapshotAttributeRequest& WithDBClusterSnapshotIdentifier(Aws::String&& value) { SetDBClusterSnapshotIdentifier(std::move(value)); return *this;} /** *The identifier for the DB cluster snapshot to modify the attributes for.
*/ inline ModifyDBClusterSnapshotAttributeRequest& WithDBClusterSnapshotIdentifier(const char* value) { SetDBClusterSnapshotIdentifier(value); return *this;} /** *The name of the DB cluster snapshot attribute to modify.
To manage
* authorization for other Amazon Web Services accounts to copy or restore a manual
* DB cluster snapshot, set this value to restore
.
To * view the list of attributes available to modify, use the * DescribeDBClusterSnapshotAttributes API operation.
*/ inline const Aws::String& GetAttributeName() const{ return m_attributeName; } /** *The name of the DB cluster snapshot attribute to modify.
To manage
* authorization for other Amazon Web Services accounts to copy or restore a manual
* DB cluster snapshot, set this value to restore
.
To * view the list of attributes available to modify, use the * DescribeDBClusterSnapshotAttributes API operation.
*/ inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; } /** *The name of the DB cluster snapshot attribute to modify.
To manage
* authorization for other Amazon Web Services accounts to copy or restore a manual
* DB cluster snapshot, set this value to restore
.
To * view the list of attributes available to modify, use the * DescribeDBClusterSnapshotAttributes API operation.
*/ inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; } /** *The name of the DB cluster snapshot attribute to modify.
To manage
* authorization for other Amazon Web Services accounts to copy or restore a manual
* DB cluster snapshot, set this value to restore
.
To * view the list of attributes available to modify, use the * DescribeDBClusterSnapshotAttributes API operation.
*/ inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); } /** *The name of the DB cluster snapshot attribute to modify.
To manage
* authorization for other Amazon Web Services accounts to copy or restore a manual
* DB cluster snapshot, set this value to restore
.
To * view the list of attributes available to modify, use the * DescribeDBClusterSnapshotAttributes API operation.
*/ inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); } /** *The name of the DB cluster snapshot attribute to modify.
To manage
* authorization for other Amazon Web Services accounts to copy or restore a manual
* DB cluster snapshot, set this value to restore
.
To * view the list of attributes available to modify, use the * DescribeDBClusterSnapshotAttributes API operation.
*/ inline ModifyDBClusterSnapshotAttributeRequest& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;} /** *The name of the DB cluster snapshot attribute to modify.
To manage
* authorization for other Amazon Web Services accounts to copy or restore a manual
* DB cluster snapshot, set this value to restore
.
To * view the list of attributes available to modify, use the * DescribeDBClusterSnapshotAttributes API operation.
*/ inline ModifyDBClusterSnapshotAttributeRequest& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;} /** *The name of the DB cluster snapshot attribute to modify.
To manage
* authorization for other Amazon Web Services accounts to copy or restore a manual
* DB cluster snapshot, set this value to restore
.
To * view the list of attributes available to modify, use the * DescribeDBClusterSnapshotAttributes API operation.
*/ inline ModifyDBClusterSnapshotAttributeRequest& WithAttributeName(const char* value) { SetAttributeName(value); return *this;} /** *A list of DB cluster snapshot attributes to add to the attribute specified by
* AttributeName
.
To authorize other Amazon Web Services
* accounts to copy or restore a manual DB cluster snapshot, set this list to
* include one or more Amazon Web Services account IDs, or all
to make
* the manual DB cluster snapshot restorable by any Amazon Web Services account. Do
* not add the all
value for any manual DB cluster snapshots that
* contain private information that you don't want available to all Amazon Web
* Services accounts.
A list of DB cluster snapshot attributes to add to the attribute specified by
* AttributeName
.
To authorize other Amazon Web Services
* accounts to copy or restore a manual DB cluster snapshot, set this list to
* include one or more Amazon Web Services account IDs, or all
to make
* the manual DB cluster snapshot restorable by any Amazon Web Services account. Do
* not add the all
value for any manual DB cluster snapshots that
* contain private information that you don't want available to all Amazon Web
* Services accounts.
A list of DB cluster snapshot attributes to add to the attribute specified by
* AttributeName
.
To authorize other Amazon Web Services
* accounts to copy or restore a manual DB cluster snapshot, set this list to
* include one or more Amazon Web Services account IDs, or all
to make
* the manual DB cluster snapshot restorable by any Amazon Web Services account. Do
* not add the all
value for any manual DB cluster snapshots that
* contain private information that you don't want available to all Amazon Web
* Services accounts.
A list of DB cluster snapshot attributes to add to the attribute specified by
* AttributeName
.
To authorize other Amazon Web Services
* accounts to copy or restore a manual DB cluster snapshot, set this list to
* include one or more Amazon Web Services account IDs, or all
to make
* the manual DB cluster snapshot restorable by any Amazon Web Services account. Do
* not add the all
value for any manual DB cluster snapshots that
* contain private information that you don't want available to all Amazon Web
* Services accounts.
A list of DB cluster snapshot attributes to add to the attribute specified by
* AttributeName
.
To authorize other Amazon Web Services
* accounts to copy or restore a manual DB cluster snapshot, set this list to
* include one or more Amazon Web Services account IDs, or all
to make
* the manual DB cluster snapshot restorable by any Amazon Web Services account. Do
* not add the all
value for any manual DB cluster snapshots that
* contain private information that you don't want available to all Amazon Web
* Services accounts.
A list of DB cluster snapshot attributes to add to the attribute specified by
* AttributeName
.
To authorize other Amazon Web Services
* accounts to copy or restore a manual DB cluster snapshot, set this list to
* include one or more Amazon Web Services account IDs, or all
to make
* the manual DB cluster snapshot restorable by any Amazon Web Services account. Do
* not add the all
value for any manual DB cluster snapshots that
* contain private information that you don't want available to all Amazon Web
* Services accounts.
A list of DB cluster snapshot attributes to add to the attribute specified by
* AttributeName
.
To authorize other Amazon Web Services
* accounts to copy or restore a manual DB cluster snapshot, set this list to
* include one or more Amazon Web Services account IDs, or all
to make
* the manual DB cluster snapshot restorable by any Amazon Web Services account. Do
* not add the all
value for any manual DB cluster snapshots that
* contain private information that you don't want available to all Amazon Web
* Services accounts.
A list of DB cluster snapshot attributes to add to the attribute specified by
* AttributeName
.
To authorize other Amazon Web Services
* accounts to copy or restore a manual DB cluster snapshot, set this list to
* include one or more Amazon Web Services account IDs, or all
to make
* the manual DB cluster snapshot restorable by any Amazon Web Services account. Do
* not add the all
value for any manual DB cluster snapshots that
* contain private information that you don't want available to all Amazon Web
* Services accounts.
A list of DB cluster snapshot attributes to add to the attribute specified by
* AttributeName
.
To authorize other Amazon Web Services
* accounts to copy or restore a manual DB cluster snapshot, set this list to
* include one or more Amazon Web Services account IDs, or all
to make
* the manual DB cluster snapshot restorable by any Amazon Web Services account. Do
* not add the all
value for any manual DB cluster snapshots that
* contain private information that you don't want available to all Amazon Web
* Services accounts.
A list of DB cluster snapshot attributes to remove from the attribute
* specified by AttributeName
.
To remove authorization for
* other Amazon Web Services accounts to copy or restore a manual DB cluster
* snapshot, set this list to include one or more Amazon Web Services account
* identifiers, or all
to remove authorization for any Amazon Web
* Services account to copy or restore the DB cluster snapshot. If you specify
* all
, an Amazon Web Services account whose account ID is explicitly
* added to the restore
attribute can still copy or restore a manual
* DB cluster snapshot.
A list of DB cluster snapshot attributes to remove from the attribute
* specified by AttributeName
.
To remove authorization for
* other Amazon Web Services accounts to copy or restore a manual DB cluster
* snapshot, set this list to include one or more Amazon Web Services account
* identifiers, or all
to remove authorization for any Amazon Web
* Services account to copy or restore the DB cluster snapshot. If you specify
* all
, an Amazon Web Services account whose account ID is explicitly
* added to the restore
attribute can still copy or restore a manual
* DB cluster snapshot.
A list of DB cluster snapshot attributes to remove from the attribute
* specified by AttributeName
.
To remove authorization for
* other Amazon Web Services accounts to copy or restore a manual DB cluster
* snapshot, set this list to include one or more Amazon Web Services account
* identifiers, or all
to remove authorization for any Amazon Web
* Services account to copy or restore the DB cluster snapshot. If you specify
* all
, an Amazon Web Services account whose account ID is explicitly
* added to the restore
attribute can still copy or restore a manual
* DB cluster snapshot.
A list of DB cluster snapshot attributes to remove from the attribute
* specified by AttributeName
.
To remove authorization for
* other Amazon Web Services accounts to copy or restore a manual DB cluster
* snapshot, set this list to include one or more Amazon Web Services account
* identifiers, or all
to remove authorization for any Amazon Web
* Services account to copy or restore the DB cluster snapshot. If you specify
* all
, an Amazon Web Services account whose account ID is explicitly
* added to the restore
attribute can still copy or restore a manual
* DB cluster snapshot.
A list of DB cluster snapshot attributes to remove from the attribute
* specified by AttributeName
.
To remove authorization for
* other Amazon Web Services accounts to copy or restore a manual DB cluster
* snapshot, set this list to include one or more Amazon Web Services account
* identifiers, or all
to remove authorization for any Amazon Web
* Services account to copy or restore the DB cluster snapshot. If you specify
* all
, an Amazon Web Services account whose account ID is explicitly
* added to the restore
attribute can still copy or restore a manual
* DB cluster snapshot.
A list of DB cluster snapshot attributes to remove from the attribute
* specified by AttributeName
.
To remove authorization for
* other Amazon Web Services accounts to copy or restore a manual DB cluster
* snapshot, set this list to include one or more Amazon Web Services account
* identifiers, or all
to remove authorization for any Amazon Web
* Services account to copy or restore the DB cluster snapshot. If you specify
* all
, an Amazon Web Services account whose account ID is explicitly
* added to the restore
attribute can still copy or restore a manual
* DB cluster snapshot.
A list of DB cluster snapshot attributes to remove from the attribute
* specified by AttributeName
.
To remove authorization for
* other Amazon Web Services accounts to copy or restore a manual DB cluster
* snapshot, set this list to include one or more Amazon Web Services account
* identifiers, or all
to remove authorization for any Amazon Web
* Services account to copy or restore the DB cluster snapshot. If you specify
* all
, an Amazon Web Services account whose account ID is explicitly
* added to the restore
attribute can still copy or restore a manual
* DB cluster snapshot.
A list of DB cluster snapshot attributes to remove from the attribute
* specified by AttributeName
.
To remove authorization for
* other Amazon Web Services accounts to copy or restore a manual DB cluster
* snapshot, set this list to include one or more Amazon Web Services account
* identifiers, or all
to remove authorization for any Amazon Web
* Services account to copy or restore the DB cluster snapshot. If you specify
* all
, an Amazon Web Services account whose account ID is explicitly
* added to the restore
attribute can still copy or restore a manual
* DB cluster snapshot.
A list of DB cluster snapshot attributes to remove from the attribute
* specified by AttributeName
.
To remove authorization for
* other Amazon Web Services accounts to copy or restore a manual DB cluster
* snapshot, set this list to include one or more Amazon Web Services account
* identifiers, or all
to remove authorization for any Amazon Web
* Services account to copy or restore the DB cluster snapshot. If you specify
* all
, an Amazon Web Services account whose account ID is explicitly
* added to the restore
attribute can still copy or restore a manual
* DB cluster snapshot.