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>
44 template <
typename IndexNameT = Aws::String>
46 m_indexNameHasBeenSet =
true;
47 m_indexName = std::forward<IndexNameT>(value);
49 template <
typename IndexNameT = Aws::String>
71 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
73 m_keySchemaHasBeenSet =
true;
74 m_keySchema = std::forward<KeySchemaT>(value);
76 template <
typename KeySchemaT = Aws::Vector<KeySchemaElement>>
81 template <
typename KeySchemaT = KeySchemaElement>
83 m_keySchemaHasBeenSet =
true;
84 m_keySchema.emplace_back(std::forward<KeySchemaT>(value));
97 template <
typename ProjectionT = Projection>
99 m_projectionHasBeenSet =
true;
100 m_projection = std::forward<ProjectionT>(value);
102 template <
typename ProjectionT = Projection>
114 bool m_indexNameHasBeenSet =
false;
115 bool m_keySchemaHasBeenSet =
false;
116 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