7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/BackfillError.h>
11#include <aws/glue/model/KeySchemaElement.h>
12#include <aws/glue/model/PartitionIndexStatus.h>
44 template <
typename IndexNameT = Aws::String>
46 m_indexNameHasBeenSet =
true;
47 m_indexName = std::forward<IndexNameT>(value);
49 template <
typename IndexNameT = Aws::String>
63 template <
typename KeysT = Aws::Vector<KeySchemaElement>>
65 m_keysHasBeenSet =
true;
66 m_keys = std::forward<KeysT>(value);
68 template <
typename KeysT = Aws::Vector<KeySchemaElement>>
70 SetKeys(std::forward<KeysT>(value));
73 template <
typename KeysT = KeySchemaElement>
75 m_keysHasBeenSet =
true;
76 m_keys.emplace_back(std::forward<KeysT>(value));
93 m_indexStatusHasBeenSet =
true;
94 m_indexStatus = value;
109 template <
typename BackfillErrorsT = Aws::Vector<BackfillError>>
111 m_backfillErrorsHasBeenSet =
true;
112 m_backfillErrors = std::forward<BackfillErrorsT>(value);
114 template <
typename BackfillErrorsT = Aws::Vector<BackfillError>>
119 template <
typename BackfillErrorsT = BackfillError>
121 m_backfillErrorsHasBeenSet =
true;
122 m_backfillErrors.emplace_back(std::forward<BackfillErrorsT>(value));
134 bool m_indexNameHasBeenSet =
false;
135 bool m_keysHasBeenSet =
false;
136 bool m_indexStatusHasBeenSet =
false;
137 bool m_backfillErrorsHasBeenSet =
false;
PartitionIndexDescriptor & WithIndexStatus(PartitionIndexStatus value)
void SetIndexStatus(PartitionIndexStatus value)
PartitionIndexDescriptor & AddBackfillErrors(BackfillErrorsT &&value)
AWS_GLUE_API PartitionIndexDescriptor(Aws::Utils::Json::JsonView jsonValue)
bool BackfillErrorsHasBeenSet() const
AWS_GLUE_API PartitionIndexDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< BackfillError > & GetBackfillErrors() const
AWS_GLUE_API PartitionIndexDescriptor()=default
void SetIndexName(IndexNameT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
PartitionIndexDescriptor & WithIndexName(IndexNameT &&value)
PartitionIndexDescriptor & WithKeys(KeysT &&value)
const Aws::Vector< KeySchemaElement > & GetKeys() const
bool KeysHasBeenSet() const
bool IndexNameHasBeenSet() const
void SetKeys(KeysT &&value)
PartitionIndexDescriptor & WithBackfillErrors(BackfillErrorsT &&value)
bool IndexStatusHasBeenSet() const
const Aws::String & GetIndexName() const
PartitionIndexStatus GetIndexStatus() const
void SetBackfillErrors(BackfillErrorsT &&value)
PartitionIndexDescriptor & AddKeys(KeysT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue