1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/amplify/Amplify_EXPORTS.h>
8 #include <aws/amplify/model/DomainAssociation.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20   class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Amplify
24 {
25 namespace Model
26 {
27   class AWS_AMPLIFY_API DeleteDomainAssociationResult
28   {
29   public:
30     DeleteDomainAssociationResult();
31     DeleteDomainAssociationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
32     DeleteDomainAssociationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33 
34 
35 
GetDomainAssociation()36     inline const DomainAssociation& GetDomainAssociation() const{ return m_domainAssociation; }
37 
38 
SetDomainAssociation(const DomainAssociation & value)39     inline void SetDomainAssociation(const DomainAssociation& value) { m_domainAssociation = value; }
40 
41 
SetDomainAssociation(DomainAssociation && value)42     inline void SetDomainAssociation(DomainAssociation&& value) { m_domainAssociation = std::move(value); }
43 
44 
WithDomainAssociation(const DomainAssociation & value)45     inline DeleteDomainAssociationResult& WithDomainAssociation(const DomainAssociation& value) { SetDomainAssociation(value); return *this;}
46 
47 
WithDomainAssociation(DomainAssociation && value)48     inline DeleteDomainAssociationResult& WithDomainAssociation(DomainAssociation&& value) { SetDomainAssociation(std::move(value)); return *this;}
49 
50   private:
51 
52     DomainAssociation m_domainAssociation;
53   };
54 
55 } // namespace Model
56 } // namespace Amplify
57 } // namespace Aws
58