/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Redshift { namespace Model { /** */ class CreateCustomDomainAssociationRequest : public RedshiftRequest { public: AWS_REDSHIFT_API CreateCustomDomainAssociationRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateCustomDomainAssociation"; } AWS_REDSHIFT_API Aws::String SerializePayload() const override; protected: AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The custom domain name for a custom domain association.

*/ inline const Aws::String& GetCustomDomainName() const{ return m_customDomainName; } /** *

The custom domain name for a custom domain association.

*/ inline bool CustomDomainNameHasBeenSet() const { return m_customDomainNameHasBeenSet; } /** *

The custom domain name for a custom domain association.

*/ inline void SetCustomDomainName(const Aws::String& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = value; } /** *

The custom domain name for a custom domain association.

*/ inline void SetCustomDomainName(Aws::String&& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = std::move(value); } /** *

The custom domain name for a custom domain association.

*/ inline void SetCustomDomainName(const char* value) { m_customDomainNameHasBeenSet = true; m_customDomainName.assign(value); } /** *

The custom domain name for a custom domain association.

*/ inline CreateCustomDomainAssociationRequest& WithCustomDomainName(const Aws::String& value) { SetCustomDomainName(value); return *this;} /** *

The custom domain name for a custom domain association.

*/ inline CreateCustomDomainAssociationRequest& WithCustomDomainName(Aws::String&& value) { SetCustomDomainName(std::move(value)); return *this;} /** *

The custom domain name for a custom domain association.

*/ inline CreateCustomDomainAssociationRequest& WithCustomDomainName(const char* value) { SetCustomDomainName(value); return *this;} /** *

The certificate Amazon Resource Name (ARN) for the custom domain name * association.

*/ inline const Aws::String& GetCustomDomainCertificateArn() const{ return m_customDomainCertificateArn; } /** *

The certificate Amazon Resource Name (ARN) for the custom domain name * association.

*/ inline bool CustomDomainCertificateArnHasBeenSet() const { return m_customDomainCertificateArnHasBeenSet; } /** *

The certificate Amazon Resource Name (ARN) for the custom domain name * association.

*/ inline void SetCustomDomainCertificateArn(const Aws::String& value) { m_customDomainCertificateArnHasBeenSet = true; m_customDomainCertificateArn = value; } /** *

The certificate Amazon Resource Name (ARN) for the custom domain name * association.

*/ inline void SetCustomDomainCertificateArn(Aws::String&& value) { m_customDomainCertificateArnHasBeenSet = true; m_customDomainCertificateArn = std::move(value); } /** *

The certificate Amazon Resource Name (ARN) for the custom domain name * association.

*/ inline void SetCustomDomainCertificateArn(const char* value) { m_customDomainCertificateArnHasBeenSet = true; m_customDomainCertificateArn.assign(value); } /** *

The certificate Amazon Resource Name (ARN) for the custom domain name * association.

*/ inline CreateCustomDomainAssociationRequest& WithCustomDomainCertificateArn(const Aws::String& value) { SetCustomDomainCertificateArn(value); return *this;} /** *

The certificate Amazon Resource Name (ARN) for the custom domain name * association.

*/ inline CreateCustomDomainAssociationRequest& WithCustomDomainCertificateArn(Aws::String&& value) { SetCustomDomainCertificateArn(std::move(value)); return *this;} /** *

The certificate Amazon Resource Name (ARN) for the custom domain name * association.

*/ inline CreateCustomDomainAssociationRequest& WithCustomDomainCertificateArn(const char* value) { SetCustomDomainCertificateArn(value); return *this;} /** *

The cluster identifier that the custom domain is associated with.

*/ inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; } /** *

The cluster identifier that the custom domain is associated with.

*/ inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; } /** *

The cluster identifier that the custom domain is associated with.

*/ inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; } /** *

The cluster identifier that the custom domain is associated with.

*/ inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); } /** *

The cluster identifier that the custom domain is associated with.

*/ inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); } /** *

The cluster identifier that the custom domain is associated with.

*/ inline CreateCustomDomainAssociationRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;} /** *

The cluster identifier that the custom domain is associated with.

*/ inline CreateCustomDomainAssociationRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;} /** *

The cluster identifier that the custom domain is associated with.

*/ inline CreateCustomDomainAssociationRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;} private: Aws::String m_customDomainName; bool m_customDomainNameHasBeenSet = false; Aws::String m_customDomainCertificateArn; bool m_customDomainCertificateArnHasBeenSet = false; Aws::String m_clusterIdentifier; bool m_clusterIdentifierHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws