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/DelegationSet.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21   class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace Route53
25 {
26 namespace Model
27 {
28   class AWS_ROUTE53_API CreateReusableDelegationSetResult
29   {
30   public:
31     CreateReusableDelegationSetResult();
32     CreateReusableDelegationSetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
33     CreateReusableDelegationSetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
34 
35 
36     /**
37      * <p>A complex type that contains name server information.</p>
38      */
GetDelegationSet()39     inline const DelegationSet& GetDelegationSet() const{ return m_delegationSet; }
40 
41     /**
42      * <p>A complex type that contains name server information.</p>
43      */
SetDelegationSet(const DelegationSet & value)44     inline void SetDelegationSet(const DelegationSet& value) { m_delegationSet = value; }
45 
46     /**
47      * <p>A complex type that contains name server information.</p>
48      */
SetDelegationSet(DelegationSet && value)49     inline void SetDelegationSet(DelegationSet&& value) { m_delegationSet = std::move(value); }
50 
51     /**
52      * <p>A complex type that contains name server information.</p>
53      */
WithDelegationSet(const DelegationSet & value)54     inline CreateReusableDelegationSetResult& WithDelegationSet(const DelegationSet& value) { SetDelegationSet(value); return *this;}
55 
56     /**
57      * <p>A complex type that contains name server information.</p>
58      */
WithDelegationSet(DelegationSet && value)59     inline CreateReusableDelegationSetResult& WithDelegationSet(DelegationSet&& value) { SetDelegationSet(std::move(value)); return *this;}
60 
61 
62     /**
63      * <p>The unique URL representing the new reusable delegation set.</p>
64      */
GetLocation()65     inline const Aws::String& GetLocation() const{ return m_location; }
66 
67     /**
68      * <p>The unique URL representing the new reusable delegation set.</p>
69      */
SetLocation(const Aws::String & value)70     inline void SetLocation(const Aws::String& value) { m_location = value; }
71 
72     /**
73      * <p>The unique URL representing the new reusable delegation set.</p>
74      */
SetLocation(Aws::String && value)75     inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
76 
77     /**
78      * <p>The unique URL representing the new reusable delegation set.</p>
79      */
SetLocation(const char * value)80     inline void SetLocation(const char* value) { m_location.assign(value); }
81 
82     /**
83      * <p>The unique URL representing the new reusable delegation set.</p>
84      */
WithLocation(const Aws::String & value)85     inline CreateReusableDelegationSetResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
86 
87     /**
88      * <p>The unique URL representing the new reusable delegation set.</p>
89      */
WithLocation(Aws::String && value)90     inline CreateReusableDelegationSetResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
91 
92     /**
93      * <p>The unique URL representing the new reusable delegation set.</p>
94      */
WithLocation(const char * value)95     inline CreateReusableDelegationSetResult& WithLocation(const char* value) { SetLocation(value); return *this;}
96 
97   private:
98 
99     DelegationSet m_delegationSet;
100 
101     Aws::String m_location;
102   };
103 
104 } // namespace Model
105 } // namespace Route53
106 } // namespace Aws
107