7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dynamodb/DynamoDB_EXPORTS.h>
10#include <aws/dynamodb/model/KeySchemaElement.h>
11#include <aws/dynamodb/model/Projection.h>
45 template <
typename IndexNameT = Aws::String>
47 m_indexNameHasBeenSet =
true;
48 m_indexName = std::forward<IndexNameT>(value);
50 template <
typename IndexNameT = Aws::String>
72 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
74 m_keySchemaHasBeenSet =
true;
75 m_keySchema = std::forward<KeySchemaT>(value);
77 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
82 template <
typename KeySchemaT = KeySchemaElement>
84 m_keySchemaHasBeenSet =
true;
85 m_keySchema.emplace_back(std::forward<KeySchemaT>(value));
98 template <
typename ProjectionT = Projection>
100 m_projectionHasBeenSet =
true;
101 m_projection = std::forward<ProjectionT>(value);
103 template <
typename ProjectionT = Projection>
115 bool m_indexNameHasBeenSet =
false;
116 bool m_keySchemaHasBeenSet =
false;
117 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