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/lexv2-models/LexModelsV2_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.h>
9 #include <aws/core/utils/memory/stl/AWSVector.h>
10 #include <aws/lexv2-models/model/ExportSummary.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22   class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace LexModelsV2
26 {
27 namespace Model
28 {
29   class AWS_LEXMODELSV2_API ListExportsResult
30   {
31   public:
32     ListExportsResult();
33     ListExportsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
34     ListExportsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
35 
36 
37     /**
38      * <p>The unique identifier assigned to the bot by Amazon Lex.</p>
39      */
GetBotId()40     inline const Aws::String& GetBotId() const{ return m_botId; }
41 
42     /**
43      * <p>The unique identifier assigned to the bot by Amazon Lex.</p>
44      */
SetBotId(const Aws::String & value)45     inline void SetBotId(const Aws::String& value) { m_botId = value; }
46 
47     /**
48      * <p>The unique identifier assigned to the bot by Amazon Lex.</p>
49      */
SetBotId(Aws::String && value)50     inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
51 
52     /**
53      * <p>The unique identifier assigned to the bot by Amazon Lex.</p>
54      */
SetBotId(const char * value)55     inline void SetBotId(const char* value) { m_botId.assign(value); }
56 
57     /**
58      * <p>The unique identifier assigned to the bot by Amazon Lex.</p>
59      */
WithBotId(const Aws::String & value)60     inline ListExportsResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
61 
62     /**
63      * <p>The unique identifier assigned to the bot by Amazon Lex.</p>
64      */
WithBotId(Aws::String && value)65     inline ListExportsResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
66 
67     /**
68      * <p>The unique identifier assigned to the bot by Amazon Lex.</p>
69      */
WithBotId(const char * value)70     inline ListExportsResult& WithBotId(const char* value) { SetBotId(value); return *this;}
71 
72 
73     /**
74      * <p>The version of the bot that was exported.</p>
75      */
GetBotVersion()76     inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
77 
78     /**
79      * <p>The version of the bot that was exported.</p>
80      */
SetBotVersion(const Aws::String & value)81     inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
82 
83     /**
84      * <p>The version of the bot that was exported.</p>
85      */
SetBotVersion(Aws::String && value)86     inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
87 
88     /**
89      * <p>The version of the bot that was exported.</p>
90      */
SetBotVersion(const char * value)91     inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
92 
93     /**
94      * <p>The version of the bot that was exported.</p>
95      */
WithBotVersion(const Aws::String & value)96     inline ListExportsResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
97 
98     /**
99      * <p>The version of the bot that was exported.</p>
100      */
WithBotVersion(Aws::String && value)101     inline ListExportsResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
102 
103     /**
104      * <p>The version of the bot that was exported.</p>
105      */
WithBotVersion(const char * value)106     inline ListExportsResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
107 
108 
109     /**
110      * <p>Summary information for the exports that meet the filter criteria specified
111      * in the request. The length of the list is specified in the
112      * <code>maxResults</code> parameter. If there are more exports available, the
113      * <code>nextToken</code> field contains a token to get the next page of
114      * results.</p>
115      */
GetExportSummaries()116     inline const Aws::Vector<ExportSummary>& GetExportSummaries() const{ return m_exportSummaries; }
117 
118     /**
119      * <p>Summary information for the exports that meet the filter criteria specified
120      * in the request. The length of the list is specified in the
121      * <code>maxResults</code> parameter. If there are more exports available, the
122      * <code>nextToken</code> field contains a token to get the next page of
123      * results.</p>
124      */
SetExportSummaries(const Aws::Vector<ExportSummary> & value)125     inline void SetExportSummaries(const Aws::Vector<ExportSummary>& value) { m_exportSummaries = value; }
126 
127     /**
128      * <p>Summary information for the exports that meet the filter criteria specified
129      * in the request. The length of the list is specified in the
130      * <code>maxResults</code> parameter. If there are more exports available, the
131      * <code>nextToken</code> field contains a token to get the next page of
132      * results.</p>
133      */
SetExportSummaries(Aws::Vector<ExportSummary> && value)134     inline void SetExportSummaries(Aws::Vector<ExportSummary>&& value) { m_exportSummaries = std::move(value); }
135 
136     /**
137      * <p>Summary information for the exports that meet the filter criteria specified
138      * in the request. The length of the list is specified in the
139      * <code>maxResults</code> parameter. If there are more exports available, the
140      * <code>nextToken</code> field contains a token to get the next page of
141      * results.</p>
142      */
WithExportSummaries(const Aws::Vector<ExportSummary> & value)143     inline ListExportsResult& WithExportSummaries(const Aws::Vector<ExportSummary>& value) { SetExportSummaries(value); return *this;}
144 
145     /**
146      * <p>Summary information for the exports that meet the filter criteria specified
147      * in the request. The length of the list is specified in the
148      * <code>maxResults</code> parameter. If there are more exports available, the
149      * <code>nextToken</code> field contains a token to get the next page of
150      * results.</p>
151      */
WithExportSummaries(Aws::Vector<ExportSummary> && value)152     inline ListExportsResult& WithExportSummaries(Aws::Vector<ExportSummary>&& value) { SetExportSummaries(std::move(value)); return *this;}
153 
154     /**
155      * <p>Summary information for the exports that meet the filter criteria specified
156      * in the request. The length of the list is specified in the
157      * <code>maxResults</code> parameter. If there are more exports available, the
158      * <code>nextToken</code> field contains a token to get the next page of
159      * results.</p>
160      */
AddExportSummaries(const ExportSummary & value)161     inline ListExportsResult& AddExportSummaries(const ExportSummary& value) { m_exportSummaries.push_back(value); return *this; }
162 
163     /**
164      * <p>Summary information for the exports that meet the filter criteria specified
165      * in the request. The length of the list is specified in the
166      * <code>maxResults</code> parameter. If there are more exports available, the
167      * <code>nextToken</code> field contains a token to get the next page of
168      * results.</p>
169      */
AddExportSummaries(ExportSummary && value)170     inline ListExportsResult& AddExportSummaries(ExportSummary&& value) { m_exportSummaries.push_back(std::move(value)); return *this; }
171 
172 
173     /**
174      * <p>A token that indicates whether there are more results to return in a response
175      * to the <code>ListExports</code> operation. If the <code>nextToken</code> field
176      * is present, you send the contents as the <code>nextToken</code> parameter of a
177      * <code>ListExports</code> operation request to get the next page of results.</p>
178      */
GetNextToken()179     inline const Aws::String& GetNextToken() const{ return m_nextToken; }
180 
181     /**
182      * <p>A token that indicates whether there are more results to return in a response
183      * to the <code>ListExports</code> operation. If the <code>nextToken</code> field
184      * is present, you send the contents as the <code>nextToken</code> parameter of a
185      * <code>ListExports</code> operation request to get the next page of results.</p>
186      */
SetNextToken(const Aws::String & value)187     inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
188 
189     /**
190      * <p>A token that indicates whether there are more results to return in a response
191      * to the <code>ListExports</code> operation. If the <code>nextToken</code> field
192      * is present, you send the contents as the <code>nextToken</code> parameter of a
193      * <code>ListExports</code> operation request to get the next page of results.</p>
194      */
SetNextToken(Aws::String && value)195     inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
196 
197     /**
198      * <p>A token that indicates whether there are more results to return in a response
199      * to the <code>ListExports</code> operation. If the <code>nextToken</code> field
200      * is present, you send the contents as the <code>nextToken</code> parameter of a
201      * <code>ListExports</code> operation request to get the next page of results.</p>
202      */
SetNextToken(const char * value)203     inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
204 
205     /**
206      * <p>A token that indicates whether there are more results to return in a response
207      * to the <code>ListExports</code> operation. If the <code>nextToken</code> field
208      * is present, you send the contents as the <code>nextToken</code> parameter of a
209      * <code>ListExports</code> operation request to get the next page of results.</p>
210      */
WithNextToken(const Aws::String & value)211     inline ListExportsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
212 
213     /**
214      * <p>A token that indicates whether there are more results to return in a response
215      * to the <code>ListExports</code> operation. If the <code>nextToken</code> field
216      * is present, you send the contents as the <code>nextToken</code> parameter of a
217      * <code>ListExports</code> operation request to get the next page of results.</p>
218      */
WithNextToken(Aws::String && value)219     inline ListExportsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
220 
221     /**
222      * <p>A token that indicates whether there are more results to return in a response
223      * to the <code>ListExports</code> operation. If the <code>nextToken</code> field
224      * is present, you send the contents as the <code>nextToken</code> parameter of a
225      * <code>ListExports</code> operation request to get the next page of results.</p>
226      */
WithNextToken(const char * value)227     inline ListExportsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
228 
229   private:
230 
231     Aws::String m_botId;
232 
233     Aws::String m_botVersion;
234 
235     Aws::Vector<ExportSummary> m_exportSummaries;
236 
237     Aws::String m_nextToken;
238   };
239 
240 } // namespace Model
241 } // namespace LexModelsV2
242 } // namespace Aws
243