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/KeySchemaElement.h>
51 template<
typename IndexNameT = Aws::String>
52 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet =
true; m_indexName = std::forward<IndexNameT>(value); }
53 template<
typename IndexNameT = Aws::String>
72 template<
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
73 void SetKeySchema(KeySchemaT&& value) { m_keySchemaHasBeenSet =
true; m_keySchema = std::forward<KeySchemaT>(value); }
74 template<
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
76 template<
typename KeySchemaT = KeySchemaElement>
88 template<
typename ProjectionT = Projection>
89 void SetProjection(ProjectionT&& value) { m_projectionHasBeenSet =
true; m_projection = std::forward<ProjectionT>(value); }
90 template<
typename ProjectionT = Projection>
96 bool m_indexNameHasBeenSet =
false;
99 bool m_keySchemaHasBeenSet =
false;
102 bool m_projectionHasBeenSet =
false;
void SetProjection(ProjectionT &&value)
const Aws::Vector< KeySchemaElement > & GetKeySchema() const
void SetIndexName(IndexNameT &&value)
void SetKeySchema(KeySchemaT &&value)
LocalSecondaryIndex & WithIndexName(IndexNameT &&value)
bool IndexNameHasBeenSet() const
LocalSecondaryIndex & WithProjection(ProjectionT &&value)
const Aws::String & GetIndexName() const
bool KeySchemaHasBeenSet() const
AWS_DYNAMODB_API LocalSecondaryIndex(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API LocalSecondaryIndex()=default
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
LocalSecondaryIndex & AddKeySchema(KeySchemaT &&value)
bool ProjectionHasBeenSet() const
const Projection & GetProjection() const
LocalSecondaryIndex & WithKeySchema(KeySchemaT &&value)
AWS_DYNAMODB_API LocalSecondaryIndex & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue