/** * 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 Json { class JsonValue; } // namespace Json } // namespace Utils namespace MemoryDB { namespace Model { class BatchUpdateClusterResult { public: AWS_MEMORYDB_API BatchUpdateClusterResult(); AWS_MEMORYDB_API BatchUpdateClusterResult(const Aws::AmazonWebServiceResult& result); AWS_MEMORYDB_API BatchUpdateClusterResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of clusters that have been updated.

*/ inline const Aws::Vector& GetProcessedClusters() const{ return m_processedClusters; } /** *

The list of clusters that have been updated.

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

The list of clusters that have been updated.

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

The list of clusters that have been updated.

*/ inline BatchUpdateClusterResult& WithProcessedClusters(const Aws::Vector& value) { SetProcessedClusters(value); return *this;} /** *

The list of clusters that have been updated.

*/ inline BatchUpdateClusterResult& WithProcessedClusters(Aws::Vector&& value) { SetProcessedClusters(std::move(value)); return *this;} /** *

The list of clusters that have been updated.

*/ inline BatchUpdateClusterResult& AddProcessedClusters(const Cluster& value) { m_processedClusters.push_back(value); return *this; } /** *

The list of clusters that have been updated.

*/ inline BatchUpdateClusterResult& AddProcessedClusters(Cluster&& value) { m_processedClusters.push_back(std::move(value)); return *this; } /** *

The list of clusters where updates have not been applied.

*/ inline const Aws::Vector& GetUnprocessedClusters() const{ return m_unprocessedClusters; } /** *

The list of clusters where updates have not been applied.

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

The list of clusters where updates have not been applied.

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

The list of clusters where updates have not been applied.

*/ inline BatchUpdateClusterResult& WithUnprocessedClusters(const Aws::Vector& value) { SetUnprocessedClusters(value); return *this;} /** *

The list of clusters where updates have not been applied.

*/ inline BatchUpdateClusterResult& WithUnprocessedClusters(Aws::Vector&& value) { SetUnprocessedClusters(std::move(value)); return *this;} /** *

The list of clusters where updates have not been applied.

*/ inline BatchUpdateClusterResult& AddUnprocessedClusters(const UnprocessedCluster& value) { m_unprocessedClusters.push_back(value); return *this; } /** *

The list of clusters where updates have not been applied.

*/ inline BatchUpdateClusterResult& AddUnprocessedClusters(UnprocessedCluster&& value) { m_unprocessedClusters.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline BatchUpdateClusterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchUpdateClusterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchUpdateClusterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_processedClusters; Aws::Vector m_unprocessedClusters; Aws::String m_requestId; }; } // namespace Model } // namespace MemoryDB } // namespace Aws