This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-securityhub/include/aws/securityhub/model/AwsDynamoDbTableGlobalSecondaryIndex.h

366 lines
12 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/securityhub/SecurityHub_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/securityhub/model/AwsDynamoDbTableProjection.h>
#include <aws/securityhub/model/AwsDynamoDbTableProvisionedThroughput.h>
#include <aws/securityhub/model/AwsDynamoDbTableKeySchema.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SecurityHub
{
namespace Model
{
/**
* <p>Information abut a global secondary index for the table.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsDynamoDbTableGlobalSecondaryIndex">AWS
* API Reference</a></p>
*/
class AWS_SECURITYHUB_API AwsDynamoDbTableGlobalSecondaryIndex
{
public:
AwsDynamoDbTableGlobalSecondaryIndex();
AwsDynamoDbTableGlobalSecondaryIndex(Aws::Utils::Json::JsonView jsonValue);
AwsDynamoDbTableGlobalSecondaryIndex& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Whether the index is currently backfilling.</p>
*/
inline bool GetBackfilling() const{ return m_backfilling; }
/**
* <p>Whether the index is currently backfilling.</p>
*/
inline bool BackfillingHasBeenSet() const { return m_backfillingHasBeenSet; }
/**
* <p>Whether the index is currently backfilling.</p>
*/
inline void SetBackfilling(bool value) { m_backfillingHasBeenSet = true; m_backfilling = value; }
/**
* <p>Whether the index is currently backfilling.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithBackfilling(bool value) { SetBackfilling(value); return *this;}
/**
* <p>The ARN of the index.</p>
*/
inline const Aws::String& GetIndexArn() const{ return m_indexArn; }
/**
* <p>The ARN of the index.</p>
*/
inline bool IndexArnHasBeenSet() const { return m_indexArnHasBeenSet; }
/**
* <p>The ARN of the index.</p>
*/
inline void SetIndexArn(const Aws::String& value) { m_indexArnHasBeenSet = true; m_indexArn = value; }
/**
* <p>The ARN of the index.</p>
*/
inline void SetIndexArn(Aws::String&& value) { m_indexArnHasBeenSet = true; m_indexArn = std::move(value); }
/**
* <p>The ARN of the index.</p>
*/
inline void SetIndexArn(const char* value) { m_indexArnHasBeenSet = true; m_indexArn.assign(value); }
/**
* <p>The ARN of the index.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithIndexArn(const Aws::String& value) { SetIndexArn(value); return *this;}
/**
* <p>The ARN of the index.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithIndexArn(Aws::String&& value) { SetIndexArn(std::move(value)); return *this;}
/**
* <p>The ARN of the index.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithIndexArn(const char* value) { SetIndexArn(value); return *this;}
/**
* <p>The name of the index.</p>
*/
inline const Aws::String& GetIndexName() const{ return m_indexName; }
/**
* <p>The name of the index.</p>
*/
inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
/**
* <p>The name of the index.</p>
*/
inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
/**
* <p>The name of the index.</p>
*/
inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
/**
* <p>The name of the index.</p>
*/
inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
/**
* <p>The name of the index.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
/**
* <p>The name of the index.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
/**
* <p>The name of the index.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithIndexName(const char* value) { SetIndexName(value); return *this;}
/**
* <p>The total size in bytes of the index.</p>
*/
inline long long GetIndexSizeBytes() const{ return m_indexSizeBytes; }
/**
* <p>The total size in bytes of the index.</p>
*/
inline bool IndexSizeBytesHasBeenSet() const { return m_indexSizeBytesHasBeenSet; }
/**
* <p>The total size in bytes of the index.</p>
*/
inline void SetIndexSizeBytes(long long value) { m_indexSizeBytesHasBeenSet = true; m_indexSizeBytes = value; }
/**
* <p>The total size in bytes of the index.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithIndexSizeBytes(long long value) { SetIndexSizeBytes(value); return *this;}
/**
* <p>The current status of the index.</p>
*/
inline const Aws::String& GetIndexStatus() const{ return m_indexStatus; }
/**
* <p>The current status of the index.</p>
*/
inline bool IndexStatusHasBeenSet() const { return m_indexStatusHasBeenSet; }
/**
* <p>The current status of the index.</p>
*/
inline void SetIndexStatus(const Aws::String& value) { m_indexStatusHasBeenSet = true; m_indexStatus = value; }
/**
* <p>The current status of the index.</p>
*/
inline void SetIndexStatus(Aws::String&& value) { m_indexStatusHasBeenSet = true; m_indexStatus = std::move(value); }
/**
* <p>The current status of the index.</p>
*/
inline void SetIndexStatus(const char* value) { m_indexStatusHasBeenSet = true; m_indexStatus.assign(value); }
/**
* <p>The current status of the index.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithIndexStatus(const Aws::String& value) { SetIndexStatus(value); return *this;}
/**
* <p>The current status of the index.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithIndexStatus(Aws::String&& value) { SetIndexStatus(std::move(value)); return *this;}
/**
* <p>The current status of the index.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithIndexStatus(const char* value) { SetIndexStatus(value); return *this;}
/**
* <p>The number of items in the index.</p>
*/
inline int GetItemCount() const{ return m_itemCount; }
/**
* <p>The number of items in the index.</p>
*/
inline bool ItemCountHasBeenSet() const { return m_itemCountHasBeenSet; }
/**
* <p>The number of items in the index.</p>
*/
inline void SetItemCount(int value) { m_itemCountHasBeenSet = true; m_itemCount = value; }
/**
* <p>The number of items in the index.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithItemCount(int value) { SetItemCount(value); return *this;}
/**
* <p>The key schema for the index.</p>
*/
inline const Aws::Vector<AwsDynamoDbTableKeySchema>& GetKeySchema() const{ return m_keySchema; }
/**
* <p>The key schema for the index.</p>
*/
inline bool KeySchemaHasBeenSet() const { return m_keySchemaHasBeenSet; }
/**
* <p>The key schema for the index.</p>
*/
inline void SetKeySchema(const Aws::Vector<AwsDynamoDbTableKeySchema>& value) { m_keySchemaHasBeenSet = true; m_keySchema = value; }
/**
* <p>The key schema for the index.</p>
*/
inline void SetKeySchema(Aws::Vector<AwsDynamoDbTableKeySchema>&& value) { m_keySchemaHasBeenSet = true; m_keySchema = std::move(value); }
/**
* <p>The key schema for the index.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithKeySchema(const Aws::Vector<AwsDynamoDbTableKeySchema>& value) { SetKeySchema(value); return *this;}
/**
* <p>The key schema for the index.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithKeySchema(Aws::Vector<AwsDynamoDbTableKeySchema>&& value) { SetKeySchema(std::move(value)); return *this;}
/**
* <p>The key schema for the index.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& AddKeySchema(const AwsDynamoDbTableKeySchema& value) { m_keySchemaHasBeenSet = true; m_keySchema.push_back(value); return *this; }
/**
* <p>The key schema for the index.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& AddKeySchema(AwsDynamoDbTableKeySchema&& value) { m_keySchemaHasBeenSet = true; m_keySchema.push_back(std::move(value)); return *this; }
/**
* <p>Attributes that are copied from the table into an index.</p>
*/
inline const AwsDynamoDbTableProjection& GetProjection() const{ return m_projection; }
/**
* <p>Attributes that are copied from the table into an index.</p>
*/
inline bool ProjectionHasBeenSet() const { return m_projectionHasBeenSet; }
/**
* <p>Attributes that are copied from the table into an index.</p>
*/
inline void SetProjection(const AwsDynamoDbTableProjection& value) { m_projectionHasBeenSet = true; m_projection = value; }
/**
* <p>Attributes that are copied from the table into an index.</p>
*/
inline void SetProjection(AwsDynamoDbTableProjection&& value) { m_projectionHasBeenSet = true; m_projection = std::move(value); }
/**
* <p>Attributes that are copied from the table into an index.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithProjection(const AwsDynamoDbTableProjection& value) { SetProjection(value); return *this;}
/**
* <p>Attributes that are copied from the table into an index.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithProjection(AwsDynamoDbTableProjection&& value) { SetProjection(std::move(value)); return *this;}
/**
* <p>Information about the provisioned throughput settings for the indexes.</p>
*/
inline const AwsDynamoDbTableProvisionedThroughput& GetProvisionedThroughput() const{ return m_provisionedThroughput; }
/**
* <p>Information about the provisioned throughput settings for the indexes.</p>
*/
inline bool ProvisionedThroughputHasBeenSet() const { return m_provisionedThroughputHasBeenSet; }
/**
* <p>Information about the provisioned throughput settings for the indexes.</p>
*/
inline void SetProvisionedThroughput(const AwsDynamoDbTableProvisionedThroughput& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = value; }
/**
* <p>Information about the provisioned throughput settings for the indexes.</p>
*/
inline void SetProvisionedThroughput(AwsDynamoDbTableProvisionedThroughput&& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = std::move(value); }
/**
* <p>Information about the provisioned throughput settings for the indexes.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithProvisionedThroughput(const AwsDynamoDbTableProvisionedThroughput& value) { SetProvisionedThroughput(value); return *this;}
/**
* <p>Information about the provisioned throughput settings for the indexes.</p>
*/
inline AwsDynamoDbTableGlobalSecondaryIndex& WithProvisionedThroughput(AwsDynamoDbTableProvisionedThroughput&& value) { SetProvisionedThroughput(std::move(value)); return *this;}
private:
bool m_backfilling;
bool m_backfillingHasBeenSet;
Aws::String m_indexArn;
bool m_indexArnHasBeenSet;
Aws::String m_indexName;
bool m_indexNameHasBeenSet;
long long m_indexSizeBytes;
bool m_indexSizeBytesHasBeenSet;
Aws::String m_indexStatus;
bool m_indexStatusHasBeenSet;
int m_itemCount;
bool m_itemCountHasBeenSet;
Aws::Vector<AwsDynamoDbTableKeySchema> m_keySchema;
bool m_keySchemaHasBeenSet;
AwsDynamoDbTableProjection m_projection;
bool m_projectionHasBeenSet;
AwsDynamoDbTableProvisionedThroughput m_provisionedThroughput;
bool m_provisionedThroughputHasBeenSet;
};
} // namespace Model
} // namespace SecurityHub
} // namespace Aws