/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace Redshift { namespace Model { class DescribeCustomDomainAssociationsResult { public: AWS_REDSHIFT_API DescribeCustomDomainAssociationsResult(); AWS_REDSHIFT_API DescribeCustomDomainAssociationsResult(const Aws::AmazonWebServiceResult& result); AWS_REDSHIFT_API DescribeCustomDomainAssociationsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The marker for the custom domain association.

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

The marker for the custom domain association.

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

The marker for the custom domain association.

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

The marker for the custom domain association.

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

The marker for the custom domain association.

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

The marker for the custom domain association.

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

The marker for the custom domain association.

*/ inline DescribeCustomDomainAssociationsResult& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

The associations for the custom domain.

*/ inline const Aws::Vector& GetAssociations() const{ return m_associations; } /** *

The associations for the custom domain.

*/ inline void SetAssociations(const Aws::Vector& value) { m_associations = value; } /** *

The associations for the custom domain.

*/ inline void SetAssociations(Aws::Vector&& value) { m_associations = std::move(value); } /** *

The associations for the custom domain.

*/ inline DescribeCustomDomainAssociationsResult& WithAssociations(const Aws::Vector& value) { SetAssociations(value); return *this;} /** *

The associations for the custom domain.

*/ inline DescribeCustomDomainAssociationsResult& WithAssociations(Aws::Vector&& value) { SetAssociations(std::move(value)); return *this;} /** *

The associations for the custom domain.

*/ inline DescribeCustomDomainAssociationsResult& AddAssociations(const Association& value) { m_associations.push_back(value); return *this; } /** *

The associations for the custom domain.

*/ inline DescribeCustomDomainAssociationsResult& AddAssociations(Association&& value) { m_associations.push_back(std::move(value)); return *this; } inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeCustomDomainAssociationsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeCustomDomainAssociationsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_marker; Aws::Vector m_associations; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace Redshift } // namespace Aws