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>
53 template<
typename IndexNameT = Aws::String>
54 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet =
true; m_indexName = std::forward<IndexNameT>(value); }
55 template<
typename IndexNameT = Aws::String>
65 template<
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
66 void SetKeySchema(KeySchemaT&& value) { m_keySchemaHasBeenSet =
true; m_keySchema = std::forward<KeySchemaT>(value); }
67 template<
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
69 template<
typename KeySchemaT = KeySchemaElement>
81 template<
typename ProjectionT = Projection>
82 void SetProjection(ProjectionT&& value) { m_projectionHasBeenSet =
true; m_projection = std::forward<ProjectionT>(value); }
83 template<
typename ProjectionT = Projection>
97 template<
typename ProvisionedThroughputT = ProvisionedThroughput>
98 void SetProvisionedThroughput(ProvisionedThroughputT&& value) { m_provisionedThroughputHasBeenSet =
true; m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value); }
99 template<
typename ProvisionedThroughputT = ProvisionedThroughput>
113 template<
typename OnDemandThroughputT = OnDemandThroughput>
114 void SetOnDemandThroughput(OnDemandThroughputT&& value) { m_onDemandThroughputHasBeenSet =
true; m_onDemandThroughput = std::forward<OnDemandThroughputT>(value); }
115 template<
typename OnDemandThroughputT = OnDemandThroughput>
126 template<
typename WarmThroughputT = WarmThroughput>
127 void SetWarmThroughput(WarmThroughputT&& value) { m_warmThroughputHasBeenSet =
true; m_warmThroughput = std::forward<WarmThroughputT>(value); }
128 template<
typename WarmThroughputT = WarmThroughput>
134 bool m_indexNameHasBeenSet =
false;
137 bool m_keySchemaHasBeenSet =
false;
140 bool m_projectionHasBeenSet =
false;
143 bool m_provisionedThroughputHasBeenSet =
false;
146 bool m_onDemandThroughputHasBeenSet =
false;
149 bool m_warmThroughputHasBeenSet =
false;
bool WarmThroughputHasBeenSet() const
AWS_DYNAMODB_API CreateGlobalSecondaryIndexAction & operator=(Aws::Utils::Json::JsonView jsonValue)
const Projection & GetProjection() const
void SetProvisionedThroughput(ProvisionedThroughputT &&value)
bool ProjectionHasBeenSet() const
bool KeySchemaHasBeenSet() const
CreateGlobalSecondaryIndexAction & WithIndexName(IndexNameT &&value)
const Aws::Vector< KeySchemaElement > & GetKeySchema() const
CreateGlobalSecondaryIndexAction & WithOnDemandThroughput(OnDemandThroughputT &&value)
void SetKeySchema(KeySchemaT &&value)
const OnDemandThroughput & GetOnDemandThroughput() const
CreateGlobalSecondaryIndexAction & AddKeySchema(KeySchemaT &&value)
CreateGlobalSecondaryIndexAction & WithProvisionedThroughput(ProvisionedThroughputT &&value)
AWS_DYNAMODB_API CreateGlobalSecondaryIndexAction()=default
const WarmThroughput & GetWarmThroughput() const
const Aws::String & GetIndexName() const
AWS_DYNAMODB_API CreateGlobalSecondaryIndexAction(Aws::Utils::Json::JsonView jsonValue)
bool ProvisionedThroughputHasBeenSet() const
void SetOnDemandThroughput(OnDemandThroughputT &&value)
CreateGlobalSecondaryIndexAction & WithWarmThroughput(WarmThroughputT &&value)
CreateGlobalSecondaryIndexAction & WithKeySchema(KeySchemaT &&value)
void SetProjection(ProjectionT &&value)
const ProvisionedThroughput & GetProvisionedThroughput() const
void SetWarmThroughput(WarmThroughputT &&value)
bool IndexNameHasBeenSet() const
bool OnDemandThroughputHasBeenSet() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIndexName(IndexNameT &&value)
CreateGlobalSecondaryIndexAction & WithProjection(ProjectionT &&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