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>
50 template<
typename IndexNameT = Aws::String>
51 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet =
true; m_indexName = std::forward<IndexNameT>(value); }
52 template<
typename IndexNameT = Aws::String>
71 template<
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
72 void SetKeySchema(KeySchemaT&& value) { m_keySchemaHasBeenSet =
true; m_keySchema = std::forward<KeySchemaT>(value); }
73 template<
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
75 template<
typename KeySchemaT = KeySchemaElement>
87 template<
typename ProjectionT = Projection>
88 void SetProjection(ProjectionT&& value) { m_projectionHasBeenSet =
true; m_projection = std::forward<ProjectionT>(value); }
89 template<
typename ProjectionT = Projection>
95 bool m_indexNameHasBeenSet =
false;
98 bool m_keySchemaHasBeenSet =
false;
101 bool m_projectionHasBeenSet =
false;
const Aws::Vector< KeySchemaElement > & GetKeySchema() const
AWS_DYNAMODB_API LocalSecondaryIndexInfo()=default
void SetKeySchema(KeySchemaT &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
LocalSecondaryIndexInfo & WithIndexName(IndexNameT &&value)
LocalSecondaryIndexInfo & AddKeySchema(KeySchemaT &&value)
const Aws::String & GetIndexName() const
LocalSecondaryIndexInfo & WithProjection(ProjectionT &&value)
void SetIndexName(IndexNameT &&value)
bool IndexNameHasBeenSet() const
bool KeySchemaHasBeenSet() const
LocalSecondaryIndexInfo & WithKeySchema(KeySchemaT &&value)
bool ProjectionHasBeenSet() const
AWS_DYNAMODB_API LocalSecondaryIndexInfo(Aws::Utils::Json::JsonView jsonValue)
const Projection & GetProjection() const
AWS_DYNAMODB_API LocalSecondaryIndexInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProjection(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