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/robomaker/RoboMaker_EXPORTS.h>
8 #include <aws/robomaker/RoboMakerRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <aws/core/utils/memory/stl/AWSVector.h>
11 #include <aws/robomaker/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace RoboMaker
17 {
18 namespace Model
19 {
20 
21   /**
22    */
23   class AWS_ROBOMAKER_API ListSimulationJobBatchesRequest : public RoboMakerRequest
24   {
25   public:
26     ListSimulationJobBatchesRequest();
27 
28     // Service request name is the Operation name which will send this request out,
29     // each operation should has unique request name, so that we can get operation's name from this request.
30     // Note: this is not true for response, multiple operations may have the same response name,
31     // so we can not get operation's name from response.
GetServiceRequestName()32     inline virtual const char* GetServiceRequestName() const override { return "ListSimulationJobBatches"; }
33 
34     Aws::String SerializePayload() const override;
35 
36 
37     /**
38      * <p>If the previous paginated request did not return all of the remaining
39      * results, the response object's <code>nextToken</code> parameter value is set to
40      * a token. To retrieve the next set of results, call
41      * <code>ListSimulationJobBatches</code> again and assign that token to the request
42      * object's <code>nextToken</code> parameter. If there are no remaining results,
43      * the previous response object's NextToken parameter is set to null. </p>
44      */
GetNextToken()45     inline const Aws::String& GetNextToken() const{ return m_nextToken; }
46 
47     /**
48      * <p>If the previous paginated request did not return all of the remaining
49      * results, the response object's <code>nextToken</code> parameter value is set to
50      * a token. To retrieve the next set of results, call
51      * <code>ListSimulationJobBatches</code> again and assign that token to the request
52      * object's <code>nextToken</code> parameter. If there are no remaining results,
53      * the previous response object's NextToken parameter is set to null. </p>
54      */
NextTokenHasBeenSet()55     inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
56 
57     /**
58      * <p>If the previous paginated request did not return all of the remaining
59      * results, the response object's <code>nextToken</code> parameter value is set to
60      * a token. To retrieve the next set of results, call
61      * <code>ListSimulationJobBatches</code> again and assign that token to the request
62      * object's <code>nextToken</code> parameter. If there are no remaining results,
63      * the previous response object's NextToken parameter is set to null. </p>
64      */
SetNextToken(const Aws::String & value)65     inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
66 
67     /**
68      * <p>If the previous paginated request did not return all of the remaining
69      * results, the response object's <code>nextToken</code> parameter value is set to
70      * a token. To retrieve the next set of results, call
71      * <code>ListSimulationJobBatches</code> again and assign that token to the request
72      * object's <code>nextToken</code> parameter. If there are no remaining results,
73      * the previous response object's NextToken parameter is set to null. </p>
74      */
SetNextToken(Aws::String && value)75     inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
76 
77     /**
78      * <p>If the previous paginated request did not return all of the remaining
79      * results, the response object's <code>nextToken</code> parameter value is set to
80      * a token. To retrieve the next set of results, call
81      * <code>ListSimulationJobBatches</code> again and assign that token to the request
82      * object's <code>nextToken</code> parameter. If there are no remaining results,
83      * the previous response object's NextToken parameter is set to null. </p>
84      */
SetNextToken(const char * value)85     inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
86 
87     /**
88      * <p>If the previous paginated request did not return all of the remaining
89      * results, the response object's <code>nextToken</code> parameter value is set to
90      * a token. To retrieve the next set of results, call
91      * <code>ListSimulationJobBatches</code> again and assign that token to the request
92      * object's <code>nextToken</code> parameter. If there are no remaining results,
93      * the previous response object's NextToken parameter is set to null. </p>
94      */
WithNextToken(const Aws::String & value)95     inline ListSimulationJobBatchesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
96 
97     /**
98      * <p>If the previous paginated request did not return all of the remaining
99      * results, the response object's <code>nextToken</code> parameter value is set to
100      * a token. To retrieve the next set of results, call
101      * <code>ListSimulationJobBatches</code> again and assign that token to the request
102      * object's <code>nextToken</code> parameter. If there are no remaining results,
103      * the previous response object's NextToken parameter is set to null. </p>
104      */
WithNextToken(Aws::String && value)105     inline ListSimulationJobBatchesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
106 
107     /**
108      * <p>If the previous paginated request did not return all of the remaining
109      * results, the response object's <code>nextToken</code> parameter value is set to
110      * a token. To retrieve the next set of results, call
111      * <code>ListSimulationJobBatches</code> again and assign that token to the request
112      * object's <code>nextToken</code> parameter. If there are no remaining results,
113      * the previous response object's NextToken parameter is set to null. </p>
114      */
WithNextToken(const char * value)115     inline ListSimulationJobBatchesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
116 
117 
118     /**
119      * <p>When this parameter is used, <code>ListSimulationJobBatches</code> only
120      * returns <code>maxResults</code> results in a single page along with a
121      * <code>nextToken</code> response element. The remaining results of the initial
122      * request can be seen by sending another <code>ListSimulationJobBatches</code>
123      * request with the returned <code>nextToken</code> value. </p>
124      */
GetMaxResults()125     inline int GetMaxResults() const{ return m_maxResults; }
126 
127     /**
128      * <p>When this parameter is used, <code>ListSimulationJobBatches</code> only
129      * returns <code>maxResults</code> results in a single page along with a
130      * <code>nextToken</code> response element. The remaining results of the initial
131      * request can be seen by sending another <code>ListSimulationJobBatches</code>
132      * request with the returned <code>nextToken</code> value. </p>
133      */
MaxResultsHasBeenSet()134     inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
135 
136     /**
137      * <p>When this parameter is used, <code>ListSimulationJobBatches</code> only
138      * returns <code>maxResults</code> results in a single page along with a
139      * <code>nextToken</code> response element. The remaining results of the initial
140      * request can be seen by sending another <code>ListSimulationJobBatches</code>
141      * request with the returned <code>nextToken</code> value. </p>
142      */
SetMaxResults(int value)143     inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
144 
145     /**
146      * <p>When this parameter is used, <code>ListSimulationJobBatches</code> only
147      * returns <code>maxResults</code> results in a single page along with a
148      * <code>nextToken</code> response element. The remaining results of the initial
149      * request can be seen by sending another <code>ListSimulationJobBatches</code>
150      * request with the returned <code>nextToken</code> value. </p>
151      */
WithMaxResults(int value)152     inline ListSimulationJobBatchesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
153 
154 
155     /**
156      * <p>Optional filters to limit results.</p>
157      */
GetFilters()158     inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
159 
160     /**
161      * <p>Optional filters to limit results.</p>
162      */
FiltersHasBeenSet()163     inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
164 
165     /**
166      * <p>Optional filters to limit results.</p>
167      */
SetFilters(const Aws::Vector<Filter> & value)168     inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
169 
170     /**
171      * <p>Optional filters to limit results.</p>
172      */
SetFilters(Aws::Vector<Filter> && value)173     inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
174 
175     /**
176      * <p>Optional filters to limit results.</p>
177      */
WithFilters(const Aws::Vector<Filter> & value)178     inline ListSimulationJobBatchesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
179 
180     /**
181      * <p>Optional filters to limit results.</p>
182      */
WithFilters(Aws::Vector<Filter> && value)183     inline ListSimulationJobBatchesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
184 
185     /**
186      * <p>Optional filters to limit results.</p>
187      */
AddFilters(const Filter & value)188     inline ListSimulationJobBatchesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
189 
190     /**
191      * <p>Optional filters to limit results.</p>
192      */
AddFilters(Filter && value)193     inline ListSimulationJobBatchesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
194 
195   private:
196 
197     Aws::String m_nextToken;
198     bool m_nextTokenHasBeenSet;
199 
200     int m_maxResults;
201     bool m_maxResultsHasBeenSet;
202 
203     Aws::Vector<Filter> m_filters;
204     bool m_filtersHasBeenSet;
205   };
206 
207 } // namespace Model
208 } // namespace RoboMaker
209 } // namespace Aws
210