7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/BackfillErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/PartitionValueList.h>
71 template<
typename PartitionsT = Aws::Vector<PartitionValueList>>
72 void SetPartitions(PartitionsT&& value) { m_partitionsHasBeenSet =
true; m_partitions = std::forward<PartitionsT>(value); }
73 template<
typename PartitionsT = Aws::Vector<PartitionValueList>>
75 template<
typename PartitionsT = PartitionValueList>
76 BackfillError&
AddPartitions(PartitionsT&& value) { m_partitionsHasBeenSet =
true; m_partitions.emplace_back(std::forward<PartitionsT>(value));
return *
this; }
81 bool m_codeHasBeenSet =
false;
84 bool m_partitionsHasBeenSet =
false;
AWS_GLUE_API BackfillError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API BackfillError()=default
void SetPartitions(PartitionsT &&value)
const Aws::Vector< PartitionValueList > & GetPartitions() const
bool CodeHasBeenSet() const
BackfillError & WithCode(BackfillErrorCode value)
bool PartitionsHasBeenSet() const
BackfillError & AddPartitions(PartitionsT &&value)
BackfillError & WithPartitions(PartitionsT &&value)
BackfillErrorCode GetCode() const
void SetCode(BackfillErrorCode value)
AWS_GLUE_API BackfillError(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue