/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace Redshift { namespace Model { class BatchModifyClusterSnapshotsResult { public: AWS_REDSHIFT_API BatchModifyClusterSnapshotsResult(); AWS_REDSHIFT_API BatchModifyClusterSnapshotsResult(const Aws::AmazonWebServiceResult& result); AWS_REDSHIFT_API BatchModifyClusterSnapshotsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of the snapshots that were modified.

*/ inline const Aws::Vector& GetResources() const{ return m_resources; } /** *

A list of the snapshots that were modified.

*/ inline void SetResources(const Aws::Vector& value) { m_resources = value; } /** *

A list of the snapshots that were modified.

*/ inline void SetResources(Aws::Vector&& value) { m_resources = std::move(value); } /** *

A list of the snapshots that were modified.

*/ inline BatchModifyClusterSnapshotsResult& WithResources(const Aws::Vector& value) { SetResources(value); return *this;} /** *

A list of the snapshots that were modified.

*/ inline BatchModifyClusterSnapshotsResult& WithResources(Aws::Vector&& value) { SetResources(std::move(value)); return *this;} /** *

A list of the snapshots that were modified.

*/ inline BatchModifyClusterSnapshotsResult& AddResources(const Aws::String& value) { m_resources.push_back(value); return *this; } /** *

A list of the snapshots that were modified.

*/ inline BatchModifyClusterSnapshotsResult& AddResources(Aws::String&& value) { m_resources.push_back(std::move(value)); return *this; } /** *

A list of the snapshots that were modified.

*/ inline BatchModifyClusterSnapshotsResult& AddResources(const char* value) { m_resources.push_back(value); return *this; } /** *

A list of any errors returned.

*/ inline const Aws::Vector& GetErrors() const{ return m_errors; } /** *

A list of any errors returned.

*/ inline void SetErrors(const Aws::Vector& value) { m_errors = value; } /** *

A list of any errors returned.

*/ inline void SetErrors(Aws::Vector&& value) { m_errors = std::move(value); } /** *

A list of any errors returned.

*/ inline BatchModifyClusterSnapshotsResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} /** *

A list of any errors returned.

*/ inline BatchModifyClusterSnapshotsResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} /** *

A list of any errors returned.

*/ inline BatchModifyClusterSnapshotsResult& AddErrors(const SnapshotErrorMessage& value) { m_errors.push_back(value); return *this; } /** *

A list of any errors returned.

*/ inline BatchModifyClusterSnapshotsResult& AddErrors(SnapshotErrorMessage&& value) { m_errors.push_back(std::move(value)); return *this; } inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline BatchModifyClusterSnapshotsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline BatchModifyClusterSnapshotsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_resources; Aws::Vector m_errors; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace Redshift } // namespace Aws