AWS SDK for C++  0.14.3
AWS SDK for C++
GetStatusResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
23 
24 namespace Aws
25 {
26 template<typename RESULT_TYPE>
27 class AmazonWebServiceResult;
28 
29 namespace Utils
30 {
31 namespace Xml
32 {
33  class XmlDocument;
34 } // namespace Xml
35 } // namespace Utils
36 namespace ImportExport
37 {
38 namespace Model
39 {
44  {
45  public:
49 
50 
51  inline const Aws::String& GetJobId() const{ return m_jobId; }
52 
53 
54  inline void SetJobId(const Aws::String& value) { m_jobId = value; }
55 
56 
57  inline void SetJobId(Aws::String&& value) { m_jobId = value; }
58 
59 
60  inline void SetJobId(const char* value) { m_jobId.assign(value); }
61 
62 
63  inline GetStatusResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
64 
65 
66  inline GetStatusResult& WithJobId(Aws::String&& value) { SetJobId(value); return *this;}
67 
68 
69  inline GetStatusResult& WithJobId(const char* value) { SetJobId(value); return *this;}
70 
71 
72  inline const JobType& GetJobType() const{ return m_jobType; }
73 
74 
75  inline void SetJobType(const JobType& value) { m_jobType = value; }
76 
77 
78  inline void SetJobType(JobType&& value) { m_jobType = value; }
79 
80 
81  inline GetStatusResult& WithJobType(const JobType& value) { SetJobType(value); return *this;}
82 
83 
84  inline GetStatusResult& WithJobType(JobType&& value) { SetJobType(value); return *this;}
85 
86 
87  inline const Aws::String& GetLocationCode() const{ return m_locationCode; }
88 
89 
90  inline void SetLocationCode(const Aws::String& value) { m_locationCode = value; }
91 
92 
93  inline void SetLocationCode(Aws::String&& value) { m_locationCode = value; }
94 
95 
96  inline void SetLocationCode(const char* value) { m_locationCode.assign(value); }
97 
98 
99  inline GetStatusResult& WithLocationCode(const Aws::String& value) { SetLocationCode(value); return *this;}
100 
101 
102  inline GetStatusResult& WithLocationCode(Aws::String&& value) { SetLocationCode(value); return *this;}
103 
104 
105  inline GetStatusResult& WithLocationCode(const char* value) { SetLocationCode(value); return *this;}
106 
107 
108  inline const Aws::String& GetLocationMessage() const{ return m_locationMessage; }
109 
110 
111  inline void SetLocationMessage(const Aws::String& value) { m_locationMessage = value; }
112 
113 
114  inline void SetLocationMessage(Aws::String&& value) { m_locationMessage = value; }
115 
116 
117  inline void SetLocationMessage(const char* value) { m_locationMessage.assign(value); }
118 
119 
120  inline GetStatusResult& WithLocationMessage(const Aws::String& value) { SetLocationMessage(value); return *this;}
121 
122 
123  inline GetStatusResult& WithLocationMessage(Aws::String&& value) { SetLocationMessage(value); return *this;}
124 
125 
126  inline GetStatusResult& WithLocationMessage(const char* value) { SetLocationMessage(value); return *this;}
127 
128 
129  inline const Aws::String& GetProgressCode() const{ return m_progressCode; }
130 
131 
132  inline void SetProgressCode(const Aws::String& value) { m_progressCode = value; }
133 
134 
135  inline void SetProgressCode(Aws::String&& value) { m_progressCode = value; }
136 
137 
138  inline void SetProgressCode(const char* value) { m_progressCode.assign(value); }
139 
140 
141  inline GetStatusResult& WithProgressCode(const Aws::String& value) { SetProgressCode(value); return *this;}
142 
143 
144  inline GetStatusResult& WithProgressCode(Aws::String&& value) { SetProgressCode(value); return *this;}
145 
146 
147  inline GetStatusResult& WithProgressCode(const char* value) { SetProgressCode(value); return *this;}
148 
149 
150  inline const Aws::String& GetProgressMessage() const{ return m_progressMessage; }
151 
152 
153  inline void SetProgressMessage(const Aws::String& value) { m_progressMessage = value; }
154 
155 
156  inline void SetProgressMessage(Aws::String&& value) { m_progressMessage = value; }
157 
158 
159  inline void SetProgressMessage(const char* value) { m_progressMessage.assign(value); }
160 
161 
162  inline GetStatusResult& WithProgressMessage(const Aws::String& value) { SetProgressMessage(value); return *this;}
163 
164 
165  inline GetStatusResult& WithProgressMessage(Aws::String&& value) { SetProgressMessage(value); return *this;}
166 
167 
168  inline GetStatusResult& WithProgressMessage(const char* value) { SetProgressMessage(value); return *this;}
169 
170 
171  inline const Aws::String& GetCarrier() const{ return m_carrier; }
172 
173 
174  inline void SetCarrier(const Aws::String& value) { m_carrier = value; }
175 
176 
177  inline void SetCarrier(Aws::String&& value) { m_carrier = value; }
178 
179 
180  inline void SetCarrier(const char* value) { m_carrier.assign(value); }
181 
182 
183  inline GetStatusResult& WithCarrier(const Aws::String& value) { SetCarrier(value); return *this;}
184 
185 
186  inline GetStatusResult& WithCarrier(Aws::String&& value) { SetCarrier(value); return *this;}
187 
188 
189  inline GetStatusResult& WithCarrier(const char* value) { SetCarrier(value); return *this;}
190 
191 
192  inline const Aws::String& GetTrackingNumber() const{ return m_trackingNumber; }
193 
194 
195  inline void SetTrackingNumber(const Aws::String& value) { m_trackingNumber = value; }
196 
197 
198  inline void SetTrackingNumber(Aws::String&& value) { m_trackingNumber = value; }
199 
200 
201  inline void SetTrackingNumber(const char* value) { m_trackingNumber.assign(value); }
202 
203 
204  inline GetStatusResult& WithTrackingNumber(const Aws::String& value) { SetTrackingNumber(value); return *this;}
205 
206 
207  inline GetStatusResult& WithTrackingNumber(Aws::String&& value) { SetTrackingNumber(value); return *this;}
208 
209 
210  inline GetStatusResult& WithTrackingNumber(const char* value) { SetTrackingNumber(value); return *this;}
211 
212 
213  inline const Aws::String& GetLogBucket() const{ return m_logBucket; }
214 
215 
216  inline void SetLogBucket(const Aws::String& value) { m_logBucket = value; }
217 
218 
219  inline void SetLogBucket(Aws::String&& value) { m_logBucket = value; }
220 
221 
222  inline void SetLogBucket(const char* value) { m_logBucket.assign(value); }
223 
224 
225  inline GetStatusResult& WithLogBucket(const Aws::String& value) { SetLogBucket(value); return *this;}
226 
227 
228  inline GetStatusResult& WithLogBucket(Aws::String&& value) { SetLogBucket(value); return *this;}
229 
230 
231  inline GetStatusResult& WithLogBucket(const char* value) { SetLogBucket(value); return *this;}
232 
233 
234  inline const Aws::String& GetLogKey() const{ return m_logKey; }
235 
236 
237  inline void SetLogKey(const Aws::String& value) { m_logKey = value; }
238 
239 
240  inline void SetLogKey(Aws::String&& value) { m_logKey = value; }
241 
242 
243  inline void SetLogKey(const char* value) { m_logKey.assign(value); }
244 
245 
246  inline GetStatusResult& WithLogKey(const Aws::String& value) { SetLogKey(value); return *this;}
247 
248 
249  inline GetStatusResult& WithLogKey(Aws::String&& value) { SetLogKey(value); return *this;}
250 
251 
252  inline GetStatusResult& WithLogKey(const char* value) { SetLogKey(value); return *this;}
253 
254 
255  inline int GetErrorCount() const{ return m_errorCount; }
256 
257 
258  inline void SetErrorCount(int value) { m_errorCount = value; }
259 
260 
261  inline GetStatusResult& WithErrorCount(int value) { SetErrorCount(value); return *this;}
262 
263 
264  inline const Aws::String& GetSignature() const{ return m_signature; }
265 
266 
267  inline void SetSignature(const Aws::String& value) { m_signature = value; }
268 
269 
270  inline void SetSignature(Aws::String&& value) { m_signature = value; }
271 
272 
273  inline void SetSignature(const char* value) { m_signature.assign(value); }
274 
275 
276  inline GetStatusResult& WithSignature(const Aws::String& value) { SetSignature(value); return *this;}
277 
278 
279  inline GetStatusResult& WithSignature(Aws::String&& value) { SetSignature(value); return *this;}
280 
281 
282  inline GetStatusResult& WithSignature(const char* value) { SetSignature(value); return *this;}
283 
284 
285  inline const Aws::String& GetSignatureFileContents() const{ return m_signatureFileContents; }
286 
287 
288  inline void SetSignatureFileContents(const Aws::String& value) { m_signatureFileContents = value; }
289 
290 
291  inline void SetSignatureFileContents(Aws::String&& value) { m_signatureFileContents = value; }
292 
293 
294  inline void SetSignatureFileContents(const char* value) { m_signatureFileContents.assign(value); }
295 
296 
297  inline GetStatusResult& WithSignatureFileContents(const Aws::String& value) { SetSignatureFileContents(value); return *this;}
298 
299 
300  inline GetStatusResult& WithSignatureFileContents(Aws::String&& value) { SetSignatureFileContents(value); return *this;}
301 
302 
303  inline GetStatusResult& WithSignatureFileContents(const char* value) { SetSignatureFileContents(value); return *this;}
304 
305 
306  inline const Aws::String& GetCurrentManifest() const{ return m_currentManifest; }
307 
308 
309  inline void SetCurrentManifest(const Aws::String& value) { m_currentManifest = value; }
310 
311 
312  inline void SetCurrentManifest(Aws::String&& value) { m_currentManifest = value; }
313 
314 
315  inline void SetCurrentManifest(const char* value) { m_currentManifest.assign(value); }
316 
317 
318  inline GetStatusResult& WithCurrentManifest(const Aws::String& value) { SetCurrentManifest(value); return *this;}
319 
320 
321  inline GetStatusResult& WithCurrentManifest(Aws::String&& value) { SetCurrentManifest(value); return *this;}
322 
323 
324  inline GetStatusResult& WithCurrentManifest(const char* value) { SetCurrentManifest(value); return *this;}
325 
326 
327  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
328 
329 
330  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
331 
332 
333  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = value; }
334 
335 
336  inline GetStatusResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
337 
338 
339  inline GetStatusResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(value); return *this;}
340 
341 
342  inline const Aws::Vector<Artifact>& GetArtifactList() const{ return m_artifactList; }
343 
344 
345  inline void SetArtifactList(const Aws::Vector<Artifact>& value) { m_artifactList = value; }
346 
347 
348  inline void SetArtifactList(Aws::Vector<Artifact>&& value) { m_artifactList = value; }
349 
350 
351  inline GetStatusResult& WithArtifactList(const Aws::Vector<Artifact>& value) { SetArtifactList(value); return *this;}
352 
353 
354  inline GetStatusResult& WithArtifactList(Aws::Vector<Artifact>&& value) { SetArtifactList(value); return *this;}
355 
356 
357  inline GetStatusResult& AddArtifactList(const Artifact& value) { m_artifactList.push_back(value); return *this; }
358 
359 
360  inline GetStatusResult& AddArtifactList(Artifact&& value) { m_artifactList.push_back(value); return *this; }
361 
362 
363  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
364 
365 
366  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
367 
368 
369  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
370 
371 
372  inline GetStatusResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
373 
374 
375  inline GetStatusResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
376 
377  private:
378  Aws::String m_jobId;
379  JobType m_jobType;
380  Aws::String m_locationCode;
381  Aws::String m_locationMessage;
382  Aws::String m_progressCode;
383  Aws::String m_progressMessage;
384  Aws::String m_carrier;
385  Aws::String m_trackingNumber;
386  Aws::String m_logBucket;
387  Aws::String m_logKey;
388  int m_errorCount;
389  Aws::String m_signature;
390  Aws::String m_signatureFileContents;
391  Aws::String m_currentManifest;
392  Aws::Utils::DateTime m_creationDate;
393  Aws::Vector<Artifact> m_artifactList;
394  ResponseMetadata m_responseMetadata;
395  };
396 
397 } // namespace Model
398 } // namespace ImportExport
399 } // namespace Aws
void SetSignatureFileContents(const char *value)
void SetLocationMessage(Aws::String &&value)
void SetCurrentManifest(const Aws::String &value)
void SetTrackingNumber(Aws::String &&value)
GetStatusResult & WithLocationMessage(const Aws::String &value)
const Aws::String & GetProgressCode() const
GetStatusResult & WithCurrentManifest(const char *value)
const Aws::String & GetCurrentManifest() const
void SetLocationCode(Aws::String &&value)
GetStatusResult & WithLogKey(Aws::String &&value)
GetStatusResult & WithLocationMessage(Aws::String &&value)
void SetSignature(const Aws::String &value)
GetStatusResult & WithProgressCode(const char *value)
GetStatusResult & WithProgressMessage(Aws::String &&value)
void SetJobType(const JobType &value)
GetStatusResult & WithProgressMessage(const char *value)
GetStatusResult & WithTrackingNumber(Aws::String &&value)
const Aws::String & GetLogKey() const
void SetResponseMetadata(ResponseMetadata &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
GetStatusResult & WithSignature(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDate() const
GetStatusResult & WithJobType(const JobType &value)
void SetLocationCode(const Aws::String &value)
GetStatusResult & WithLogBucket(Aws::String &&value)
GetStatusResult & WithLocationCode(const char *value)
void SetProgressMessage(const Aws::String &value)
void SetArtifactList(Aws::Vector< Artifact > &&value)
GetStatusResult & WithCreationDate(const Aws::Utils::DateTime &value)
GetStatusResult & WithLocationCode(Aws::String &&value)
void SetLogBucket(const Aws::String &value)
const Aws::String & GetSignatureFileContents() const
GetStatusResult & WithCurrentManifest(Aws::String &&value)
GetStatusResult & AddArtifactList(const Artifact &value)
void SetLogKey(const Aws::String &value)
GetStatusResult & WithLocationCode(const Aws::String &value)
const Aws::String & GetSignature() const
GetStatusResult & WithLogBucket(const char *value)
const Aws::String & GetJobId() const
const Aws::String & GetCarrier() const
GetStatusResult & WithSignatureFileContents(const char *value)
void SetCurrentManifest(Aws::String &&value)
void SetJobId(const Aws::String &value)
void SetCarrier(const Aws::String &value)
GetStatusResult & WithSignatureFileContents(const Aws::String &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
GetStatusResult & WithTrackingNumber(const char *value)
GetStatusResult & AddArtifactList(Artifact &&value)
void SetArtifactList(const Aws::Vector< Artifact > &value)
GetStatusResult & WithResponseMetadata(const ResponseMetadata &value)
GetStatusResult & WithLogKey(const Aws::String &value)
GetStatusResult & WithCarrier(const Aws::String &value)
void SetSignatureFileContents(const Aws::String &value)
GetStatusResult & WithResponseMetadata(ResponseMetadata &&value)
const Aws::String & GetProgressMessage() const
GetStatusResult & WithLogKey(const char *value)
GetStatusResult & WithLogBucket(const Aws::String &value)
const Aws::String & GetTrackingNumber() const
void SetResponseMetadata(const ResponseMetadata &value)
GetStatusResult & WithJobId(const char *value)
GetStatusResult & WithJobType(JobType &&value)
GetStatusResult & WithSignature(Aws::String &&value)
const Aws::Vector< Artifact > & GetArtifactList() const
const Aws::String & GetLocationCode() const
GetStatusResult & WithCarrier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetStatusResult & WithArtifactList(Aws::Vector< Artifact > &&value)
void SetSignatureFileContents(Aws::String &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
GetStatusResult & WithCurrentManifest(const Aws::String &value)
GetStatusResult & WithErrorCount(int value)
const ResponseMetadata & GetResponseMetadata() const
GetStatusResult & WithCreationDate(Aws::Utils::DateTime &&value)
GetStatusResult & WithTrackingNumber(const Aws::String &value)
void SetProgressCode(const Aws::String &value)
void SetProgressCode(Aws::String &&value)
GetStatusResult & WithJobId(Aws::String &&value)
GetStatusResult & WithCarrier(const char *value)
GetStatusResult & WithSignatureFileContents(Aws::String &&value)
void SetTrackingNumber(const Aws::String &value)
GetStatusResult & WithSignature(const char *value)
void SetProgressMessage(Aws::String &&value)
GetStatusResult & WithArtifactList(const Aws::Vector< Artifact > &value)
const Aws::String & GetLogBucket() const
GetStatusResult & WithProgressCode(Aws::String &&value)
#define AWS_IMPORTEXPORT_API
GetStatusResult & WithLocationMessage(const char *value)
GetStatusResult & WithJobId(const Aws::String &value)
const Aws::String & GetLocationMessage() const
GetStatusResult & WithProgressMessage(const Aws::String &value)
JSON (JavaScript Object Notation).
void SetLocationMessage(const Aws::String &value)
GetStatusResult & WithProgressCode(const Aws::String &value)