/** * 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 Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace Neptune { namespace Model { /** *

Contains the results of a successful call to the * DescribeDBClusterSnapshotAttributes API action.

Manual DB cluster * snapshot attributes are used to authorize other Amazon accounts to copy or * restore a manual DB cluster snapshot. For more information, see the * ModifyDBClusterSnapshotAttribute API action.

See Also:

* AWS * API Reference

*/ class DBClusterSnapshotAttributesResult { public: AWS_NEPTUNE_API DBClusterSnapshotAttributesResult(); AWS_NEPTUNE_API DBClusterSnapshotAttributesResult(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_NEPTUNE_API DBClusterSnapshotAttributesResult& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The identifier of the manual DB cluster snapshot that the attributes apply * to.

*/ inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; } /** *

The identifier of the manual DB cluster snapshot that the attributes apply * to.

*/ inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; } /** *

The identifier of the manual DB cluster snapshot that the attributes apply * to.

*/ inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; } /** *

The identifier of the manual DB cluster snapshot that the attributes apply * to.

*/ inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); } /** *

The identifier of the manual DB cluster snapshot that the attributes apply * to.

*/ inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); } /** *

The identifier of the manual DB cluster snapshot that the attributes apply * to.

*/ inline DBClusterSnapshotAttributesResult& WithDBClusterSnapshotIdentifier(const Aws::String& value) { SetDBClusterSnapshotIdentifier(value); return *this;} /** *

The identifier of the manual DB cluster snapshot that the attributes apply * to.

*/ inline DBClusterSnapshotAttributesResult& WithDBClusterSnapshotIdentifier(Aws::String&& value) { SetDBClusterSnapshotIdentifier(std::move(value)); return *this;} /** *

The identifier of the manual DB cluster snapshot that the attributes apply * to.

*/ inline DBClusterSnapshotAttributesResult& WithDBClusterSnapshotIdentifier(const char* value) { SetDBClusterSnapshotIdentifier(value); return *this;} /** *

The list of attributes and values for the manual DB cluster snapshot.

*/ inline const Aws::Vector& GetDBClusterSnapshotAttributes() const{ return m_dBClusterSnapshotAttributes; } /** *

The list of attributes and values for the manual DB cluster snapshot.

*/ inline bool DBClusterSnapshotAttributesHasBeenSet() const { return m_dBClusterSnapshotAttributesHasBeenSet; } /** *

The list of attributes and values for the manual DB cluster snapshot.

*/ inline void SetDBClusterSnapshotAttributes(const Aws::Vector& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes = value; } /** *

The list of attributes and values for the manual DB cluster snapshot.

*/ inline void SetDBClusterSnapshotAttributes(Aws::Vector&& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes = std::move(value); } /** *

The list of attributes and values for the manual DB cluster snapshot.

*/ inline DBClusterSnapshotAttributesResult& WithDBClusterSnapshotAttributes(const Aws::Vector& value) { SetDBClusterSnapshotAttributes(value); return *this;} /** *

The list of attributes and values for the manual DB cluster snapshot.

*/ inline DBClusterSnapshotAttributesResult& WithDBClusterSnapshotAttributes(Aws::Vector&& value) { SetDBClusterSnapshotAttributes(std::move(value)); return *this;} /** *

The list of attributes and values for the manual DB cluster snapshot.

*/ inline DBClusterSnapshotAttributesResult& AddDBClusterSnapshotAttributes(const DBClusterSnapshotAttribute& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes.push_back(value); return *this; } /** *

The list of attributes and values for the manual DB cluster snapshot.

*/ inline DBClusterSnapshotAttributesResult& AddDBClusterSnapshotAttributes(DBClusterSnapshotAttribute&& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes.push_back(std::move(value)); return *this; } private: Aws::String m_dBClusterSnapshotIdentifier; bool m_dBClusterSnapshotIdentifierHasBeenSet = false; Aws::Vector m_dBClusterSnapshotAttributes; bool m_dBClusterSnapshotAttributesHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws