/** * 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 Glue { namespace Model { class BatchGetPartitionResult { public: AWS_GLUE_API BatchGetPartitionResult(); AWS_GLUE_API BatchGetPartitionResult(const Aws::AmazonWebServiceResult& result); AWS_GLUE_API BatchGetPartitionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of the requested partitions.

*/ inline const Aws::Vector& GetPartitions() const{ return m_partitions; } /** *

A list of the requested partitions.

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

A list of the requested partitions.

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

A list of the requested partitions.

*/ inline BatchGetPartitionResult& WithPartitions(const Aws::Vector& value) { SetPartitions(value); return *this;} /** *

A list of the requested partitions.

*/ inline BatchGetPartitionResult& WithPartitions(Aws::Vector&& value) { SetPartitions(std::move(value)); return *this;} /** *

A list of the requested partitions.

*/ inline BatchGetPartitionResult& AddPartitions(const Partition& value) { m_partitions.push_back(value); return *this; } /** *

A list of the requested partitions.

*/ inline BatchGetPartitionResult& AddPartitions(Partition&& value) { m_partitions.push_back(std::move(value)); return *this; } /** *

A list of the partition values in the request for which partitions were not * returned.

*/ inline const Aws::Vector& GetUnprocessedKeys() const{ return m_unprocessedKeys; } /** *

A list of the partition values in the request for which partitions were not * returned.

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

A list of the partition values in the request for which partitions were not * returned.

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

A list of the partition values in the request for which partitions were not * returned.

*/ inline BatchGetPartitionResult& WithUnprocessedKeys(const Aws::Vector& value) { SetUnprocessedKeys(value); return *this;} /** *

A list of the partition values in the request for which partitions were not * returned.

*/ inline BatchGetPartitionResult& WithUnprocessedKeys(Aws::Vector&& value) { SetUnprocessedKeys(std::move(value)); return *this;} /** *

A list of the partition values in the request for which partitions were not * returned.

*/ inline BatchGetPartitionResult& AddUnprocessedKeys(const PartitionValueList& value) { m_unprocessedKeys.push_back(value); return *this; } /** *

A list of the partition values in the request for which partitions were not * returned.

*/ inline BatchGetPartitionResult& AddUnprocessedKeys(PartitionValueList&& value) { m_unprocessedKeys.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 BatchGetPartitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchGetPartitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchGetPartitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_partitions; Aws::Vector m_unprocessedKeys; Aws::String m_requestId; }; } // namespace Model } // namespace Glue } // namespace Aws