7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/DynamoDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/dynamodb/model/BillingMode.h>
12#include <aws/dynamodb/model/ProvisionedThroughput.h>
13#include <aws/dynamodb/model/StreamSpecification.h>
14#include <aws/dynamodb/model/SSESpecification.h>
15#include <aws/dynamodb/model/TableClass.h>
16#include <aws/dynamodb/model/MultiRegionConsistency.h>
17#include <aws/dynamodb/model/OnDemandThroughput.h>
18#include <aws/dynamodb/model/WarmThroughput.h>
19#include <aws/dynamodb/model/AttributeDefinition.h>
20#include <aws/dynamodb/model/GlobalSecondaryIndexUpdate.h>
21#include <aws/dynamodb/model/ReplicationGroupUpdate.h>
22#include <aws/dynamodb/model/GlobalTableWitnessGroupUpdate.h>
67 template<
typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
68 void SetAttributeDefinitions(AttributeDefinitionsT&& value) { m_attributeDefinitionsHasBeenSet =
true; m_attributeDefinitions = std::forward<AttributeDefinitionsT>(value); }
69 template<
typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
71 template<
typename AttributeDefinitionsT = AttributeDefinition>
72 UpdateTableRequest&
AddAttributeDefinitions(AttributeDefinitionsT&& value) { m_attributeDefinitionsHasBeenSet =
true; m_attributeDefinitions.emplace_back(std::forward<AttributeDefinitionsT>(value));
return *
this; }
82 template<
typename TableNameT = Aws::String>
83 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet =
true; m_tableName = std::forward<TableNameT>(value); }
84 template<
typename TableNameT = Aws::String>
118 template<
typename ProvisionedThroughputT = ProvisionedThroughput>
119 void SetProvisionedThroughput(ProvisionedThroughputT&& value) { m_provisionedThroughputHasBeenSet =
true; m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value); }
120 template<
typename ProvisionedThroughputT = ProvisionedThroughput>
139 template<
typename GlobalSecondaryIndexUpdatesT = Aws::Vector<GlobalSecondaryIndexUpdate>>
140 void SetGlobalSecondaryIndexUpdates(GlobalSecondaryIndexUpdatesT&& value) { m_globalSecondaryIndexUpdatesHasBeenSet =
true; m_globalSecondaryIndexUpdates = std::forward<GlobalSecondaryIndexUpdatesT>(value); }
141 template<
typename GlobalSecondaryIndexUpdatesT = Aws::Vector<GlobalSecondaryIndexUpdate>>
143 template<
typename GlobalSecondaryIndexUpdatesT = GlobalSecondaryIndexUpdate>
156 template<
typename StreamSpecificationT = StreamSpecification>
157 void SetStreamSpecification(StreamSpecificationT&& value) { m_streamSpecificationHasBeenSet =
true; m_streamSpecification = std::forward<StreamSpecificationT>(value); }
158 template<
typename StreamSpecificationT = StreamSpecification>
168 template<
typename SSESpecificationT = SSESpecification>
169 void SetSSESpecification(SSESpecificationT&& value) { m_sSESpecificationHasBeenSet =
true; m_sSESpecification = std::forward<SSESpecificationT>(value); }
170 template<
typename SSESpecificationT = SSESpecification>
181 template<
typename ReplicaUpdatesT = Aws::Vector<ReplicationGroupUpdate>>
182 void SetReplicaUpdates(ReplicaUpdatesT&& value) { m_replicaUpdatesHasBeenSet =
true; m_replicaUpdates = std::forward<ReplicaUpdatesT>(value); }
183 template<
typename ReplicaUpdatesT = Aws::Vector<ReplicationGroupUpdate>>
185 template<
typename ReplicaUpdatesT = ReplicationGroupUpdate>
250 template<
typename GlobalTableWitnessUpdatesT = Aws::Vector<GlobalTableWitnessGroupUpdate>>
251 void SetGlobalTableWitnessUpdates(GlobalTableWitnessUpdatesT&& value) { m_globalTableWitnessUpdatesHasBeenSet =
true; m_globalTableWitnessUpdates = std::forward<GlobalTableWitnessUpdatesT>(value); }
252 template<
typename GlobalTableWitnessUpdatesT = Aws::Vector<GlobalTableWitnessGroupUpdate>>
254 template<
typename GlobalTableWitnessUpdatesT = GlobalTableWitnessGroupUpdate>
267 template<
typename OnDemandThroughputT = OnDemandThroughput>
268 void SetOnDemandThroughput(OnDemandThroughputT&& value) { m_onDemandThroughputHasBeenSet =
true; m_onDemandThroughput = std::forward<OnDemandThroughputT>(value); }
269 template<
typename OnDemandThroughputT = OnDemandThroughput>
280 template<
typename WarmThroughputT = WarmThroughput>
281 void SetWarmThroughput(WarmThroughputT&& value) { m_warmThroughputHasBeenSet =
true; m_warmThroughput = std::forward<WarmThroughputT>(value); }
282 template<
typename WarmThroughputT = WarmThroughput>
288 bool m_attributeDefinitionsHasBeenSet =
false;
291 bool m_tableNameHasBeenSet =
false;
294 bool m_billingModeHasBeenSet =
false;
296 ProvisionedThroughput m_provisionedThroughput;
297 bool m_provisionedThroughputHasBeenSet =
false;
300 bool m_globalSecondaryIndexUpdatesHasBeenSet =
false;
302 StreamSpecification m_streamSpecification;
303 bool m_streamSpecificationHasBeenSet =
false;
305 SSESpecification m_sSESpecification;
306 bool m_sSESpecificationHasBeenSet =
false;
309 bool m_replicaUpdatesHasBeenSet =
false;
312 bool m_tableClassHasBeenSet =
false;
314 bool m_deletionProtectionEnabled{
false};
315 bool m_deletionProtectionEnabledHasBeenSet =
false;
318 bool m_multiRegionConsistencyHasBeenSet =
false;
321 bool m_globalTableWitnessUpdatesHasBeenSet =
false;
323 OnDemandThroughput m_onDemandThroughput;
324 bool m_onDemandThroughputHasBeenSet =
false;
326 WarmThroughput m_warmThroughput;
327 bool m_warmThroughputHasBeenSet =
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 & 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
UpdateTableRequest & WithSSESpecification(SSESpecificationT &&value)
UpdateTableRequest & AddGlobalTableWitnessUpdates(GlobalTableWitnessUpdatesT &&value)
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
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
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