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/AwsDynamoDbTableReplica.h

311 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/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/securityhub/model/AwsDynamoDbTableProvisionedThroughputOverride.h>
#include <aws/securityhub/model/AwsDynamoDbTableReplicaGlobalSecondaryIndex.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SecurityHub
{
namespace Model
{
/**
* <p>Information about a replica of a DynamoDB table.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsDynamoDbTableReplica">AWS
* API Reference</a></p>
*/
class AWS_SECURITYHUB_API AwsDynamoDbTableReplica
{
public:
AwsDynamoDbTableReplica();
AwsDynamoDbTableReplica(Aws::Utils::Json::JsonView jsonValue);
AwsDynamoDbTableReplica& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>List of global secondary indexes for the replica.</p>
*/
inline const Aws::Vector<AwsDynamoDbTableReplicaGlobalSecondaryIndex>& GetGlobalSecondaryIndexes() const{ return m_globalSecondaryIndexes; }
/**
* <p>List of global secondary indexes for the replica.</p>
*/
inline bool GlobalSecondaryIndexesHasBeenSet() const { return m_globalSecondaryIndexesHasBeenSet; }
/**
* <p>List of global secondary indexes for the replica.</p>
*/
inline void SetGlobalSecondaryIndexes(const Aws::Vector<AwsDynamoDbTableReplicaGlobalSecondaryIndex>& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes = value; }
/**
* <p>List of global secondary indexes for the replica.</p>
*/
inline void SetGlobalSecondaryIndexes(Aws::Vector<AwsDynamoDbTableReplicaGlobalSecondaryIndex>&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes = std::move(value); }
/**
* <p>List of global secondary indexes for the replica.</p>
*/
inline AwsDynamoDbTableReplica& WithGlobalSecondaryIndexes(const Aws::Vector<AwsDynamoDbTableReplicaGlobalSecondaryIndex>& value) { SetGlobalSecondaryIndexes(value); return *this;}
/**
* <p>List of global secondary indexes for the replica.</p>
*/
inline AwsDynamoDbTableReplica& WithGlobalSecondaryIndexes(Aws::Vector<AwsDynamoDbTableReplicaGlobalSecondaryIndex>&& value) { SetGlobalSecondaryIndexes(std::move(value)); return *this;}
/**
* <p>List of global secondary indexes for the replica.</p>
*/
inline AwsDynamoDbTableReplica& AddGlobalSecondaryIndexes(const AwsDynamoDbTableReplicaGlobalSecondaryIndex& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.push_back(value); return *this; }
/**
* <p>List of global secondary indexes for the replica.</p>
*/
inline AwsDynamoDbTableReplica& AddGlobalSecondaryIndexes(AwsDynamoDbTableReplicaGlobalSecondaryIndex&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.push_back(std::move(value)); return *this; }
/**
* <p>The identifier of the AWS KMS customer master key (CMK) that will be used for
* AWS KMS encryption for the replica.</p>
*/
inline const Aws::String& GetKmsMasterKeyId() const{ return m_kmsMasterKeyId; }
/**
* <p>The identifier of the AWS KMS customer master key (CMK) that will be used for
* AWS KMS encryption for the replica.</p>
*/
inline bool KmsMasterKeyIdHasBeenSet() const { return m_kmsMasterKeyIdHasBeenSet; }
/**
* <p>The identifier of the AWS KMS customer master key (CMK) that will be used for
* AWS KMS encryption for the replica.</p>
*/
inline void SetKmsMasterKeyId(const Aws::String& value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId = value; }
/**
* <p>The identifier of the AWS KMS customer master key (CMK) that will be used for
* AWS KMS encryption for the replica.</p>
*/
inline void SetKmsMasterKeyId(Aws::String&& value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId = std::move(value); }
/**
* <p>The identifier of the AWS KMS customer master key (CMK) that will be used for
* AWS KMS encryption for the replica.</p>
*/
inline void SetKmsMasterKeyId(const char* value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId.assign(value); }
/**
* <p>The identifier of the AWS KMS customer master key (CMK) that will be used for
* AWS KMS encryption for the replica.</p>
*/
inline AwsDynamoDbTableReplica& WithKmsMasterKeyId(const Aws::String& value) { SetKmsMasterKeyId(value); return *this;}
/**
* <p>The identifier of the AWS KMS customer master key (CMK) that will be used for
* AWS KMS encryption for the replica.</p>
*/
inline AwsDynamoDbTableReplica& WithKmsMasterKeyId(Aws::String&& value) { SetKmsMasterKeyId(std::move(value)); return *this;}
/**
* <p>The identifier of the AWS KMS customer master key (CMK) that will be used for
* AWS KMS encryption for the replica.</p>
*/
inline AwsDynamoDbTableReplica& WithKmsMasterKeyId(const char* value) { SetKmsMasterKeyId(value); return *this;}
/**
* <p>Replica-specific configuration for the provisioned throughput.</p>
*/
inline const AwsDynamoDbTableProvisionedThroughputOverride& GetProvisionedThroughputOverride() const{ return m_provisionedThroughputOverride; }
/**
* <p>Replica-specific configuration for the provisioned throughput.</p>
*/
inline bool ProvisionedThroughputOverrideHasBeenSet() const { return m_provisionedThroughputOverrideHasBeenSet; }
/**
* <p>Replica-specific configuration for the provisioned throughput.</p>
*/
inline void SetProvisionedThroughputOverride(const AwsDynamoDbTableProvisionedThroughputOverride& value) { m_provisionedThroughputOverrideHasBeenSet = true; m_provisionedThroughputOverride = value; }
/**
* <p>Replica-specific configuration for the provisioned throughput.</p>
*/
inline void SetProvisionedThroughputOverride(AwsDynamoDbTableProvisionedThroughputOverride&& value) { m_provisionedThroughputOverrideHasBeenSet = true; m_provisionedThroughputOverride = std::move(value); }
/**
* <p>Replica-specific configuration for the provisioned throughput.</p>
*/
inline AwsDynamoDbTableReplica& WithProvisionedThroughputOverride(const AwsDynamoDbTableProvisionedThroughputOverride& value) { SetProvisionedThroughputOverride(value); return *this;}
/**
* <p>Replica-specific configuration for the provisioned throughput.</p>
*/
inline AwsDynamoDbTableReplica& WithProvisionedThroughputOverride(AwsDynamoDbTableProvisionedThroughputOverride&& value) { SetProvisionedThroughputOverride(std::move(value)); return *this;}
/**
* <p>The name of the Region where the replica is located.</p>
*/
inline const Aws::String& GetRegionName() const{ return m_regionName; }
/**
* <p>The name of the Region where the replica is located.</p>
*/
inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
/**
* <p>The name of the Region where the replica is located.</p>
*/
inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; }
/**
* <p>The name of the Region where the replica is located.</p>
*/
inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); }
/**
* <p>The name of the Region where the replica is located.</p>
*/
inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); }
/**
* <p>The name of the Region where the replica is located.</p>
*/
inline AwsDynamoDbTableReplica& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;}
/**
* <p>The name of the Region where the replica is located.</p>
*/
inline AwsDynamoDbTableReplica& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;}
/**
* <p>The name of the Region where the replica is located.</p>
*/
inline AwsDynamoDbTableReplica& WithRegionName(const char* value) { SetRegionName(value); return *this;}
/**
* <p>The current status of the replica.</p>
*/
inline const Aws::String& GetReplicaStatus() const{ return m_replicaStatus; }
/**
* <p>The current status of the replica.</p>
*/
inline bool ReplicaStatusHasBeenSet() const { return m_replicaStatusHasBeenSet; }
/**
* <p>The current status of the replica.</p>
*/
inline void SetReplicaStatus(const Aws::String& value) { m_replicaStatusHasBeenSet = true; m_replicaStatus = value; }
/**
* <p>The current status of the replica.</p>
*/
inline void SetReplicaStatus(Aws::String&& value) { m_replicaStatusHasBeenSet = true; m_replicaStatus = std::move(value); }
/**
* <p>The current status of the replica.</p>
*/
inline void SetReplicaStatus(const char* value) { m_replicaStatusHasBeenSet = true; m_replicaStatus.assign(value); }
/**
* <p>The current status of the replica.</p>
*/
inline AwsDynamoDbTableReplica& WithReplicaStatus(const Aws::String& value) { SetReplicaStatus(value); return *this;}
/**
* <p>The current status of the replica.</p>
*/
inline AwsDynamoDbTableReplica& WithReplicaStatus(Aws::String&& value) { SetReplicaStatus(std::move(value)); return *this;}
/**
* <p>The current status of the replica.</p>
*/
inline AwsDynamoDbTableReplica& WithReplicaStatus(const char* value) { SetReplicaStatus(value); return *this;}
/**
* <p>Detailed information about the replica status.</p>
*/
inline const Aws::String& GetReplicaStatusDescription() const{ return m_replicaStatusDescription; }
/**
* <p>Detailed information about the replica status.</p>
*/
inline bool ReplicaStatusDescriptionHasBeenSet() const { return m_replicaStatusDescriptionHasBeenSet; }
/**
* <p>Detailed information about the replica status.</p>
*/
inline void SetReplicaStatusDescription(const Aws::String& value) { m_replicaStatusDescriptionHasBeenSet = true; m_replicaStatusDescription = value; }
/**
* <p>Detailed information about the replica status.</p>
*/
inline void SetReplicaStatusDescription(Aws::String&& value) { m_replicaStatusDescriptionHasBeenSet = true; m_replicaStatusDescription = std::move(value); }
/**
* <p>Detailed information about the replica status.</p>
*/
inline void SetReplicaStatusDescription(const char* value) { m_replicaStatusDescriptionHasBeenSet = true; m_replicaStatusDescription.assign(value); }
/**
* <p>Detailed information about the replica status.</p>
*/
inline AwsDynamoDbTableReplica& WithReplicaStatusDescription(const Aws::String& value) { SetReplicaStatusDescription(value); return *this;}
/**
* <p>Detailed information about the replica status.</p>
*/
inline AwsDynamoDbTableReplica& WithReplicaStatusDescription(Aws::String&& value) { SetReplicaStatusDescription(std::move(value)); return *this;}
/**
* <p>Detailed information about the replica status.</p>
*/
inline AwsDynamoDbTableReplica& WithReplicaStatusDescription(const char* value) { SetReplicaStatusDescription(value); return *this;}
private:
Aws::Vector<AwsDynamoDbTableReplicaGlobalSecondaryIndex> m_globalSecondaryIndexes;
bool m_globalSecondaryIndexesHasBeenSet;
Aws::String m_kmsMasterKeyId;
bool m_kmsMasterKeyIdHasBeenSet;
AwsDynamoDbTableProvisionedThroughputOverride m_provisionedThroughputOverride;
bool m_provisionedThroughputOverrideHasBeenSet;
Aws::String m_regionName;
bool m_regionNameHasBeenSet;
Aws::String m_replicaStatus;
bool m_replicaStatusHasBeenSet;
Aws::String m_replicaStatusDescription;
bool m_replicaStatusDescriptionHasBeenSet;
};
} // namespace Model
} // namespace SecurityHub
} // namespace Aws