AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateGlobalTableSettingsRequest.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/DynamoDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dynamodb/model/BillingMode.h>
11#include <aws/dynamodb/model/AutoScalingSettingsUpdate.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/dynamodb/model/GlobalTableGlobalSecondaryIndexSettingsUpdate.h>
14#include <aws/dynamodb/model/ReplicaSettingsUpdate.h>
15#include <utility>
16
17namespace Aws
18{
19namespace DynamoDB
20{
21namespace Model
22{
23
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateGlobalTableSettings"; }
36
37 AWS_DYNAMODB_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetGlobalTableName() const{ return m_globalTableName; }
47 inline bool GlobalTableNameHasBeenSet() const { return m_globalTableNameHasBeenSet; }
48 inline void SetGlobalTableName(const Aws::String& value) { m_globalTableNameHasBeenSet = true; m_globalTableName = value; }
49 inline void SetGlobalTableName(Aws::String&& value) { m_globalTableNameHasBeenSet = true; m_globalTableName = std::move(value); }
50 inline void SetGlobalTableName(const char* value) { m_globalTableNameHasBeenSet = true; m_globalTableName.assign(value); }
52 inline UpdateGlobalTableSettingsRequest& WithGlobalTableName(Aws::String&& value) { SetGlobalTableName(std::move(value)); return *this;}
53 inline UpdateGlobalTableSettingsRequest& WithGlobalTableName(const char* value) { SetGlobalTableName(value); return *this;}
55
57
70 inline const BillingMode& GetGlobalTableBillingMode() const{ return m_globalTableBillingMode; }
71 inline bool GlobalTableBillingModeHasBeenSet() const { return m_globalTableBillingModeHasBeenSet; }
72 inline void SetGlobalTableBillingMode(const BillingMode& value) { m_globalTableBillingModeHasBeenSet = true; m_globalTableBillingMode = value; }
73 inline void SetGlobalTableBillingMode(BillingMode&& value) { m_globalTableBillingModeHasBeenSet = true; m_globalTableBillingMode = std::move(value); }
77
79
83 inline long long GetGlobalTableProvisionedWriteCapacityUnits() const{ return m_globalTableProvisionedWriteCapacityUnits; }
84 inline bool GlobalTableProvisionedWriteCapacityUnitsHasBeenSet() const { return m_globalTableProvisionedWriteCapacityUnitsHasBeenSet; }
85 inline void SetGlobalTableProvisionedWriteCapacityUnits(long long value) { m_globalTableProvisionedWriteCapacityUnitsHasBeenSet = true; m_globalTableProvisionedWriteCapacityUnits = value; }
88
90
94 inline const AutoScalingSettingsUpdate& GetGlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate() const{ return m_globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate; }
95 inline bool GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdateHasBeenSet() const { return m_globalTableProvisionedWriteCapacityAutoScalingSettingsUpdateHasBeenSet; }
96 inline void SetGlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(const AutoScalingSettingsUpdate& value) { m_globalTableProvisionedWriteCapacityAutoScalingSettingsUpdateHasBeenSet = true; m_globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate = value; }
97 inline void SetGlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate&& value) { m_globalTableProvisionedWriteCapacityAutoScalingSettingsUpdateHasBeenSet = true; m_globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate = std::move(value); }
101
103
107 inline const Aws::Vector<GlobalTableGlobalSecondaryIndexSettingsUpdate>& GetGlobalTableGlobalSecondaryIndexSettingsUpdate() const{ return m_globalTableGlobalSecondaryIndexSettingsUpdate; }
108 inline bool GlobalTableGlobalSecondaryIndexSettingsUpdateHasBeenSet() const { return m_globalTableGlobalSecondaryIndexSettingsUpdateHasBeenSet; }
109 inline void SetGlobalTableGlobalSecondaryIndexSettingsUpdate(const Aws::Vector<GlobalTableGlobalSecondaryIndexSettingsUpdate>& value) { m_globalTableGlobalSecondaryIndexSettingsUpdateHasBeenSet = true; m_globalTableGlobalSecondaryIndexSettingsUpdate = value; }
110 inline void SetGlobalTableGlobalSecondaryIndexSettingsUpdate(Aws::Vector<GlobalTableGlobalSecondaryIndexSettingsUpdate>&& value) { m_globalTableGlobalSecondaryIndexSettingsUpdateHasBeenSet = true; m_globalTableGlobalSecondaryIndexSettingsUpdate = std::move(value); }
113 inline UpdateGlobalTableSettingsRequest& AddGlobalTableGlobalSecondaryIndexSettingsUpdate(const GlobalTableGlobalSecondaryIndexSettingsUpdate& value) { m_globalTableGlobalSecondaryIndexSettingsUpdateHasBeenSet = true; m_globalTableGlobalSecondaryIndexSettingsUpdate.push_back(value); return *this; }
114 inline UpdateGlobalTableSettingsRequest& AddGlobalTableGlobalSecondaryIndexSettingsUpdate(GlobalTableGlobalSecondaryIndexSettingsUpdate&& value) { m_globalTableGlobalSecondaryIndexSettingsUpdateHasBeenSet = true; m_globalTableGlobalSecondaryIndexSettingsUpdate.push_back(std::move(value)); return *this; }
116
118
122 inline const Aws::Vector<ReplicaSettingsUpdate>& GetReplicaSettingsUpdate() const{ return m_replicaSettingsUpdate; }
123 inline bool ReplicaSettingsUpdateHasBeenSet() const { return m_replicaSettingsUpdateHasBeenSet; }
124 inline void SetReplicaSettingsUpdate(const Aws::Vector<ReplicaSettingsUpdate>& value) { m_replicaSettingsUpdateHasBeenSet = true; m_replicaSettingsUpdate = value; }
125 inline void SetReplicaSettingsUpdate(Aws::Vector<ReplicaSettingsUpdate>&& value) { m_replicaSettingsUpdateHasBeenSet = true; m_replicaSettingsUpdate = std::move(value); }
128 inline UpdateGlobalTableSettingsRequest& AddReplicaSettingsUpdate(const ReplicaSettingsUpdate& value) { m_replicaSettingsUpdateHasBeenSet = true; m_replicaSettingsUpdate.push_back(value); return *this; }
129 inline UpdateGlobalTableSettingsRequest& AddReplicaSettingsUpdate(ReplicaSettingsUpdate&& value) { m_replicaSettingsUpdateHasBeenSet = true; m_replicaSettingsUpdate.push_back(std::move(value)); return *this; }
131 private:
132
133 Aws::String m_globalTableName;
134 bool m_globalTableNameHasBeenSet = false;
135
136 BillingMode m_globalTableBillingMode;
137 bool m_globalTableBillingModeHasBeenSet = false;
138
139 long long m_globalTableProvisionedWriteCapacityUnits;
140 bool m_globalTableProvisionedWriteCapacityUnitsHasBeenSet = false;
141
142 AutoScalingSettingsUpdate m_globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate;
143 bool m_globalTableProvisionedWriteCapacityAutoScalingSettingsUpdateHasBeenSet = false;
144
145 Aws::Vector<GlobalTableGlobalSecondaryIndexSettingsUpdate> m_globalTableGlobalSecondaryIndexSettingsUpdate;
146 bool m_globalTableGlobalSecondaryIndexSettingsUpdateHasBeenSet = false;
147
148 Aws::Vector<ReplicaSettingsUpdate> m_replicaSettingsUpdate;
149 bool m_replicaSettingsUpdateHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace DynamoDB
154} // namespace Aws
UpdateGlobalTableSettingsRequest & AddGlobalTableGlobalSecondaryIndexSettingsUpdate(const GlobalTableGlobalSecondaryIndexSettingsUpdate &value)
UpdateGlobalTableSettingsRequest & AddGlobalTableGlobalSecondaryIndexSettingsUpdate(GlobalTableGlobalSecondaryIndexSettingsUpdate &&value)
void SetGlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(const AutoScalingSettingsUpdate &value)
UpdateGlobalTableSettingsRequest & WithGlobalTableBillingMode(const BillingMode &value)
UpdateGlobalTableSettingsRequest & WithGlobalTableBillingMode(BillingMode &&value)
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateGlobalTableSettingsRequest & WithGlobalTableGlobalSecondaryIndexSettingsUpdate(const Aws::Vector< GlobalTableGlobalSecondaryIndexSettingsUpdate > &value)
UpdateGlobalTableSettingsRequest & AddReplicaSettingsUpdate(const ReplicaSettingsUpdate &value)
UpdateGlobalTableSettingsRequest & WithGlobalTableProvisionedWriteCapacityUnits(long long value)
UpdateGlobalTableSettingsRequest & WithGlobalTableName(Aws::String &&value)
void SetGlobalTableGlobalSecondaryIndexSettingsUpdate(Aws::Vector< GlobalTableGlobalSecondaryIndexSettingsUpdate > &&value)
UpdateGlobalTableSettingsRequest & WithGlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate &&value)
UpdateGlobalTableSettingsRequest & AddReplicaSettingsUpdate(ReplicaSettingsUpdate &&value)
void SetReplicaSettingsUpdate(const Aws::Vector< ReplicaSettingsUpdate > &value)
const Aws::Vector< GlobalTableGlobalSecondaryIndexSettingsUpdate > & GetGlobalTableGlobalSecondaryIndexSettingsUpdate() const
void SetGlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate &&value)
UpdateGlobalTableSettingsRequest & WithGlobalTableName(const char *value)
UpdateGlobalTableSettingsRequest & WithGlobalTableName(const Aws::String &value)
UpdateGlobalTableSettingsRequest & WithGlobalTableGlobalSecondaryIndexSettingsUpdate(Aws::Vector< GlobalTableGlobalSecondaryIndexSettingsUpdate > &&value)
const Aws::Vector< ReplicaSettingsUpdate > & GetReplicaSettingsUpdate() const
AWS_DYNAMODB_API Aws::String SerializePayload() const override
const AutoScalingSettingsUpdate & GetGlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate() const
UpdateGlobalTableSettingsRequest & WithReplicaSettingsUpdate(Aws::Vector< ReplicaSettingsUpdate > &&value)
UpdateGlobalTableSettingsRequest & WithGlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(const AutoScalingSettingsUpdate &value)
void SetReplicaSettingsUpdate(Aws::Vector< ReplicaSettingsUpdate > &&value)
void SetGlobalTableGlobalSecondaryIndexSettingsUpdate(const Aws::Vector< GlobalTableGlobalSecondaryIndexSettingsUpdate > &value)
UpdateGlobalTableSettingsRequest & WithReplicaSettingsUpdate(const Aws::Vector< ReplicaSettingsUpdate > &value)
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