/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the results of a successful call to the
* Manual DB snapshot
* attributes are used to authorize other Amazon Web Services accounts to copy or
* restore a manual DB snapshot. For more information, see the
* DescribeDBSnapshotAttributes
API action.ModifyDBSnapshotAttribute
API action.See Also:
AWS
* API Reference
The identifier of the manual DB snapshot that the attributes apply to.
*/ inline const Aws::String& GetDBSnapshotIdentifier() const{ return m_dBSnapshotIdentifier; } /** *The identifier of the manual DB snapshot that the attributes apply to.
*/ inline bool DBSnapshotIdentifierHasBeenSet() const { return m_dBSnapshotIdentifierHasBeenSet; } /** *The identifier of the manual DB snapshot that the attributes apply to.
*/ inline void SetDBSnapshotIdentifier(const Aws::String& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = value; } /** *The identifier of the manual DB snapshot that the attributes apply to.
*/ inline void SetDBSnapshotIdentifier(Aws::String&& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = std::move(value); } /** *The identifier of the manual DB snapshot that the attributes apply to.
*/ inline void SetDBSnapshotIdentifier(const char* value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier.assign(value); } /** *The identifier of the manual DB snapshot that the attributes apply to.
*/ inline DBSnapshotAttributesResult& WithDBSnapshotIdentifier(const Aws::String& value) { SetDBSnapshotIdentifier(value); return *this;} /** *The identifier of the manual DB snapshot that the attributes apply to.
*/ inline DBSnapshotAttributesResult& WithDBSnapshotIdentifier(Aws::String&& value) { SetDBSnapshotIdentifier(std::move(value)); return *this;} /** *The identifier of the manual DB snapshot that the attributes apply to.
*/ inline DBSnapshotAttributesResult& WithDBSnapshotIdentifier(const char* value) { SetDBSnapshotIdentifier(value); return *this;} /** *The list of attributes and values for the manual DB snapshot.
*/ inline const Aws::VectorThe list of attributes and values for the manual DB snapshot.
*/ inline bool DBSnapshotAttributesHasBeenSet() const { return m_dBSnapshotAttributesHasBeenSet; } /** *The list of attributes and values for the manual DB snapshot.
*/ inline void SetDBSnapshotAttributes(const Aws::VectorThe list of attributes and values for the manual DB snapshot.
*/ inline void SetDBSnapshotAttributes(Aws::VectorThe list of attributes and values for the manual DB snapshot.
*/ inline DBSnapshotAttributesResult& WithDBSnapshotAttributes(const Aws::VectorThe list of attributes and values for the manual DB snapshot.
*/ inline DBSnapshotAttributesResult& WithDBSnapshotAttributes(Aws::VectorThe list of attributes and values for the manual DB snapshot.
*/ inline DBSnapshotAttributesResult& AddDBSnapshotAttributes(const DBSnapshotAttribute& value) { m_dBSnapshotAttributesHasBeenSet = true; m_dBSnapshotAttributes.push_back(value); return *this; } /** *The list of attributes and values for the manual DB snapshot.
*/ inline DBSnapshotAttributesResult& AddDBSnapshotAttributes(DBSnapshotAttribute&& value) { m_dBSnapshotAttributesHasBeenSet = true; m_dBSnapshotAttributes.push_back(std::move(value)); return *this; } private: Aws::String m_dBSnapshotIdentifier; bool m_dBSnapshotIdentifierHasBeenSet = false; Aws::Vector