7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dynamodb/DynamoDBRequest.h>
10#include <aws/dynamodb/DynamoDB_EXPORTS.h>
11#include <aws/dynamodb/model/AttributeDefinition.h>
12#include <aws/dynamodb/model/BillingMode.h>
13#include <aws/dynamodb/model/GlobalSecondaryIndexUpdate.h>
14#include <aws/dynamodb/model/GlobalTableSettingsReplicationMode.h>
15#include <aws/dynamodb/model/GlobalTableWitnessGroupUpdate.h>
16#include <aws/dynamodb/model/MultiRegionConsistency.h>
17#include <aws/dynamodb/model/OnDemandThroughput.h>
18#include <aws/dynamodb/model/ProvisionedThroughput.h>
19#include <aws/dynamodb/model/ReplicationGroupUpdate.h>
20#include <aws/dynamodb/model/SSESpecification.h>
21#include <aws/dynamodb/model/StreamSpecification.h>
22#include <aws/dynamodb/model/TableClass.h>
23#include <aws/dynamodb/model/VectorIndexUpdate.h>
24#include <aws/dynamodb/model/WarmThroughput.h>
66 template <
typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
68 m_attributeDefinitionsHasBeenSet =
true;
69 m_attributeDefinitions = std::forward<AttributeDefinitionsT>(value);
71 template <
typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
76 template <
typename AttributeDefinitionsT = AttributeDefinition>
78 m_attributeDefinitionsHasBeenSet =
true;
79 m_attributeDefinitions.emplace_back(std::forward<AttributeDefinitionsT>(value));
91 template <
typename TableNameT = Aws::String>
93 m_tableNameHasBeenSet =
true;
94 m_tableName = std::forward<TableNameT>(value);
96 template <
typename TableNameT = Aws::String>
124 m_billingModeHasBeenSet =
true;
125 m_billingMode = value;
139 template <
typename ProvisionedThroughputT = ProvisionedThroughput>
141 m_provisionedThroughputHasBeenSet =
true;
142 m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value);
144 template <
typename ProvisionedThroughputT = ProvisionedThroughput>
166 template <
typename GlobalSecondaryIndexUpdatesT = Aws::Vector<GlobalSecondaryIndexUpdate>>
168 m_globalSecondaryIndexUpdatesHasBeenSet =
true;
169 m_globalSecondaryIndexUpdates = std::forward<GlobalSecondaryIndexUpdatesT>(value);
171 template <
typename GlobalSecondaryIndexUpdatesT = Aws::Vector<GlobalSecondaryIndexUpdate>>
176 template <
typename GlobalSecondaryIndexUpdatesT = GlobalSecondaryIndexUpdate>
178 m_globalSecondaryIndexUpdatesHasBeenSet =
true;
179 m_globalSecondaryIndexUpdates.emplace_back(std::forward<GlobalSecondaryIndexUpdatesT>(value));
193 template <
typename StreamSpecificationT = StreamSpecification>
195 m_streamSpecificationHasBeenSet =
true;
196 m_streamSpecification = std::forward<StreamSpecificationT>(value);
198 template <
typename StreamSpecificationT = StreamSpecification>
211 template <
typename SSESpecificationT = SSESpecification>
213 m_sSESpecificationHasBeenSet =
true;
214 m_sSESpecification = std::forward<SSESpecificationT>(value);
216 template <
typename SSESpecificationT = SSESpecification>
230 template <
typename ReplicaUpdatesT = Aws::Vector<ReplicationGroupUpdate>>
232 m_replicaUpdatesHasBeenSet =
true;
233 m_replicaUpdates = std::forward<ReplicaUpdatesT>(value);
235 template <
typename ReplicaUpdatesT = Aws::Vector<ReplicationGroupUpdate>>
240 template <
typename ReplicaUpdatesT = ReplicationGroupUpdate>
242 m_replicaUpdatesHasBeenSet =
true;
243 m_replicaUpdates.emplace_back(std::forward<ReplicaUpdatesT>(value));
256 m_tableClassHasBeenSet =
true;
257 m_tableClass = value;
273 m_deletionProtectionEnabledHasBeenSet =
true;
274 m_deletionProtectionEnabled = value;
303 m_multiRegionConsistencyHasBeenSet =
true;
304 m_multiRegionConsistency = value;
327 template <
typename GlobalTableWitnessUpdatesT = Aws::Vector<GlobalTableWitnessGroupUpdate>>
329 m_globalTableWitnessUpdatesHasBeenSet =
true;
330 m_globalTableWitnessUpdates = std::forward<GlobalTableWitnessUpdatesT>(value);
332 template <
typename GlobalTableWitnessUpdatesT = Aws::Vector<GlobalTableWitnessGroupUpdate>>
337 template <
typename GlobalTableWitnessUpdatesT = GlobalTableWitnessGroupUpdate>
339 m_globalTableWitnessUpdatesHasBeenSet =
true;
340 m_globalTableWitnessUpdates.emplace_back(std::forward<GlobalTableWitnessUpdatesT>(value));
354 template <
typename OnDemandThroughputT = OnDemandThroughput>
356 m_onDemandThroughputHasBeenSet =
true;
357 m_onDemandThroughput = std::forward<OnDemandThroughputT>(value);
359 template <
typename OnDemandThroughputT = OnDemandThroughput>
373 template <
typename WarmThroughputT = WarmThroughput>
375 m_warmThroughputHasBeenSet =
true;
376 m_warmThroughput = std::forward<WarmThroughputT>(value);
378 template <
typename WarmThroughputT = WarmThroughput>
399 m_globalTableSettingsReplicationModeHasBeenSet =
true;
400 m_globalTableSettingsReplicationMode = value;
419 template <
typename VectorIndexUpdatesT = Aws::Vector<VectorIndexUpdate>>
421 m_vectorIndexUpdatesHasBeenSet =
true;
422 m_vectorIndexUpdates = std::forward<VectorIndexUpdatesT>(value);
424 template <
typename VectorIndexUpdatesT = Aws::Vector<VectorIndexUpdate>>
429 template <
typename VectorIndexUpdatesT = VectorIndexUpdate>
431 m_vectorIndexUpdatesHasBeenSet =
true;
432 m_vectorIndexUpdates.emplace_back(std::forward<VectorIndexUpdatesT>(value));
443 ProvisionedThroughput m_provisionedThroughput;
447 StreamSpecification m_streamSpecification;
449 SSESpecification m_sSESpecification;
455 bool m_deletionProtectionEnabled{
false};
461 OnDemandThroughput m_onDemandThroughput;
463 WarmThroughput m_warmThroughput;
468 bool m_attributeDefinitionsHasBeenSet =
false;
469 bool m_tableNameHasBeenSet =
false;
470 bool m_billingModeHasBeenSet =
false;
471 bool m_provisionedThroughputHasBeenSet =
false;
472 bool m_globalSecondaryIndexUpdatesHasBeenSet =
false;
473 bool m_streamSpecificationHasBeenSet =
false;
474 bool m_sSESpecificationHasBeenSet =
false;
475 bool m_replicaUpdatesHasBeenSet =
false;
476 bool m_tableClassHasBeenSet =
false;
477 bool m_deletionProtectionEnabledHasBeenSet =
false;
478 bool m_multiRegionConsistencyHasBeenSet =
false;
479 bool m_globalTableWitnessUpdatesHasBeenSet =
false;
480 bool m_onDemandThroughputHasBeenSet =
false;
481 bool m_warmThroughputHasBeenSet =
false;
482 bool m_globalTableSettingsReplicationModeHasBeenSet =
false;
483 bool m_vectorIndexUpdatesHasBeenSet =
false;
Aws::Endpoint::EndpointParameters EndpointParameters
void SetTableName(TableNameT &&value)
UpdateTableRequest & WithOnDemandThroughput(OnDemandThroughputT &&value)
UpdateTableRequest & WithAttributeDefinitions(AttributeDefinitionsT &&value)
UpdateTableRequest & WithWarmThroughput(WarmThroughputT &&value)
AWS_DYNAMODB_API Aws::String SerializePayload() const override
bool AttributeDefinitionsHasBeenSet() const
UpdateTableRequest & AddAttributeDefinitions(AttributeDefinitionsT &&value)
void SetDeletionProtectionEnabled(bool value)
void SetBillingMode(BillingMode value)
bool GlobalTableWitnessUpdatesHasBeenSet() const
const Aws::String & GetTableName() const
bool SSESpecificationHasBeenSet() const
const Aws::Vector< AttributeDefinition > & GetAttributeDefinitions() const
bool OnDemandThroughputHasBeenSet() const
UpdateTableRequest & WithDeletionProtectionEnabled(bool value)
bool MultiRegionConsistencyHasBeenSet() const
bool VectorIndexUpdatesHasBeenSet() const
const SSESpecification & GetSSESpecification() const
UpdateTableRequest & WithGlobalTableSettingsReplicationMode(GlobalTableSettingsReplicationMode value)
UpdateTableRequest & AddReplicaUpdates(ReplicaUpdatesT &&value)
bool BillingModeHasBeenSet() const
void SetWarmThroughput(WarmThroughputT &&value)
const ProvisionedThroughput & GetProvisionedThroughput() const
UpdateTableRequest & WithTableName(TableNameT &&value)
const Aws::Vector< GlobalTableWitnessGroupUpdate > & GetGlobalTableWitnessUpdates() const
bool ReplicaUpdatesHasBeenSet() const
UpdateTableRequest & WithMultiRegionConsistency(MultiRegionConsistency value)
bool StreamSpecificationHasBeenSet() const
void SetGlobalTableWitnessUpdates(GlobalTableWitnessUpdatesT &&value)
UpdateTableRequest & WithGlobalSecondaryIndexUpdates(GlobalSecondaryIndexUpdatesT &&value)
MultiRegionConsistency GetMultiRegionConsistency() const
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateTableRequest & WithBillingMode(BillingMode value)
bool TableClassHasBeenSet() const
void SetGlobalSecondaryIndexUpdates(GlobalSecondaryIndexUpdatesT &&value)
void SetVectorIndexUpdates(VectorIndexUpdatesT &&value)
UpdateTableRequest & WithStreamSpecification(StreamSpecificationT &&value)
UpdateTableRequest & WithGlobalTableWitnessUpdates(GlobalTableWitnessUpdatesT &&value)
UpdateTableRequest & WithTableClass(TableClass value)
BillingMode GetBillingMode() const
AWS_DYNAMODB_API EndpointParameters GetEndpointContextParams() const override
const Aws::Vector< GlobalSecondaryIndexUpdate > & GetGlobalSecondaryIndexUpdates() const
bool DeletionProtectionEnabledHasBeenSet() const
void SetMultiRegionConsistency(MultiRegionConsistency value)
UpdateTableRequest & WithReplicaUpdates(ReplicaUpdatesT &&value)
void SetSSESpecification(SSESpecificationT &&value)
void SetReplicaUpdates(ReplicaUpdatesT &&value)
const OnDemandThroughput & GetOnDemandThroughput() const
TableClass GetTableClass() const
bool GlobalTableSettingsReplicationModeHasBeenSet() const
UpdateTableRequest & WithSSESpecification(SSESpecificationT &&value)
UpdateTableRequest & AddGlobalTableWitnessUpdates(GlobalTableWitnessUpdatesT &&value)
GlobalTableSettingsReplicationMode GetGlobalTableSettingsReplicationMode() const
const StreamSpecification & GetStreamSpecification() const
const WarmThroughput & GetWarmThroughput() const
UpdateTableRequest & AddGlobalSecondaryIndexUpdates(GlobalSecondaryIndexUpdatesT &&value)
void SetTableClass(TableClass value)
void SetProvisionedThroughput(ProvisionedThroughputT &&value)
bool GlobalSecondaryIndexUpdatesHasBeenSet() const
UpdateTableRequest & WithVectorIndexUpdates(VectorIndexUpdatesT &&value)
virtual const char * GetServiceRequestName() const override
void SetGlobalTableSettingsReplicationMode(GlobalTableSettingsReplicationMode value)
bool WarmThroughputHasBeenSet() const
AWS_DYNAMODB_API UpdateTableRequest()=default
const Aws::Vector< VectorIndexUpdate > & GetVectorIndexUpdates() const
bool TableNameHasBeenSet() const
UpdateTableRequest & AddVectorIndexUpdates(VectorIndexUpdatesT &&value)
void SetStreamSpecification(StreamSpecificationT &&value)
UpdateTableRequest & WithProvisionedThroughput(ProvisionedThroughputT &&value)
void SetAttributeDefinitions(AttributeDefinitionsT &&value)
bool ProvisionedThroughputHasBeenSet() const
bool GetDeletionProtectionEnabled() const
void SetOnDemandThroughput(OnDemandThroughputT &&value)
const Aws::Vector< ReplicationGroupUpdate > & GetReplicaUpdates() const
GlobalTableSettingsReplicationMode
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector