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/WarmThroughput.h>
14#include <aws/dynamodb/model/KeySchemaElement.h>
54 template<
typename IndexNameT = Aws::String>
55 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet =
true; m_indexName = std::forward<IndexNameT>(value); }
56 template<
typename IndexNameT = Aws::String>
75 template<
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
76 void SetKeySchema(KeySchemaT&& value) { m_keySchemaHasBeenSet =
true; m_keySchema = std::forward<KeySchemaT>(value); }
77 template<
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
79 template<
typename KeySchemaT = KeySchemaElement>
91 template<
typename ProjectionT = Projection>
92 void SetProjection(ProjectionT&& value) { m_projectionHasBeenSet =
true; m_projection = std::forward<ProjectionT>(value); }
93 template<
typename ProjectionT = Projection>
108 template<
typename ProvisionedThroughputT = ProvisionedThroughput>
109 void SetProvisionedThroughput(ProvisionedThroughputT&& value) { m_provisionedThroughputHasBeenSet =
true; m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value); }
110 template<
typename ProvisionedThroughputT = ProvisionedThroughput>
124 template<
typename OnDemandThroughputT = OnDemandThroughput>
125 void SetOnDemandThroughput(OnDemandThroughputT&& value) { m_onDemandThroughputHasBeenSet =
true; m_onDemandThroughput = std::forward<OnDemandThroughputT>(value); }
126 template<
typename OnDemandThroughputT = OnDemandThroughput>
139 template<
typename WarmThroughputT = WarmThroughput>
140 void SetWarmThroughput(WarmThroughputT&& value) { m_warmThroughputHasBeenSet =
true; m_warmThroughput = std::forward<WarmThroughputT>(value); }
141 template<
typename WarmThroughputT = WarmThroughput>
147 bool m_indexNameHasBeenSet =
false;
150 bool m_keySchemaHasBeenSet =
false;
153 bool m_projectionHasBeenSet =
false;
156 bool m_provisionedThroughputHasBeenSet =
false;
159 bool m_onDemandThroughputHasBeenSet =
false;
162 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