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/WarmThroughput.h>
65 template <
typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
67 m_attributeDefinitionsHasBeenSet =
true;
68 m_attributeDefinitions = std::forward<AttributeDefinitionsT>(value);
70 template <
typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
75 template <
typename AttributeDefinitionsT = AttributeDefinition>
77 m_attributeDefinitionsHasBeenSet =
true;
78 m_attributeDefinitions.emplace_back(std::forward<AttributeDefinitionsT>(value));
90 template <
typename TableNameT = Aws::String>
92 m_tableNameHasBeenSet =
true;
93 m_tableName = std::forward<TableNameT>(value);
95 template <
typename TableNameT = Aws::String>
123 m_billingModeHasBeenSet =
true;
124 m_billingMode = value;
138 template <
typename ProvisionedThroughputT = ProvisionedThroughput>
140 m_provisionedThroughputHasBeenSet =
true;
141 m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value);
143 template <
typename ProvisionedThroughputT = ProvisionedThroughput>
165 template <
typename GlobalSecondaryIndexUpdatesT = Aws::Vector<GlobalSecondaryIndexUpdate>>
167 m_globalSecondaryIndexUpdatesHasBeenSet =
true;
168 m_globalSecondaryIndexUpdates = std::forward<GlobalSecondaryIndexUpdatesT>(value);
170 template <
typename GlobalSecondaryIndexUpdatesT = Aws::Vector<GlobalSecondaryIndexUpdate>>
175 template <
typename GlobalSecondaryIndexUpdatesT = GlobalSecondaryIndexUpdate>
177 m_globalSecondaryIndexUpdatesHasBeenSet =
true;
178 m_globalSecondaryIndexUpdates.emplace_back(std::forward<GlobalSecondaryIndexUpdatesT>(value));
192 template <
typename StreamSpecificationT = StreamSpecification>
194 m_streamSpecificationHasBeenSet =
true;
195 m_streamSpecification = std::forward<StreamSpecificationT>(value);
197 template <
typename StreamSpecificationT = StreamSpecification>
210 template <
typename SSESpecificationT = SSESpecification>
212 m_sSESpecificationHasBeenSet =
true;
213 m_sSESpecification = std::forward<SSESpecificationT>(value);
215 template <
typename SSESpecificationT = SSESpecification>
229 template <
typename ReplicaUpdatesT = Aws::Vector<ReplicationGroupUpdate>>
231 m_replicaUpdatesHasBeenSet =
true;
232 m_replicaUpdates = std::forward<ReplicaUpdatesT>(value);
234 template <
typename ReplicaUpdatesT = Aws::Vector<ReplicationGroupUpdate>>
239 template <
typename ReplicaUpdatesT = ReplicationGroupUpdate>
241 m_replicaUpdatesHasBeenSet =
true;
242 m_replicaUpdates.emplace_back(std::forward<ReplicaUpdatesT>(value));
255 m_tableClassHasBeenSet =
true;
256 m_tableClass = value;
272 m_deletionProtectionEnabledHasBeenSet =
true;
273 m_deletionProtectionEnabled = value;
302 m_multiRegionConsistencyHasBeenSet =
true;
303 m_multiRegionConsistency = value;
326 template <
typename GlobalTableWitnessUpdatesT = Aws::Vector<GlobalTableWitnessGroupUpdate>>
328 m_globalTableWitnessUpdatesHasBeenSet =
true;
329 m_globalTableWitnessUpdates = std::forward<GlobalTableWitnessUpdatesT>(value);
331 template <
typename GlobalTableWitnessUpdatesT = Aws::Vector<GlobalTableWitnessGroupUpdate>>
336 template <
typename GlobalTableWitnessUpdatesT = GlobalTableWitnessGroupUpdate>
338 m_globalTableWitnessUpdatesHasBeenSet =
true;
339 m_globalTableWitnessUpdates.emplace_back(std::forward<GlobalTableWitnessUpdatesT>(value));
353 template <
typename OnDemandThroughputT = OnDemandThroughput>
355 m_onDemandThroughputHasBeenSet =
true;
356 m_onDemandThroughput = std::forward<OnDemandThroughputT>(value);
358 template <
typename OnDemandThroughputT = OnDemandThroughput>
372 template <
typename WarmThroughputT = WarmThroughput>
374 m_warmThroughputHasBeenSet =
true;
375 m_warmThroughput = std::forward<WarmThroughputT>(value);
377 template <
typename WarmThroughputT = WarmThroughput>
398 m_globalTableSettingsReplicationModeHasBeenSet =
true;
399 m_globalTableSettingsReplicationMode = value;
413 ProvisionedThroughput m_provisionedThroughput;
417 StreamSpecification m_streamSpecification;
419 SSESpecification m_sSESpecification;
425 bool m_deletionProtectionEnabled{
false};
431 OnDemandThroughput m_onDemandThroughput;
433 WarmThroughput m_warmThroughput;
436 bool m_attributeDefinitionsHasBeenSet =
false;
437 bool m_tableNameHasBeenSet =
false;
438 bool m_billingModeHasBeenSet =
false;
439 bool m_provisionedThroughputHasBeenSet =
false;
440 bool m_globalSecondaryIndexUpdatesHasBeenSet =
false;
441 bool m_streamSpecificationHasBeenSet =
false;
442 bool m_sSESpecificationHasBeenSet =
false;
443 bool m_replicaUpdatesHasBeenSet =
false;
444 bool m_tableClassHasBeenSet =
false;
445 bool m_deletionProtectionEnabledHasBeenSet =
false;
446 bool m_multiRegionConsistencyHasBeenSet =
false;
447 bool m_globalTableWitnessUpdatesHasBeenSet =
false;
448 bool m_onDemandThroughputHasBeenSet =
false;
449 bool m_warmThroughputHasBeenSet =
false;
450 bool m_globalTableSettingsReplicationModeHasBeenSet =
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
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)
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
virtual const char * GetServiceRequestName() const override
void SetGlobalTableSettingsReplicationMode(GlobalTableSettingsReplicationMode value)
bool WarmThroughputHasBeenSet() const
AWS_DYNAMODB_API UpdateTableRequest()=default
bool TableNameHasBeenSet() const
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