/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

Contains information about a batch update partition error.

See * Also:

AWS * API Reference

*/ class BatchUpdatePartitionFailureEntry { public: AWS_GLUE_API BatchUpdatePartitionFailureEntry(); AWS_GLUE_API BatchUpdatePartitionFailureEntry(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API BatchUpdatePartitionFailureEntry& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A list of values defining the partitions.

*/ inline const Aws::Vector& GetPartitionValueList() const{ return m_partitionValueList; } /** *

A list of values defining the partitions.

*/ inline bool PartitionValueListHasBeenSet() const { return m_partitionValueListHasBeenSet; } /** *

A list of values defining the partitions.

*/ inline void SetPartitionValueList(const Aws::Vector& value) { m_partitionValueListHasBeenSet = true; m_partitionValueList = value; } /** *

A list of values defining the partitions.

*/ inline void SetPartitionValueList(Aws::Vector&& value) { m_partitionValueListHasBeenSet = true; m_partitionValueList = std::move(value); } /** *

A list of values defining the partitions.

*/ inline BatchUpdatePartitionFailureEntry& WithPartitionValueList(const Aws::Vector& value) { SetPartitionValueList(value); return *this;} /** *

A list of values defining the partitions.

*/ inline BatchUpdatePartitionFailureEntry& WithPartitionValueList(Aws::Vector&& value) { SetPartitionValueList(std::move(value)); return *this;} /** *

A list of values defining the partitions.

*/ inline BatchUpdatePartitionFailureEntry& AddPartitionValueList(const Aws::String& value) { m_partitionValueListHasBeenSet = true; m_partitionValueList.push_back(value); return *this; } /** *

A list of values defining the partitions.

*/ inline BatchUpdatePartitionFailureEntry& AddPartitionValueList(Aws::String&& value) { m_partitionValueListHasBeenSet = true; m_partitionValueList.push_back(std::move(value)); return *this; } /** *

A list of values defining the partitions.

*/ inline BatchUpdatePartitionFailureEntry& AddPartitionValueList(const char* value) { m_partitionValueListHasBeenSet = true; m_partitionValueList.push_back(value); return *this; } /** *

The details about the batch update partition error.

*/ inline const ErrorDetail& GetErrorDetail() const{ return m_errorDetail; } /** *

The details about the batch update partition error.

*/ inline bool ErrorDetailHasBeenSet() const { return m_errorDetailHasBeenSet; } /** *

The details about the batch update partition error.

*/ inline void SetErrorDetail(const ErrorDetail& value) { m_errorDetailHasBeenSet = true; m_errorDetail = value; } /** *

The details about the batch update partition error.

*/ inline void SetErrorDetail(ErrorDetail&& value) { m_errorDetailHasBeenSet = true; m_errorDetail = std::move(value); } /** *

The details about the batch update partition error.

*/ inline BatchUpdatePartitionFailureEntry& WithErrorDetail(const ErrorDetail& value) { SetErrorDetail(value); return *this;} /** *

The details about the batch update partition error.

*/ inline BatchUpdatePartitionFailureEntry& WithErrorDetail(ErrorDetail&& value) { SetErrorDetail(std::move(value)); return *this;} private: Aws::Vector m_partitionValueList; bool m_partitionValueListHasBeenSet = false; ErrorDetail m_errorDetail; bool m_errorDetailHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws