/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Amplify { namespace Model { /** *

The result structure for the create domain association request. *

See Also:

AWS * API Reference

*/ class AWS_AMPLIFY_API CreateDomainAssociationResult { public: CreateDomainAssociationResult(); CreateDomainAssociationResult(const Aws::AmazonWebServiceResult& result); CreateDomainAssociationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Describes the structure of a domain association, which associates a custom * domain with an Amplify app.

*/ inline const DomainAssociation& GetDomainAssociation() const{ return m_domainAssociation; } /** *

Describes the structure of a domain association, which associates a custom * domain with an Amplify app.

*/ inline void SetDomainAssociation(const DomainAssociation& value) { m_domainAssociation = value; } /** *

Describes the structure of a domain association, which associates a custom * domain with an Amplify app.

*/ inline void SetDomainAssociation(DomainAssociation&& value) { m_domainAssociation = std::move(value); } /** *

Describes the structure of a domain association, which associates a custom * domain with an Amplify app.

*/ inline CreateDomainAssociationResult& WithDomainAssociation(const DomainAssociation& value) { SetDomainAssociation(value); return *this;} /** *

Describes the structure of a domain association, which associates a custom * domain with an Amplify app.

*/ inline CreateDomainAssociationResult& WithDomainAssociation(DomainAssociation&& value) { SetDomainAssociation(std::move(value)); return *this;} private: DomainAssociation m_domainAssociation; }; } // namespace Model } // namespace Amplify } // namespace Aws