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>
101 inline void SetIndexSizeBytes(
long long value) { m_indexSizeBytesHasBeenSet =
true; m_indexSizeBytes = value; }
113 inline void SetItemCount(
long long value) { m_itemCountHasBeenSet =
true; m_itemCount = value; }
123 template<
typename IndexArnT = Aws::String>
124 void SetIndexArn(IndexArnT&& value) { m_indexArnHasBeenSet =
true; m_indexArn = std::forward<IndexArnT>(value); }
125 template<
typename IndexArnT = Aws::String>
131 bool m_indexNameHasBeenSet =
false;
134 bool m_keySchemaHasBeenSet =
false;
137 bool m_projectionHasBeenSet =
false;
139 long long m_indexSizeBytes{0};
140 bool m_indexSizeBytesHasBeenSet =
false;
142 long long m_itemCount{0};
143 bool m_itemCountHasBeenSet =
false;
146 bool m_indexArnHasBeenSet =
false;
void SetProjection(ProjectionT &&value)
AWS_DYNAMODB_API LocalSecondaryIndexDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
bool KeySchemaHasBeenSet() const
bool ItemCountHasBeenSet() const
LocalSecondaryIndexDescription & WithProjection(ProjectionT &&value)
LocalSecondaryIndexDescription & WithIndexArn(IndexArnT &&value)
bool IndexSizeBytesHasBeenSet() const
const Aws::String & GetIndexArn() const
bool ProjectionHasBeenSet() const
const Projection & GetProjection() const
bool IndexNameHasBeenSet() const
const Aws::String & GetIndexName() const
void SetIndexSizeBytes(long long value)
long long GetIndexSizeBytes() const
long long GetItemCount() const
AWS_DYNAMODB_API LocalSecondaryIndexDescription(Aws::Utils::Json::JsonView jsonValue)
LocalSecondaryIndexDescription & WithIndexName(IndexNameT &&value)
LocalSecondaryIndexDescription & AddKeySchema(KeySchemaT &&value)
bool IndexArnHasBeenSet() const
const Aws::Vector< KeySchemaElement > & GetKeySchema() const
LocalSecondaryIndexDescription & WithIndexSizeBytes(long long value)
void SetIndexArn(IndexArnT &&value)
LocalSecondaryIndexDescription & WithKeySchema(KeySchemaT &&value)
AWS_DYNAMODB_API LocalSecondaryIndexDescription()=default
void SetKeySchema(KeySchemaT &&value)
LocalSecondaryIndexDescription & WithItemCount(long long value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetItemCount(long long value)
void SetIndexName(IndexNameT &&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