/** * 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 { /** *

A structure that contains the values and structure used to update a * partition.

See Also:

AWS * API Reference

*/ class BatchUpdatePartitionRequestEntry { public: AWS_GLUE_API BatchUpdatePartitionRequestEntry(); AWS_GLUE_API BatchUpdatePartitionRequestEntry(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API BatchUpdatePartitionRequestEntry& 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 BatchUpdatePartitionRequestEntry& WithPartitionValueList(const Aws::Vector& value) { SetPartitionValueList(value); return *this;} /** *

A list of values defining the partitions.

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

A list of values defining the partitions.

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

A list of values defining the partitions.

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

A list of values defining the partitions.

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

The structure used to update a partition.

*/ inline const PartitionInput& GetPartitionInput() const{ return m_partitionInput; } /** *

The structure used to update a partition.

*/ inline bool PartitionInputHasBeenSet() const { return m_partitionInputHasBeenSet; } /** *

The structure used to update a partition.

*/ inline void SetPartitionInput(const PartitionInput& value) { m_partitionInputHasBeenSet = true; m_partitionInput = value; } /** *

The structure used to update a partition.

*/ inline void SetPartitionInput(PartitionInput&& value) { m_partitionInputHasBeenSet = true; m_partitionInput = std::move(value); } /** *

The structure used to update a partition.

*/ inline BatchUpdatePartitionRequestEntry& WithPartitionInput(const PartitionInput& value) { SetPartitionInput(value); return *this;} /** *

The structure used to update a partition.

*/ inline BatchUpdatePartitionRequestEntry& WithPartitionInput(PartitionInput&& value) { SetPartitionInput(std::move(value)); return *this;} private: Aws::Vector m_partitionValueList; bool m_partitionValueListHasBeenSet = false; PartitionInput m_partitionInput; bool m_partitionInputHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws