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/GlobalTableWitnessGroupUpdate.h>
15#include <aws/dynamodb/model/MultiRegionConsistency.h>
16#include <aws/dynamodb/model/OnDemandThroughput.h>
17#include <aws/dynamodb/model/ProvisionedThroughput.h>
18#include <aws/dynamodb/model/ReplicationGroupUpdate.h>
19#include <aws/dynamodb/model/SSESpecification.h>
20#include <aws/dynamodb/model/StreamSpecification.h>
21#include <aws/dynamodb/model/TableClass.h>
22#include <aws/dynamodb/model/WarmThroughput.h>
64 template <
typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
66 m_attributeDefinitionsHasBeenSet =
true;
67 m_attributeDefinitions = std::forward<AttributeDefinitionsT>(value);
69 template <
typename AttributeDefinitionsT = Aws::Vector<AttributeDefinition>>
74 template <
typename AttributeDefinitionsT = AttributeDefinition>
76 m_attributeDefinitionsHasBeenSet =
true;
77 m_attributeDefinitions.emplace_back(std::forward<AttributeDefinitionsT>(value));
89 template <
typename TableNameT = Aws::String>
91 m_tableNameHasBeenSet =
true;
92 m_tableName = std::forward<TableNameT>(value);
94 template <
typename TableNameT = Aws::String>
122 m_billingModeHasBeenSet =
true;
123 m_billingMode = value;
137 template <
typename ProvisionedThroughputT = ProvisionedThroughput>
139 m_provisionedThroughputHasBeenSet =
true;
140 m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value);
142 template <
typename ProvisionedThroughputT = ProvisionedThroughput>
164 template <
typename GlobalSecondaryIndexUpdatesT = Aws::Vector<GlobalSecondaryIndexUpdate>>
166 m_globalSecondaryIndexUpdatesHasBeenSet =
true;
167 m_globalSecondaryIndexUpdates = std::forward<GlobalSecondaryIndexUpdatesT>(value);
169 template <
typename GlobalSecondaryIndexUpdatesT = Aws::Vector<GlobalSecondaryIndexUpdate>>
174 template <
typename GlobalSecondaryIndexUpdatesT = GlobalSecondaryIndexUpdate>
176 m_globalSecondaryIndexUpdatesHasBeenSet =
true;
177 m_globalSecondaryIndexUpdates.emplace_back(std::forward<GlobalSecondaryIndexUpdatesT>(value));
191 template <
typename StreamSpecificationT = StreamSpecification>
193 m_streamSpecificationHasBeenSet =
true;
194 m_streamSpecification = std::forward<StreamSpecificationT>(value);
196 template <
typename StreamSpecificationT = StreamSpecification>
209 template <
typename SSESpecificationT = SSESpecification>
211 m_sSESpecificationHasBeenSet =
true;
212 m_sSESpecification = std::forward<SSESpecificationT>(value);
214 template <
typename SSESpecificationT = SSESpecification>
228 template <
typename ReplicaUpdatesT = Aws::Vector<ReplicationGroupUpdate>>
230 m_replicaUpdatesHasBeenSet =
true;
231 m_replicaUpdates = std::forward<ReplicaUpdatesT>(value);
233 template <
typename ReplicaUpdatesT = Aws::Vector<ReplicationGroupUpdate>>
238 template <
typename ReplicaUpdatesT = ReplicationGroupUpdate>
240 m_replicaUpdatesHasBeenSet =
true;
241 m_replicaUpdates.emplace_back(std::forward<ReplicaUpdatesT>(value));
254 m_tableClassHasBeenSet =
true;
255 m_tableClass = value;
271 m_deletionProtectionEnabledHasBeenSet =
true;
272 m_deletionProtectionEnabled = value;
301 m_multiRegionConsistencyHasBeenSet =
true;
302 m_multiRegionConsistency = value;
325 template <
typename GlobalTableWitnessUpdatesT = Aws::Vector<GlobalTableWitnessGroupUpdate>>
327 m_globalTableWitnessUpdatesHasBeenSet =
true;
328 m_globalTableWitnessUpdates = std::forward<GlobalTableWitnessUpdatesT>(value);
330 template <
typename GlobalTableWitnessUpdatesT = Aws::Vector<GlobalTableWitnessGroupUpdate>>
335 template <
typename GlobalTableWitnessUpdatesT = GlobalTableWitnessGroupUpdate>
337 m_globalTableWitnessUpdatesHasBeenSet =
true;
338 m_globalTableWitnessUpdates.emplace_back(std::forward<GlobalTableWitnessUpdatesT>(value));
352 template <
typename OnDemandThroughputT = OnDemandThroughput>
354 m_onDemandThroughputHasBeenSet =
true;
355 m_onDemandThroughput = std::forward<OnDemandThroughputT>(value);
357 template <
typename OnDemandThroughputT = OnDemandThroughput>
371 template <
typename WarmThroughputT = WarmThroughput>
373 m_warmThroughputHasBeenSet =
true;
374 m_warmThroughput = std::forward<WarmThroughputT>(value);
376 template <
typename WarmThroughputT = WarmThroughput>
389 ProvisionedThroughput m_provisionedThroughput;
393 StreamSpecification m_streamSpecification;
395 SSESpecification m_sSESpecification;
401 bool m_deletionProtectionEnabled{
false};
407 OnDemandThroughput m_onDemandThroughput;
409 WarmThroughput m_warmThroughput;
410 bool m_attributeDefinitionsHasBeenSet =
false;
411 bool m_tableNameHasBeenSet =
false;
412 bool m_billingModeHasBeenSet =
false;
413 bool m_provisionedThroughputHasBeenSet =
false;
414 bool m_globalSecondaryIndexUpdatesHasBeenSet =
false;
415 bool m_streamSpecificationHasBeenSet =
false;
416 bool m_sSESpecificationHasBeenSet =
false;
417 bool m_replicaUpdatesHasBeenSet =
false;
418 bool m_tableClassHasBeenSet =
false;
419 bool m_deletionProtectionEnabledHasBeenSet =
false;
420 bool m_multiRegionConsistencyHasBeenSet =
false;
421 bool m_globalTableWitnessUpdatesHasBeenSet =
false;
422 bool m_onDemandThroughputHasBeenSet =
false;
423 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