/** * 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 DocDB { namespace Model { /** *

Detailed information about the attributes that are associated with a cluster * snapshot.

See Also:

AWS * API Reference

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

The identifier of the cluster snapshot that the attributes apply to.

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

The identifier of the cluster snapshot that the attributes apply to.

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

The identifier of the cluster snapshot that the attributes apply to.

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

The identifier of the 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 cluster snapshot that the attributes apply to.

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

The identifier of the cluster snapshot that the attributes apply to.

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

The identifier of the cluster snapshot that the attributes apply to.

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

The identifier of the 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 cluster snapshot.

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

The list of attributes and values for the cluster snapshot.

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

The list of attributes and values for the cluster snapshot.

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

The list of attributes and values for the cluster snapshot.

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

The list of attributes and values for the cluster snapshot.

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

The list of attributes and values for the cluster snapshot.

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

The list of attributes and values for the 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 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 DocDB } // namespace Aws