7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dynamodb/DynamoDB_EXPORTS.h>
10#include <aws/dynamodb/model/GlobalSecondaryIndexWarmThroughputDescription.h>
11#include <aws/dynamodb/model/IndexStatus.h>
12#include <aws/dynamodb/model/KeySchemaElement.h>
13#include <aws/dynamodb/model/OnDemandThroughput.h>
14#include <aws/dynamodb/model/Projection.h>
15#include <aws/dynamodb/model/ProvisionedThroughputDescription.h>
48 template <
typename IndexNameT = Aws::String>
50 m_indexNameHasBeenSet =
true;
51 m_indexName = std::forward<IndexNameT>(value);
53 template <
typename IndexNameT = Aws::String>
75 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
77 m_keySchemaHasBeenSet =
true;
78 m_keySchema = std::forward<KeySchemaT>(value);
80 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
85 template <
typename KeySchemaT = KeySchemaElement>
87 m_keySchemaHasBeenSet =
true;
88 m_keySchema.emplace_back(std::forward<KeySchemaT>(value));
101 template <
typename ProjectionT = Projection>
103 m_projectionHasBeenSet =
true;
104 m_projection = std::forward<ProjectionT>(value);
106 template <
typename ProjectionT = Projection>
124 m_indexStatusHasBeenSet =
true;
125 m_indexStatus = value;
152 m_backfillingHasBeenSet =
true;
153 m_backfilling = value;
171 template <
typename ProvisionedThroughputT = ProvisionedThroughputDescription>
173 m_provisionedThroughputHasBeenSet =
true;
174 m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value);
176 template <
typename ProvisionedThroughputT = ProvisionedThroughputDescription>
192 m_indexSizeBytesHasBeenSet =
true;
193 m_indexSizeBytes = value;
210 m_itemCountHasBeenSet =
true;
225 template <
typename IndexArnT = Aws::String>
227 m_indexArnHasBeenSet =
true;
228 m_indexArn = std::forward<IndexArnT>(value);
230 template <
typename IndexArnT = Aws::String>
246 template <
typename OnDemandThroughputT = OnDemandThroughput>
248 m_onDemandThroughputHasBeenSet =
true;
249 m_onDemandThroughput = std::forward<OnDemandThroughputT>(value);
251 template <
typename OnDemandThroughputT = OnDemandThroughput>
265 template <
typename WarmThroughputT = GlobalSecondaryIndexWarmThroughputDescription>
267 m_warmThroughputHasBeenSet =
true;
268 m_warmThroughput = std::forward<WarmThroughputT>(value);
270 template <
typename WarmThroughputT = GlobalSecondaryIndexWarmThroughputDescription>
285 bool m_backfilling{
false};
287 ProvisionedThroughputDescription m_provisionedThroughput;
289 long long m_indexSizeBytes{0};
291 long long m_itemCount{0};
295 OnDemandThroughput m_onDemandThroughput;
297 GlobalSecondaryIndexWarmThroughputDescription m_warmThroughput;
298 bool m_indexNameHasBeenSet =
false;
299 bool m_keySchemaHasBeenSet =
false;
300 bool m_projectionHasBeenSet =
false;
301 bool m_indexStatusHasBeenSet =
false;
302 bool m_backfillingHasBeenSet =
false;
303 bool m_provisionedThroughputHasBeenSet =
false;
304 bool m_indexSizeBytesHasBeenSet =
false;
305 bool m_itemCountHasBeenSet =
false;
306 bool m_indexArnHasBeenSet =
false;
307 bool m_onDemandThroughputHasBeenSet =
false;
308 bool m_warmThroughputHasBeenSet =
false;
GlobalSecondaryIndexDescription & WithIndexSizeBytes(long long value)
const ProvisionedThroughputDescription & GetProvisionedThroughput() const
const Aws::Vector< KeySchemaElement > & GetKeySchema() const
bool OnDemandThroughputHasBeenSet() const
bool BackfillingHasBeenSet() const
GlobalSecondaryIndexDescription & WithBackfilling(bool value)
GlobalSecondaryIndexDescription & WithIndexName(IndexNameT &&value)
bool ProjectionHasBeenSet() const
bool IndexNameHasBeenSet() const
bool IndexStatusHasBeenSet() const
GlobalSecondaryIndexDescription & WithItemCount(long long value)
long long GetIndexSizeBytes() const
void SetIndexSizeBytes(long long value)
void SetOnDemandThroughput(OnDemandThroughputT &&value)
void SetProjection(ProjectionT &&value)
const Aws::String & GetIndexArn() const
void SetWarmThroughput(WarmThroughputT &&value)
void SetIndexName(IndexNameT &&value)
GlobalSecondaryIndexDescription & WithOnDemandThroughput(OnDemandThroughputT &&value)
void SetKeySchema(KeySchemaT &&value)
AWS_DYNAMODB_API GlobalSecondaryIndexDescription()=default
bool ItemCountHasBeenSet() const
bool GetBackfilling() const
GlobalSecondaryIndexDescription & WithIndexStatus(IndexStatus value)
const GlobalSecondaryIndexWarmThroughputDescription & GetWarmThroughput() const
const Aws::String & GetIndexName() const
GlobalSecondaryIndexDescription & WithProjection(ProjectionT &&value)
GlobalSecondaryIndexDescription & WithProvisionedThroughput(ProvisionedThroughputT &&value)
const Projection & GetProjection() const
GlobalSecondaryIndexDescription & WithKeySchema(KeySchemaT &&value)
AWS_DYNAMODB_API GlobalSecondaryIndexDescription(Aws::Utils::Json::JsonView jsonValue)
IndexStatus GetIndexStatus() const
bool IndexSizeBytesHasBeenSet() const
void SetItemCount(long long value)
const OnDemandThroughput & GetOnDemandThroughput() const
bool IndexArnHasBeenSet() const
AWS_DYNAMODB_API GlobalSecondaryIndexDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
GlobalSecondaryIndexDescription & WithWarmThroughput(WarmThroughputT &&value)
bool KeySchemaHasBeenSet() const
bool WarmThroughputHasBeenSet() const
bool ProvisionedThroughputHasBeenSet() const
void SetIndexArn(IndexArnT &&value)
void SetIndexStatus(IndexStatus value)
void SetProvisionedThroughput(ProvisionedThroughputT &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBackfilling(bool value)
GlobalSecondaryIndexDescription & WithIndexArn(IndexArnT &&value)
GlobalSecondaryIndexDescription & AddKeySchema(KeySchemaT &&value)
long long GetItemCount() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue