/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returns information about an HSM configuration, which is an object that
* describes to Amazon Redshift clusters the information they require to connect to
* an HSM where they can store database encryption keys.See Also:
* AWS
* API Reference
The name of the Amazon Redshift HSM configuration.
*/ inline const Aws::String& GetHsmConfigurationIdentifier() const{ return m_hsmConfigurationIdentifier; } /** *The name of the Amazon Redshift HSM configuration.
*/ inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; } /** *The name of the Amazon Redshift HSM configuration.
*/ inline void SetHsmConfigurationIdentifier(const Aws::String& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = value; } /** *The name of the Amazon Redshift HSM configuration.
*/ inline void SetHsmConfigurationIdentifier(Aws::String&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = std::move(value); } /** *The name of the Amazon Redshift HSM configuration.
*/ inline void SetHsmConfigurationIdentifier(const char* value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier.assign(value); } /** *The name of the Amazon Redshift HSM configuration.
*/ inline HsmConfiguration& WithHsmConfigurationIdentifier(const Aws::String& value) { SetHsmConfigurationIdentifier(value); return *this;} /** *The name of the Amazon Redshift HSM configuration.
*/ inline HsmConfiguration& WithHsmConfigurationIdentifier(Aws::String&& value) { SetHsmConfigurationIdentifier(std::move(value)); return *this;} /** *The name of the Amazon Redshift HSM configuration.
*/ inline HsmConfiguration& WithHsmConfigurationIdentifier(const char* value) { SetHsmConfigurationIdentifier(value); return *this;} /** *A text description of the HSM configuration.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A text description of the HSM configuration.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A text description of the HSM configuration.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A text description of the HSM configuration.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A text description of the HSM configuration.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A text description of the HSM configuration.
*/ inline HsmConfiguration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A text description of the HSM configuration.
*/ inline HsmConfiguration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A text description of the HSM configuration.
*/ inline HsmConfiguration& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The IP address that the Amazon Redshift cluster must use to access the * HSM.
*/ inline const Aws::String& GetHsmIpAddress() const{ return m_hsmIpAddress; } /** *The IP address that the Amazon Redshift cluster must use to access the * HSM.
*/ inline bool HsmIpAddressHasBeenSet() const { return m_hsmIpAddressHasBeenSet; } /** *The IP address that the Amazon Redshift cluster must use to access the * HSM.
*/ inline void SetHsmIpAddress(const Aws::String& value) { m_hsmIpAddressHasBeenSet = true; m_hsmIpAddress = value; } /** *The IP address that the Amazon Redshift cluster must use to access the * HSM.
*/ inline void SetHsmIpAddress(Aws::String&& value) { m_hsmIpAddressHasBeenSet = true; m_hsmIpAddress = std::move(value); } /** *The IP address that the Amazon Redshift cluster must use to access the * HSM.
*/ inline void SetHsmIpAddress(const char* value) { m_hsmIpAddressHasBeenSet = true; m_hsmIpAddress.assign(value); } /** *The IP address that the Amazon Redshift cluster must use to access the * HSM.
*/ inline HsmConfiguration& WithHsmIpAddress(const Aws::String& value) { SetHsmIpAddress(value); return *this;} /** *The IP address that the Amazon Redshift cluster must use to access the * HSM.
*/ inline HsmConfiguration& WithHsmIpAddress(Aws::String&& value) { SetHsmIpAddress(std::move(value)); return *this;} /** *The IP address that the Amazon Redshift cluster must use to access the * HSM.
*/ inline HsmConfiguration& WithHsmIpAddress(const char* value) { SetHsmIpAddress(value); return *this;} /** *The name of the partition in the HSM where the Amazon Redshift clusters will * store their database encryption keys.
*/ inline const Aws::String& GetHsmPartitionName() const{ return m_hsmPartitionName; } /** *The name of the partition in the HSM where the Amazon Redshift clusters will * store their database encryption keys.
*/ inline bool HsmPartitionNameHasBeenSet() const { return m_hsmPartitionNameHasBeenSet; } /** *The name of the partition in the HSM where the Amazon Redshift clusters will * store their database encryption keys.
*/ inline void SetHsmPartitionName(const Aws::String& value) { m_hsmPartitionNameHasBeenSet = true; m_hsmPartitionName = value; } /** *The name of the partition in the HSM where the Amazon Redshift clusters will * store their database encryption keys.
*/ inline void SetHsmPartitionName(Aws::String&& value) { m_hsmPartitionNameHasBeenSet = true; m_hsmPartitionName = std::move(value); } /** *The name of the partition in the HSM where the Amazon Redshift clusters will * store their database encryption keys.
*/ inline void SetHsmPartitionName(const char* value) { m_hsmPartitionNameHasBeenSet = true; m_hsmPartitionName.assign(value); } /** *The name of the partition in the HSM where the Amazon Redshift clusters will * store their database encryption keys.
*/ inline HsmConfiguration& WithHsmPartitionName(const Aws::String& value) { SetHsmPartitionName(value); return *this;} /** *The name of the partition in the HSM where the Amazon Redshift clusters will * store their database encryption keys.
*/ inline HsmConfiguration& WithHsmPartitionName(Aws::String&& value) { SetHsmPartitionName(std::move(value)); return *this;} /** *The name of the partition in the HSM where the Amazon Redshift clusters will * store their database encryption keys.
*/ inline HsmConfiguration& WithHsmPartitionName(const char* value) { SetHsmPartitionName(value); return *this;} /** *The list of tags for the HSM configuration.
*/ inline const Aws::VectorThe list of tags for the HSM configuration.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The list of tags for the HSM configuration.
*/ inline void SetTags(const Aws::VectorThe list of tags for the HSM configuration.
*/ inline void SetTags(Aws::VectorThe list of tags for the HSM configuration.
*/ inline HsmConfiguration& WithTags(const Aws::VectorThe list of tags for the HSM configuration.
*/ inline HsmConfiguration& WithTags(Aws::VectorThe list of tags for the HSM configuration.
*/ inline HsmConfiguration& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The list of tags for the HSM configuration.
*/ inline HsmConfiguration& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_hsmConfigurationIdentifier; bool m_hsmConfigurationIdentifierHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_hsmIpAddress; bool m_hsmIpAddressHasBeenSet = false; Aws::String m_hsmPartitionName; bool m_hsmPartitionNameHasBeenSet = false; Aws::Vector