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>
52 template<
typename IndexNameT = Aws::String>
53 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet =
true; m_indexName = std::forward<IndexNameT>(value); }
54 template<
typename IndexNameT = Aws::String>
73 template<
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
74 void SetKeySchema(KeySchemaT&& value) { m_keySchemaHasBeenSet =
true; m_keySchema = std::forward<KeySchemaT>(value); }
75 template<
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
77 template<
typename KeySchemaT = KeySchemaElement>
89 template<
typename ProjectionT = Projection>
90 void SetProjection(ProjectionT&& value) { m_projectionHasBeenSet =
true; m_projection = std::forward<ProjectionT>(value); }
91 template<
typename ProjectionT = Projection>
102 template<
typename ProvisionedThroughputT = ProvisionedThroughput>
103 void SetProvisionedThroughput(ProvisionedThroughputT&& value) { m_provisionedThroughputHasBeenSet =
true; m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value); }
104 template<
typename ProvisionedThroughputT = ProvisionedThroughput>
112 template<
typename OnDemandThroughputT = OnDemandThroughput>
113 void SetOnDemandThroughput(OnDemandThroughputT&& value) { m_onDemandThroughputHasBeenSet =
true; m_onDemandThroughput = std::forward<OnDemandThroughputT>(value); }
114 template<
typename OnDemandThroughputT = OnDemandThroughput>
120 bool m_indexNameHasBeenSet =
false;
123 bool m_keySchemaHasBeenSet =
false;
126 bool m_projectionHasBeenSet =
false;
129 bool m_provisionedThroughputHasBeenSet =
false;
132 bool m_onDemandThroughputHasBeenSet =
false;
void SetProvisionedThroughput(ProvisionedThroughputT &&value)
void SetOnDemandThroughput(OnDemandThroughputT &&value)
const ProvisionedThroughput & GetProvisionedThroughput() const
bool IndexNameHasBeenSet() const
const Aws::Vector< KeySchemaElement > & GetKeySchema() const
bool OnDemandThroughputHasBeenSet() const
const Aws::String & GetIndexName() const
bool KeySchemaHasBeenSet() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
bool ProjectionHasBeenSet() const
const Projection & GetProjection() const
GlobalSecondaryIndexInfo & WithProvisionedThroughput(ProvisionedThroughputT &&value)
AWS_DYNAMODB_API GlobalSecondaryIndexInfo()=default
void SetProjection(ProjectionT &&value)
GlobalSecondaryIndexInfo & AddKeySchema(KeySchemaT &&value)
GlobalSecondaryIndexInfo & WithProjection(ProjectionT &&value)
const OnDemandThroughput & GetOnDemandThroughput() const
AWS_DYNAMODB_API GlobalSecondaryIndexInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API GlobalSecondaryIndexInfo(Aws::Utils::Json::JsonView jsonValue)
GlobalSecondaryIndexInfo & WithIndexName(IndexNameT &&value)
void SetKeySchema(KeySchemaT &&value)
void SetIndexName(IndexNameT &&value)
bool ProvisionedThroughputHasBeenSet() const
GlobalSecondaryIndexInfo & WithKeySchema(KeySchemaT &&value)
GlobalSecondaryIndexInfo & WithOnDemandThroughput(OnDemandThroughputT &&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