7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dynamodb/model/Projection.h>
11#include <aws/dynamodb/model/ProvisionedThroughput.h>
12#include <aws/dynamodb/model/OnDemandThroughput.h>
13#include <aws/dynamodb/model/KeySchemaElement.h>
55 inline void SetIndexName(
const char* value) { m_indexNameHasBeenSet =
true; m_indexName.assign(value); }
131 bool m_indexNameHasBeenSet =
false;
134 bool m_keySchemaHasBeenSet =
false;
137 bool m_projectionHasBeenSet =
false;
140 bool m_provisionedThroughputHasBeenSet =
false;
143 bool m_onDemandThroughputHasBeenSet =
false;
GlobalSecondaryIndex & WithKeySchema(Aws::Vector< KeySchemaElement > &&value)
void SetKeySchema(Aws::Vector< KeySchemaElement > &&value)
void SetOnDemandThroughput(OnDemandThroughput &&value)
void SetIndexName(const Aws::String &value)
const Aws::String & GetIndexName() const
bool IndexNameHasBeenSet() const
AWS_DYNAMODB_API GlobalSecondaryIndex(Aws::Utils::Json::JsonView jsonValue)
void SetProjection(Projection &&value)
AWS_DYNAMODB_API GlobalSecondaryIndex & operator=(Aws::Utils::Json::JsonView jsonValue)
GlobalSecondaryIndex & WithKeySchema(const Aws::Vector< KeySchemaElement > &value)
bool OnDemandThroughputHasBeenSet() const
GlobalSecondaryIndex & WithIndexName(const char *value)
bool KeySchemaHasBeenSet() const
const ProvisionedThroughput & GetProvisionedThroughput() const
void SetIndexName(const char *value)
AWS_DYNAMODB_API GlobalSecondaryIndex()
GlobalSecondaryIndex & WithIndexName(Aws::String &&value)
void SetOnDemandThroughput(const OnDemandThroughput &value)
GlobalSecondaryIndex & AddKeySchema(KeySchemaElement &&value)
const Projection & GetProjection() const
GlobalSecondaryIndex & WithOnDemandThroughput(const OnDemandThroughput &value)
void SetProvisionedThroughput(ProvisionedThroughput &&value)
GlobalSecondaryIndex & WithProvisionedThroughput(const ProvisionedThroughput &value)
GlobalSecondaryIndex & WithProvisionedThroughput(ProvisionedThroughput &&value)
void SetKeySchema(const Aws::Vector< KeySchemaElement > &value)
GlobalSecondaryIndex & WithIndexName(const Aws::String &value)
void SetProjection(const Projection &value)
GlobalSecondaryIndex & WithOnDemandThroughput(OnDemandThroughput &&value)
GlobalSecondaryIndex & WithProjection(const Projection &value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProvisionedThroughput(const ProvisionedThroughput &value)
GlobalSecondaryIndex & WithProjection(Projection &&value)
void SetIndexName(Aws::String &&value)
const OnDemandThroughput & GetOnDemandThroughput() const
bool ProjectionHasBeenSet() const
const Aws::Vector< KeySchemaElement > & GetKeySchema() const
GlobalSecondaryIndex & AddKeySchema(const KeySchemaElement &value)
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