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/route53resolver/Route53Resolver_EXPORTS.h>
8 #include <aws/route53resolver/model/ResolverRuleAssociation.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 Route53Resolver
24 {
25 namespace Model
26 {
27   class AWS_ROUTE53RESOLVER_API DisassociateResolverRuleResult
28   {
29   public:
30     DisassociateResolverRuleResult();
31     DisassociateResolverRuleResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
32     DisassociateResolverRuleResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33 
34 
35     /**
36      * <p>Information about the <code>DisassociateResolverRule</code> request,
37      * including the status of the request.</p>
38      */
GetResolverRuleAssociation()39     inline const ResolverRuleAssociation& GetResolverRuleAssociation() const{ return m_resolverRuleAssociation; }
40 
41     /**
42      * <p>Information about the <code>DisassociateResolverRule</code> request,
43      * including the status of the request.</p>
44      */
SetResolverRuleAssociation(const ResolverRuleAssociation & value)45     inline void SetResolverRuleAssociation(const ResolverRuleAssociation& value) { m_resolverRuleAssociation = value; }
46 
47     /**
48      * <p>Information about the <code>DisassociateResolverRule</code> request,
49      * including the status of the request.</p>
50      */
SetResolverRuleAssociation(ResolverRuleAssociation && value)51     inline void SetResolverRuleAssociation(ResolverRuleAssociation&& value) { m_resolverRuleAssociation = std::move(value); }
52 
53     /**
54      * <p>Information about the <code>DisassociateResolverRule</code> request,
55      * including the status of the request.</p>
56      */
WithResolverRuleAssociation(const ResolverRuleAssociation & value)57     inline DisassociateResolverRuleResult& WithResolverRuleAssociation(const ResolverRuleAssociation& value) { SetResolverRuleAssociation(value); return *this;}
58 
59     /**
60      * <p>Information about the <code>DisassociateResolverRule</code> request,
61      * including the status of the request.</p>
62      */
WithResolverRuleAssociation(ResolverRuleAssociation && value)63     inline DisassociateResolverRuleResult& WithResolverRuleAssociation(ResolverRuleAssociation&& value) { SetResolverRuleAssociation(std::move(value)); return *this;}
64 
65   private:
66 
67     ResolverRuleAssociation m_resolverRuleAssociation;
68   };
69 
70 } // namespace Model
71 } // namespace Route53Resolver
72 } // namespace Aws
73