/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returns information about an HSM client certificate. The certificate is
* stored in a secure Hardware Storage Module (HSM), and used by the Amazon
* Redshift cluster to encrypt data files.See Also:
AWS
* API Reference
The identifier of the HSM client certificate.
*/ inline const Aws::String& GetHsmClientCertificateIdentifier() const{ return m_hsmClientCertificateIdentifier; } /** *The identifier of the HSM client certificate.
*/ inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; } /** *The identifier of the HSM client certificate.
*/ inline void SetHsmClientCertificateIdentifier(const Aws::String& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = value; } /** *The identifier of the HSM client certificate.
*/ inline void SetHsmClientCertificateIdentifier(Aws::String&& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = std::move(value); } /** *The identifier of the HSM client certificate.
*/ inline void SetHsmClientCertificateIdentifier(const char* value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier.assign(value); } /** *The identifier of the HSM client certificate.
*/ inline HsmClientCertificate& WithHsmClientCertificateIdentifier(const Aws::String& value) { SetHsmClientCertificateIdentifier(value); return *this;} /** *The identifier of the HSM client certificate.
*/ inline HsmClientCertificate& WithHsmClientCertificateIdentifier(Aws::String&& value) { SetHsmClientCertificateIdentifier(std::move(value)); return *this;} /** *The identifier of the HSM client certificate.
*/ inline HsmClientCertificate& WithHsmClientCertificateIdentifier(const char* value) { SetHsmClientCertificateIdentifier(value); return *this;} /** *The public key that the Amazon Redshift cluster will use to connect to the * HSM. You must register the public key in the HSM.
*/ inline const Aws::String& GetHsmClientCertificatePublicKey() const{ return m_hsmClientCertificatePublicKey; } /** *The public key that the Amazon Redshift cluster will use to connect to the * HSM. You must register the public key in the HSM.
*/ inline bool HsmClientCertificatePublicKeyHasBeenSet() const { return m_hsmClientCertificatePublicKeyHasBeenSet; } /** *The public key that the Amazon Redshift cluster will use to connect to the * HSM. You must register the public key in the HSM.
*/ inline void SetHsmClientCertificatePublicKey(const Aws::String& value) { m_hsmClientCertificatePublicKeyHasBeenSet = true; m_hsmClientCertificatePublicKey = value; } /** *The public key that the Amazon Redshift cluster will use to connect to the * HSM. You must register the public key in the HSM.
*/ inline void SetHsmClientCertificatePublicKey(Aws::String&& value) { m_hsmClientCertificatePublicKeyHasBeenSet = true; m_hsmClientCertificatePublicKey = std::move(value); } /** *The public key that the Amazon Redshift cluster will use to connect to the * HSM. You must register the public key in the HSM.
*/ inline void SetHsmClientCertificatePublicKey(const char* value) { m_hsmClientCertificatePublicKeyHasBeenSet = true; m_hsmClientCertificatePublicKey.assign(value); } /** *The public key that the Amazon Redshift cluster will use to connect to the * HSM. You must register the public key in the HSM.
*/ inline HsmClientCertificate& WithHsmClientCertificatePublicKey(const Aws::String& value) { SetHsmClientCertificatePublicKey(value); return *this;} /** *The public key that the Amazon Redshift cluster will use to connect to the * HSM. You must register the public key in the HSM.
*/ inline HsmClientCertificate& WithHsmClientCertificatePublicKey(Aws::String&& value) { SetHsmClientCertificatePublicKey(std::move(value)); return *this;} /** *The public key that the Amazon Redshift cluster will use to connect to the * HSM. You must register the public key in the HSM.
*/ inline HsmClientCertificate& WithHsmClientCertificatePublicKey(const char* value) { SetHsmClientCertificatePublicKey(value); return *this;} /** *The list of tags for the HSM client certificate.
*/ inline const Aws::VectorThe list of tags for the HSM client certificate.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The list of tags for the HSM client certificate.
*/ inline void SetTags(const Aws::VectorThe list of tags for the HSM client certificate.
*/ inline void SetTags(Aws::VectorThe list of tags for the HSM client certificate.
*/ inline HsmClientCertificate& WithTags(const Aws::VectorThe list of tags for the HSM client certificate.
*/ inline HsmClientCertificate& WithTags(Aws::VectorThe list of tags for the HSM client certificate.
*/ inline HsmClientCertificate& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The list of tags for the HSM client certificate.
*/ inline HsmClientCertificate& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_hsmClientCertificateIdentifier; bool m_hsmClientCertificateIdentifierHasBeenSet = false; Aws::String m_hsmClientCertificatePublicKey; bool m_hsmClientCertificatePublicKeyHasBeenSet = false; Aws::Vector