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/core/utils/memory/stl/AWSVector.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <aws/cloudformation/model/ResponseMetadata.h>
11 #include <aws/cloudformation/model/StackSetOperationSummary.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23   class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace CloudFormation
27 {
28 namespace Model
29 {
30   class AWS_CLOUDFORMATION_API ListStackSetOperationsResult
31   {
32   public:
33     ListStackSetOperationsResult();
34     ListStackSetOperationsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
35     ListStackSetOperationsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
36 
37 
38     /**
39      * <p>A list of <code>StackSetOperationSummary</code> structures that contain
40      * summary information about operations for the specified stack set.</p>
41      */
GetSummaries()42     inline const Aws::Vector<StackSetOperationSummary>& GetSummaries() const{ return m_summaries; }
43 
44     /**
45      * <p>A list of <code>StackSetOperationSummary</code> structures that contain
46      * summary information about operations for the specified stack set.</p>
47      */
SetSummaries(const Aws::Vector<StackSetOperationSummary> & value)48     inline void SetSummaries(const Aws::Vector<StackSetOperationSummary>& value) { m_summaries = value; }
49 
50     /**
51      * <p>A list of <code>StackSetOperationSummary</code> structures that contain
52      * summary information about operations for the specified stack set.</p>
53      */
SetSummaries(Aws::Vector<StackSetOperationSummary> && value)54     inline void SetSummaries(Aws::Vector<StackSetOperationSummary>&& value) { m_summaries = std::move(value); }
55 
56     /**
57      * <p>A list of <code>StackSetOperationSummary</code> structures that contain
58      * summary information about operations for the specified stack set.</p>
59      */
WithSummaries(const Aws::Vector<StackSetOperationSummary> & value)60     inline ListStackSetOperationsResult& WithSummaries(const Aws::Vector<StackSetOperationSummary>& value) { SetSummaries(value); return *this;}
61 
62     /**
63      * <p>A list of <code>StackSetOperationSummary</code> structures that contain
64      * summary information about operations for the specified stack set.</p>
65      */
WithSummaries(Aws::Vector<StackSetOperationSummary> && value)66     inline ListStackSetOperationsResult& WithSummaries(Aws::Vector<StackSetOperationSummary>&& value) { SetSummaries(std::move(value)); return *this;}
67 
68     /**
69      * <p>A list of <code>StackSetOperationSummary</code> structures that contain
70      * summary information about operations for the specified stack set.</p>
71      */
AddSummaries(const StackSetOperationSummary & value)72     inline ListStackSetOperationsResult& AddSummaries(const StackSetOperationSummary& value) { m_summaries.push_back(value); return *this; }
73 
74     /**
75      * <p>A list of <code>StackSetOperationSummary</code> structures that contain
76      * summary information about operations for the specified stack set.</p>
77      */
AddSummaries(StackSetOperationSummary && value)78     inline ListStackSetOperationsResult& AddSummaries(StackSetOperationSummary&& value) { m_summaries.push_back(std::move(value)); return *this; }
79 
80 
81     /**
82      * <p>If the request doesn't return all results, <code>NextToken</code> is set to a
83      * token. To retrieve the next set of results, call
84      * <code>ListOperationResults</code> again and assign that token to the request
85      * object's <code>NextToken</code> parameter. If there are no remaining results,
86      * <code>NextToken</code> is set to <code>null</code>.</p>
87      */
GetNextToken()88     inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89 
90     /**
91      * <p>If the request doesn't return all results, <code>NextToken</code> is set to a
92      * token. To retrieve the next set of results, call
93      * <code>ListOperationResults</code> again and assign that token to the request
94      * object's <code>NextToken</code> parameter. If there are no remaining results,
95      * <code>NextToken</code> is set to <code>null</code>.</p>
96      */
SetNextToken(const Aws::String & value)97     inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
98 
99     /**
100      * <p>If the request doesn't return all results, <code>NextToken</code> is set to a
101      * token. To retrieve the next set of results, call
102      * <code>ListOperationResults</code> again and assign that token to the request
103      * object's <code>NextToken</code> parameter. If there are no remaining results,
104      * <code>NextToken</code> is set to <code>null</code>.</p>
105      */
SetNextToken(Aws::String && value)106     inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
107 
108     /**
109      * <p>If the request doesn't return all results, <code>NextToken</code> is set to a
110      * token. To retrieve the next set of results, call
111      * <code>ListOperationResults</code> again and assign that token to the request
112      * object's <code>NextToken</code> parameter. If there are no remaining results,
113      * <code>NextToken</code> is set to <code>null</code>.</p>
114      */
SetNextToken(const char * value)115     inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
116 
117     /**
118      * <p>If the request doesn't return all results, <code>NextToken</code> is set to a
119      * token. To retrieve the next set of results, call
120      * <code>ListOperationResults</code> again and assign that token to the request
121      * object's <code>NextToken</code> parameter. If there are no remaining results,
122      * <code>NextToken</code> is set to <code>null</code>.</p>
123      */
WithNextToken(const Aws::String & value)124     inline ListStackSetOperationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
125 
126     /**
127      * <p>If the request doesn't return all results, <code>NextToken</code> is set to a
128      * token. To retrieve the next set of results, call
129      * <code>ListOperationResults</code> again and assign that token to the request
130      * object's <code>NextToken</code> parameter. If there are no remaining results,
131      * <code>NextToken</code> is set to <code>null</code>.</p>
132      */
WithNextToken(Aws::String && value)133     inline ListStackSetOperationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
134 
135     /**
136      * <p>If the request doesn't return all results, <code>NextToken</code> is set to a
137      * token. To retrieve the next set of results, call
138      * <code>ListOperationResults</code> again and assign that token to the request
139      * object's <code>NextToken</code> parameter. If there are no remaining results,
140      * <code>NextToken</code> is set to <code>null</code>.</p>
141      */
WithNextToken(const char * value)142     inline ListStackSetOperationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
143 
144 
145 
GetResponseMetadata()146     inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
147 
148 
SetResponseMetadata(const ResponseMetadata & value)149     inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
150 
151 
SetResponseMetadata(ResponseMetadata && value)152     inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
153 
154 
WithResponseMetadata(const ResponseMetadata & value)155     inline ListStackSetOperationsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
156 
157 
WithResponseMetadata(ResponseMetadata && value)158     inline ListStackSetOperationsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
159 
160   private:
161 
162     Aws::Vector<StackSetOperationSummary> m_summaries;
163 
164     Aws::String m_nextToken;
165 
166     ResponseMetadata m_responseMetadata;
167   };
168 
169 } // namespace Model
170 } // namespace CloudFormation
171 } // namespace Aws
172