7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dynamodb/DynamoDB_EXPORTS.h>
10#include <aws/dynamodb/model/KeySchemaElement.h>
11#include <aws/dynamodb/model/OnDemandThroughput.h>
12#include <aws/dynamodb/model/Projection.h>
13#include <aws/dynamodb/model/ProvisionedThroughput.h>
14#include <aws/dynamodb/model/WarmThroughput.h>
47 template <
typename IndexNameT = Aws::String>
49 m_indexNameHasBeenSet =
true;
50 m_indexName = std::forward<IndexNameT>(value);
52 template <
typename IndexNameT = Aws::String>
66 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
68 m_keySchemaHasBeenSet =
true;
69 m_keySchema = std::forward<KeySchemaT>(value);
71 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
76 template <
typename KeySchemaT = KeySchemaElement>
78 m_keySchemaHasBeenSet =
true;
79 m_keySchema.emplace_back(std::forward<KeySchemaT>(value));
92 template <
typename ProjectionT = Projection>
94 m_projectionHasBeenSet =
true;
95 m_projection = std::forward<ProjectionT>(value);
97 template <
typename ProjectionT = Projection>
114 template <
typename ProvisionedThroughputT = ProvisionedThroughput>
116 m_provisionedThroughputHasBeenSet =
true;
117 m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value);
119 template <
typename ProvisionedThroughputT = ProvisionedThroughput>
136 template <
typename OnDemandThroughputT = OnDemandThroughput>
138 m_onDemandThroughputHasBeenSet =
true;
139 m_onDemandThroughput = std::forward<OnDemandThroughputT>(value);
141 template <
typename OnDemandThroughputT = OnDemandThroughput>
155 template <
typename WarmThroughputT = WarmThroughput>
157 m_warmThroughputHasBeenSet =
true;
158 m_warmThroughput = std::forward<WarmThroughputT>(value);
160 template <
typename WarmThroughputT = WarmThroughput>
178 bool m_indexNameHasBeenSet =
false;
179 bool m_keySchemaHasBeenSet =
false;
180 bool m_projectionHasBeenSet =
false;
181 bool m_provisionedThroughputHasBeenSet =
false;
182 bool m_onDemandThroughputHasBeenSet =
false;
183 bool m_warmThroughputHasBeenSet =
false;
bool WarmThroughputHasBeenSet() const
AWS_DYNAMODB_API CreateGlobalSecondaryIndexAction & operator=(Aws::Utils::Json::JsonView jsonValue)
const Projection & GetProjection() const
void SetProvisionedThroughput(ProvisionedThroughputT &&value)
bool ProjectionHasBeenSet() const
bool KeySchemaHasBeenSet() const
CreateGlobalSecondaryIndexAction & WithIndexName(IndexNameT &&value)
const Aws::Vector< KeySchemaElement > & GetKeySchema() const
CreateGlobalSecondaryIndexAction & WithOnDemandThroughput(OnDemandThroughputT &&value)
void SetKeySchema(KeySchemaT &&value)
const OnDemandThroughput & GetOnDemandThroughput() const
CreateGlobalSecondaryIndexAction & AddKeySchema(KeySchemaT &&value)
CreateGlobalSecondaryIndexAction & WithProvisionedThroughput(ProvisionedThroughputT &&value)
AWS_DYNAMODB_API CreateGlobalSecondaryIndexAction()=default
const WarmThroughput & GetWarmThroughput() const
const Aws::String & GetIndexName() const
AWS_DYNAMODB_API CreateGlobalSecondaryIndexAction(Aws::Utils::Json::JsonView jsonValue)
bool ProvisionedThroughputHasBeenSet() const
void SetOnDemandThroughput(OnDemandThroughputT &&value)
CreateGlobalSecondaryIndexAction & WithWarmThroughput(WarmThroughputT &&value)
CreateGlobalSecondaryIndexAction & WithKeySchema(KeySchemaT &&value)
void SetProjection(ProjectionT &&value)
const ProvisionedThroughput & GetProvisionedThroughput() const
void SetWarmThroughput(WarmThroughputT &&value)
bool IndexNameHasBeenSet() const
bool OnDemandThroughputHasBeenSet() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIndexName(IndexNameT &&value)
CreateGlobalSecondaryIndexAction & WithProjection(ProjectionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue