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/cloudformation/CloudFormation_EXPORTS.h>
8 #include <aws/cloudformation/model/StackInstance.h>
9 #include <aws/cloudformation/model/ResponseMetadata.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 CloudFormation
25 {
26 namespace Model
27 {
28   class AWS_CLOUDFORMATION_API DescribeStackInstanceResult
29   {
30   public:
31     DescribeStackInstanceResult();
32     DescribeStackInstanceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
33     DescribeStackInstanceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
34 
35 
36     /**
37      * <p>The stack instance that matches the specified request parameters.</p>
38      */
GetStackInstance()39     inline const StackInstance& GetStackInstance() const{ return m_stackInstance; }
40 
41     /**
42      * <p>The stack instance that matches the specified request parameters.</p>
43      */
SetStackInstance(const StackInstance & value)44     inline void SetStackInstance(const StackInstance& value) { m_stackInstance = value; }
45 
46     /**
47      * <p>The stack instance that matches the specified request parameters.</p>
48      */
SetStackInstance(StackInstance && value)49     inline void SetStackInstance(StackInstance&& value) { m_stackInstance = std::move(value); }
50 
51     /**
52      * <p>The stack instance that matches the specified request parameters.</p>
53      */
WithStackInstance(const StackInstance & value)54     inline DescribeStackInstanceResult& WithStackInstance(const StackInstance& value) { SetStackInstance(value); return *this;}
55 
56     /**
57      * <p>The stack instance that matches the specified request parameters.</p>
58      */
WithStackInstance(StackInstance && value)59     inline DescribeStackInstanceResult& WithStackInstance(StackInstance&& value) { SetStackInstance(std::move(value)); return *this;}
60 
61 
62 
GetResponseMetadata()63     inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
64 
65 
SetResponseMetadata(const ResponseMetadata & value)66     inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
67 
68 
SetResponseMetadata(ResponseMetadata && value)69     inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
70 
71 
WithResponseMetadata(const ResponseMetadata & value)72     inline DescribeStackInstanceResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
73 
74 
WithResponseMetadata(ResponseMetadata && value)75     inline DescribeStackInstanceResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
76 
77   private:
78 
79     StackInstance m_stackInstance;
80 
81     ResponseMetadata m_responseMetadata;
82   };
83 
84 } // namespace Model
85 } // namespace CloudFormation
86 } // namespace Aws
87