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>
54 inline void SetIndexName(
const char* value) { m_indexNameHasBeenSet =
true; m_indexName.assign(value); }
122 bool m_indexNameHasBeenSet =
false;
125 bool m_keySchemaHasBeenSet =
false;
128 bool m_projectionHasBeenSet =
false;
131 bool m_provisionedThroughputHasBeenSet =
false;
134 bool m_onDemandThroughputHasBeenSet =
false;
void SetOnDemandThroughput(const OnDemandThroughput &value)
GlobalSecondaryIndexInfo & WithOnDemandThroughput(OnDemandThroughput &&value)
void SetProjection(Projection &&value)
GlobalSecondaryIndexInfo & WithIndexName(Aws::String &&value)
GlobalSecondaryIndexInfo & AddKeySchema(KeySchemaElement &&value)
GlobalSecondaryIndexInfo & AddKeySchema(const KeySchemaElement &value)
const ProvisionedThroughput & GetProvisionedThroughput() const
bool IndexNameHasBeenSet() const
void SetProvisionedThroughput(ProvisionedThroughput &&value)
const Aws::Vector< KeySchemaElement > & GetKeySchema() const
bool OnDemandThroughputHasBeenSet() const
void SetIndexName(Aws::String &&value)
const Aws::String & GetIndexName() const
bool KeySchemaHasBeenSet() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
GlobalSecondaryIndexInfo & WithKeySchema(Aws::Vector< KeySchemaElement > &&value)
bool ProjectionHasBeenSet() const
GlobalSecondaryIndexInfo & WithIndexName(const Aws::String &value)
const Projection & GetProjection() const
GlobalSecondaryIndexInfo & WithOnDemandThroughput(const OnDemandThroughput &value)
GlobalSecondaryIndexInfo & WithProvisionedThroughput(const ProvisionedThroughput &value)
void SetProjection(const Projection &value)
GlobalSecondaryIndexInfo & WithProvisionedThroughput(ProvisionedThroughput &&value)
void SetIndexName(const char *value)
GlobalSecondaryIndexInfo & WithProjection(Projection &&value)
const OnDemandThroughput & GetOnDemandThroughput() const
AWS_DYNAMODB_API GlobalSecondaryIndexInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
GlobalSecondaryIndexInfo & WithKeySchema(const Aws::Vector< KeySchemaElement > &value)
AWS_DYNAMODB_API GlobalSecondaryIndexInfo(Aws::Utils::Json::JsonView jsonValue)
void SetProvisionedThroughput(const ProvisionedThroughput &value)
void SetOnDemandThroughput(OnDemandThroughput &&value)
void SetKeySchema(Aws::Vector< KeySchemaElement > &&value)
AWS_DYNAMODB_API GlobalSecondaryIndexInfo()
void SetIndexName(const Aws::String &value)
bool ProvisionedThroughputHasBeenSet() const
void SetKeySchema(const Aws::Vector< KeySchemaElement > &value)
GlobalSecondaryIndexInfo & WithProjection(const Projection &value)
GlobalSecondaryIndexInfo & WithIndexName(const char *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