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>
48 template <
typename IndexNameT = Aws::String>
50 m_indexNameHasBeenSet =
true;
51 m_indexName = std::forward<IndexNameT>(value);
53 template <
typename IndexNameT = Aws::String>
75 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
77 m_keySchemaHasBeenSet =
true;
78 m_keySchema = std::forward<KeySchemaT>(value);
80 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
85 template <
typename KeySchemaT = KeySchemaElement>
87 m_keySchemaHasBeenSet =
true;
88 m_keySchema.emplace_back(std::forward<KeySchemaT>(value));
101 template <
typename ProjectionT = Projection>
103 m_projectionHasBeenSet =
true;
104 m_projection = std::forward<ProjectionT>(value);
106 template <
typename ProjectionT = Projection>
124 template <
typename ProvisionedThroughputT = ProvisionedThroughput>
126 m_provisionedThroughputHasBeenSet =
true;
127 m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value);
129 template <
typename ProvisionedThroughputT = ProvisionedThroughput>
146 template <
typename OnDemandThroughputT = OnDemandThroughput>
148 m_onDemandThroughputHasBeenSet =
true;
149 m_onDemandThroughput = std::forward<OnDemandThroughputT>(value);
151 template <
typename OnDemandThroughputT = OnDemandThroughput>
167 template <
typename WarmThroughputT = WarmThroughput>
169 m_warmThroughputHasBeenSet =
true;
170 m_warmThroughput = std::forward<WarmThroughputT>(value);
172 template <
typename WarmThroughputT = WarmThroughput>
190 bool m_indexNameHasBeenSet =
false;
191 bool m_keySchemaHasBeenSet =
false;
192 bool m_projectionHasBeenSet =
false;
193 bool m_provisionedThroughputHasBeenSet =
false;
194 bool m_onDemandThroughputHasBeenSet =
false;
195 bool m_warmThroughputHasBeenSet =
false;
const WarmThroughput & GetWarmThroughput() const
const Aws::String & GetIndexName() const
bool IndexNameHasBeenSet() const
AWS_DYNAMODB_API GlobalSecondaryIndex(Aws::Utils::Json::JsonView jsonValue)
void SetIndexName(IndexNameT &&value)
void SetProvisionedThroughput(ProvisionedThroughputT &&value)
AWS_DYNAMODB_API GlobalSecondaryIndex & operator=(Aws::Utils::Json::JsonView jsonValue)
GlobalSecondaryIndex & WithProvisionedThroughput(ProvisionedThroughputT &&value)
bool OnDemandThroughputHasBeenSet() const
void SetWarmThroughput(WarmThroughputT &&value)
bool KeySchemaHasBeenSet() const
GlobalSecondaryIndex & AddKeySchema(KeySchemaT &&value)
const ProvisionedThroughput & GetProvisionedThroughput() const
GlobalSecondaryIndex & WithOnDemandThroughput(OnDemandThroughputT &&value)
void SetProjection(ProjectionT &&value)
void SetOnDemandThroughput(OnDemandThroughputT &&value)
const Projection & GetProjection() const
GlobalSecondaryIndex & WithWarmThroughput(WarmThroughputT &&value)
GlobalSecondaryIndex & WithKeySchema(KeySchemaT &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API GlobalSecondaryIndex()=default
bool WarmThroughputHasBeenSet() const
GlobalSecondaryIndex & WithIndexName(IndexNameT &&value)
void SetKeySchema(KeySchemaT &&value)
const OnDemandThroughput & GetOnDemandThroughput() const
bool ProjectionHasBeenSet() const
GlobalSecondaryIndex & WithProjection(ProjectionT &&value)
const Aws::Vector< KeySchemaElement > & GetKeySchema() const
bool ProvisionedThroughputHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue