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/route53/Route53_EXPORTS.h>
8 #include <aws/route53/model/ChangeInfo.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Xml
19 {
20   class XmlDocument;
21 } // namespace Xml
22 } // namespace Utils
23 namespace Route53
24 {
25 namespace Model
26 {
27   /**
28    * <p>A complex type that contains the response information for the disassociate
29    * request.</p><p><h3>See Also:</h3>   <a
30    * href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisassociateVPCFromHostedZoneResponse">AWS
31    * API Reference</a></p>
32    */
33   class AWS_ROUTE53_API DisassociateVPCFromHostedZoneResult
34   {
35   public:
36     DisassociateVPCFromHostedZoneResult();
37     DisassociateVPCFromHostedZoneResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
38     DisassociateVPCFromHostedZoneResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
39 
40 
41     /**
42      * <p>A complex type that describes the changes made to the specified private
43      * hosted zone.</p>
44      */
GetChangeInfo()45     inline const ChangeInfo& GetChangeInfo() const{ return m_changeInfo; }
46 
47     /**
48      * <p>A complex type that describes the changes made to the specified private
49      * hosted zone.</p>
50      */
SetChangeInfo(const ChangeInfo & value)51     inline void SetChangeInfo(const ChangeInfo& value) { m_changeInfo = value; }
52 
53     /**
54      * <p>A complex type that describes the changes made to the specified private
55      * hosted zone.</p>
56      */
SetChangeInfo(ChangeInfo && value)57     inline void SetChangeInfo(ChangeInfo&& value) { m_changeInfo = std::move(value); }
58 
59     /**
60      * <p>A complex type that describes the changes made to the specified private
61      * hosted zone.</p>
62      */
WithChangeInfo(const ChangeInfo & value)63     inline DisassociateVPCFromHostedZoneResult& WithChangeInfo(const ChangeInfo& value) { SetChangeInfo(value); return *this;}
64 
65     /**
66      * <p>A complex type that describes the changes made to the specified private
67      * hosted zone.</p>
68      */
WithChangeInfo(ChangeInfo && value)69     inline DisassociateVPCFromHostedZoneResult& WithChangeInfo(ChangeInfo&& value) { SetChangeInfo(std::move(value)); return *this;}
70 
71   private:
72 
73     ChangeInfo m_changeInfo;
74   };
75 
76 } // namespace Model
77 } // namespace Route53
78 } // namespace Aws
79