/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A cluster ID and custom domain name tied to a specific certificate. These are
* typically returned in a list.See Also:
AWS
* API Reference
The custom domain name for the certificate association.
*/ inline const Aws::String& GetCustomDomainName() const{ return m_customDomainName; } /** *The custom domain name for the certificate association.
*/ inline bool CustomDomainNameHasBeenSet() const { return m_customDomainNameHasBeenSet; } /** *The custom domain name for the certificate association.
*/ inline void SetCustomDomainName(const Aws::String& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = value; } /** *The custom domain name for the certificate association.
*/ inline void SetCustomDomainName(Aws::String&& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = std::move(value); } /** *The custom domain name for the certificate association.
*/ inline void SetCustomDomainName(const char* value) { m_customDomainNameHasBeenSet = true; m_customDomainName.assign(value); } /** *The custom domain name for the certificate association.
*/ inline CertificateAssociation& WithCustomDomainName(const Aws::String& value) { SetCustomDomainName(value); return *this;} /** *The custom domain name for the certificate association.
*/ inline CertificateAssociation& WithCustomDomainName(Aws::String&& value) { SetCustomDomainName(std::move(value)); return *this;} /** *The custom domain name for the certificate association.
*/ inline CertificateAssociation& WithCustomDomainName(const char* value) { SetCustomDomainName(value); return *this;} /** *The cluster identifier for the certificate association.
*/ inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; } /** *The cluster identifier for the certificate association.
*/ inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; } /** *The cluster identifier for the certificate association.
*/ inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; } /** *The cluster identifier for the certificate association.
*/ inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); } /** *The cluster identifier for the certificate association.
*/ inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); } /** *The cluster identifier for the certificate association.
*/ inline CertificateAssociation& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;} /** *The cluster identifier for the certificate association.
*/ inline CertificateAssociation& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;} /** *The cluster identifier for the certificate association.
*/ inline CertificateAssociation& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;} private: Aws::String m_customDomainName; bool m_customDomainNameHasBeenSet = false; Aws::String m_clusterIdentifier; bool m_clusterIdentifierHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws