/** * 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 DescribeCustomDomainAssociationsRequest : public RedshiftRequest { public: AWS_REDSHIFT_API DescribeCustomDomainAssociationsRequest(); // 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 "DescribeCustomDomainAssociations"; } 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 the custom domain association.

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

The custom domain name for the custom domain association.

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

The custom domain name for the custom domain association.

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

The custom domain name for the custom domain association.

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

The custom domain name for the custom domain association.

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

The custom domain name for the custom domain association.

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

The custom domain name for the custom domain association.

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

The custom domain name for the custom domain association.

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

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

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

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

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

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

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

The certificate Amazon Resource Name (ARN) for the custom domain * 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 * association.

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

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

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

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

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

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

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

The maximum records setting for the associated custom domain.

*/ inline int GetMaxRecords() const{ return m_maxRecords; } /** *

The maximum records setting for the associated custom domain.

*/ inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; } /** *

The maximum records setting for the associated custom domain.

*/ inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; } /** *

The maximum records setting for the associated custom domain.

*/ inline DescribeCustomDomainAssociationsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;} /** *

The marker for the custom domain association.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

The marker for the custom domain association.

*/ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *

The marker for the custom domain association.

*/ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** *

The marker for the custom domain association.

*/ inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } /** *

The marker for the custom domain association.

*/ inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } /** *

The marker for the custom domain association.

*/ inline DescribeCustomDomainAssociationsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

The marker for the custom domain association.

*/ inline DescribeCustomDomainAssociationsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

The marker for the custom domain association.

*/ inline DescribeCustomDomainAssociationsRequest& WithMarker(const char* value) { SetMarker(value); return *this;} private: Aws::String m_customDomainName; bool m_customDomainNameHasBeenSet = false; Aws::String m_customDomainCertificateArn; bool m_customDomainCertificateArnHasBeenSet = false; int m_maxRecords; bool m_maxRecordsHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws