AWS SDK for C++  1.9.175
AWS SDK for C++
TestCaseRun.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoTDeviceAdvisor
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetTestCaseRunId() const{ return m_testCaseRunId; }
46 
50  inline bool TestCaseRunIdHasBeenSet() const { return m_testCaseRunIdHasBeenSet; }
51 
55  inline void SetTestCaseRunId(const Aws::String& value) { m_testCaseRunIdHasBeenSet = true; m_testCaseRunId = value; }
56 
60  inline void SetTestCaseRunId(Aws::String&& value) { m_testCaseRunIdHasBeenSet = true; m_testCaseRunId = std::move(value); }
61 
65  inline void SetTestCaseRunId(const char* value) { m_testCaseRunIdHasBeenSet = true; m_testCaseRunId.assign(value); }
66 
70  inline TestCaseRun& WithTestCaseRunId(const Aws::String& value) { SetTestCaseRunId(value); return *this;}
71 
75  inline TestCaseRun& WithTestCaseRunId(Aws::String&& value) { SetTestCaseRunId(std::move(value)); return *this;}
76 
80  inline TestCaseRun& WithTestCaseRunId(const char* value) { SetTestCaseRunId(value); return *this;}
81 
82 
86  inline const Aws::String& GetTestCaseDefinitionId() const{ return m_testCaseDefinitionId; }
87 
91  inline bool TestCaseDefinitionIdHasBeenSet() const { return m_testCaseDefinitionIdHasBeenSet; }
92 
96  inline void SetTestCaseDefinitionId(const Aws::String& value) { m_testCaseDefinitionIdHasBeenSet = true; m_testCaseDefinitionId = value; }
97 
101  inline void SetTestCaseDefinitionId(Aws::String&& value) { m_testCaseDefinitionIdHasBeenSet = true; m_testCaseDefinitionId = std::move(value); }
102 
106  inline void SetTestCaseDefinitionId(const char* value) { m_testCaseDefinitionIdHasBeenSet = true; m_testCaseDefinitionId.assign(value); }
107 
111  inline TestCaseRun& WithTestCaseDefinitionId(const Aws::String& value) { SetTestCaseDefinitionId(value); return *this;}
112 
116  inline TestCaseRun& WithTestCaseDefinitionId(Aws::String&& value) { SetTestCaseDefinitionId(std::move(value)); return *this;}
117 
121  inline TestCaseRun& WithTestCaseDefinitionId(const char* value) { SetTestCaseDefinitionId(value); return *this;}
122 
123 
127  inline const Aws::String& GetTestCaseDefinitionName() const{ return m_testCaseDefinitionName; }
128 
132  inline bool TestCaseDefinitionNameHasBeenSet() const { return m_testCaseDefinitionNameHasBeenSet; }
133 
137  inline void SetTestCaseDefinitionName(const Aws::String& value) { m_testCaseDefinitionNameHasBeenSet = true; m_testCaseDefinitionName = value; }
138 
142  inline void SetTestCaseDefinitionName(Aws::String&& value) { m_testCaseDefinitionNameHasBeenSet = true; m_testCaseDefinitionName = std::move(value); }
143 
147  inline void SetTestCaseDefinitionName(const char* value) { m_testCaseDefinitionNameHasBeenSet = true; m_testCaseDefinitionName.assign(value); }
148 
152  inline TestCaseRun& WithTestCaseDefinitionName(const Aws::String& value) { SetTestCaseDefinitionName(value); return *this;}
153 
157  inline TestCaseRun& WithTestCaseDefinitionName(Aws::String&& value) { SetTestCaseDefinitionName(std::move(value)); return *this;}
158 
162  inline TestCaseRun& WithTestCaseDefinitionName(const char* value) { SetTestCaseDefinitionName(value); return *this;}
163 
164 
177  inline const Status& GetStatus() const{ return m_status; }
178 
191  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
192 
205  inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
206 
219  inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
220 
233  inline TestCaseRun& WithStatus(const Status& value) { SetStatus(value); return *this;}
234 
247  inline TestCaseRun& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
248 
249 
253  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
254 
258  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
259 
263  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
264 
268  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
269 
273  inline TestCaseRun& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
274 
278  inline TestCaseRun& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
279 
280 
284  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
285 
289  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
290 
294  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
295 
299  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
300 
304  inline TestCaseRun& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
305 
309  inline TestCaseRun& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
310 
311 
315  inline const Aws::String& GetLogUrl() const{ return m_logUrl; }
316 
320  inline bool LogUrlHasBeenSet() const { return m_logUrlHasBeenSet; }
321 
325  inline void SetLogUrl(const Aws::String& value) { m_logUrlHasBeenSet = true; m_logUrl = value; }
326 
330  inline void SetLogUrl(Aws::String&& value) { m_logUrlHasBeenSet = true; m_logUrl = std::move(value); }
331 
335  inline void SetLogUrl(const char* value) { m_logUrlHasBeenSet = true; m_logUrl.assign(value); }
336 
340  inline TestCaseRun& WithLogUrl(const Aws::String& value) { SetLogUrl(value); return *this;}
341 
345  inline TestCaseRun& WithLogUrl(Aws::String&& value) { SetLogUrl(std::move(value)); return *this;}
346 
350  inline TestCaseRun& WithLogUrl(const char* value) { SetLogUrl(value); return *this;}
351 
352 
356  inline const Aws::String& GetWarnings() const{ return m_warnings; }
357 
361  inline bool WarningsHasBeenSet() const { return m_warningsHasBeenSet; }
362 
366  inline void SetWarnings(const Aws::String& value) { m_warningsHasBeenSet = true; m_warnings = value; }
367 
371  inline void SetWarnings(Aws::String&& value) { m_warningsHasBeenSet = true; m_warnings = std::move(value); }
372 
376  inline void SetWarnings(const char* value) { m_warningsHasBeenSet = true; m_warnings.assign(value); }
377 
381  inline TestCaseRun& WithWarnings(const Aws::String& value) { SetWarnings(value); return *this;}
382 
386  inline TestCaseRun& WithWarnings(Aws::String&& value) { SetWarnings(std::move(value)); return *this;}
387 
391  inline TestCaseRun& WithWarnings(const char* value) { SetWarnings(value); return *this;}
392 
393 
397  inline const Aws::String& GetFailure() const{ return m_failure; }
398 
402  inline bool FailureHasBeenSet() const { return m_failureHasBeenSet; }
403 
407  inline void SetFailure(const Aws::String& value) { m_failureHasBeenSet = true; m_failure = value; }
408 
412  inline void SetFailure(Aws::String&& value) { m_failureHasBeenSet = true; m_failure = std::move(value); }
413 
417  inline void SetFailure(const char* value) { m_failureHasBeenSet = true; m_failure.assign(value); }
418 
422  inline TestCaseRun& WithFailure(const Aws::String& value) { SetFailure(value); return *this;}
423 
427  inline TestCaseRun& WithFailure(Aws::String&& value) { SetFailure(std::move(value)); return *this;}
428 
432  inline TestCaseRun& WithFailure(const char* value) { SetFailure(value); return *this;}
433 
434  private:
435 
436  Aws::String m_testCaseRunId;
437  bool m_testCaseRunIdHasBeenSet;
438 
439  Aws::String m_testCaseDefinitionId;
440  bool m_testCaseDefinitionIdHasBeenSet;
441 
442  Aws::String m_testCaseDefinitionName;
443  bool m_testCaseDefinitionNameHasBeenSet;
444 
445  Status m_status;
446  bool m_statusHasBeenSet;
447 
448  Aws::Utils::DateTime m_startTime;
449  bool m_startTimeHasBeenSet;
450 
451  Aws::Utils::DateTime m_endTime;
452  bool m_endTimeHasBeenSet;
453 
454  Aws::String m_logUrl;
455  bool m_logUrlHasBeenSet;
456 
457  Aws::String m_warnings;
458  bool m_warningsHasBeenSet;
459 
460  Aws::String m_failure;
461  bool m_failureHasBeenSet;
462  };
463 
464 } // namespace Model
465 } // namespace IoTDeviceAdvisor
466 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithFailure
TestCaseRun & WithFailure(Aws::String &&value)
Definition: TestCaseRun.h:427
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetWarnings
void SetWarnings(Aws::String &&value)
Definition: TestCaseRun.h:371
Aws::IoTDeviceAdvisor::Model::TestCaseRun::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: TestCaseRun.h:289
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetTestCaseDefinitionId
void SetTestCaseDefinitionId(Aws::String &&value)
Definition: TestCaseRun.h:101
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithTestCaseDefinitionName
TestCaseRun & WithTestCaseDefinitionName(Aws::String &&value)
Definition: TestCaseRun.h:157
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithWarnings
TestCaseRun & WithWarnings(const Aws::String &value)
Definition: TestCaseRun.h:381
Aws::IoTDeviceAdvisor::Model::TestCaseRun::GetFailure
const Aws::String & GetFailure() const
Definition: TestCaseRun.h:397
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithLogUrl
TestCaseRun & WithLogUrl(const Aws::String &value)
Definition: TestCaseRun.h:340
Aws::IoTDeviceAdvisor::Model::TestCaseRun::GetTestCaseRunId
const Aws::String & GetTestCaseRunId() const
Definition: TestCaseRun.h:45
Aws::IoTDeviceAdvisor::Model::TestCaseRun::GetTestCaseDefinitionName
const Aws::String & GetTestCaseDefinitionName() const
Definition: TestCaseRun.h:127
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithTestCaseRunId
TestCaseRun & WithTestCaseRunId(Aws::String &&value)
Definition: TestCaseRun.h:75
Aws::IoTDeviceAdvisor::Model::TestCaseRun::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: TestCaseRun.h:284
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithTestCaseRunId
TestCaseRun & WithTestCaseRunId(const Aws::String &value)
Definition: TestCaseRun.h:70
Aws::IoTDeviceAdvisor::Model::TestCaseRun::TestCaseDefinitionNameHasBeenSet
bool TestCaseDefinitionNameHasBeenSet() const
Definition: TestCaseRun.h:132
DateTime.h
Aws::IoTDeviceAdvisor::Model::TestCaseRun::GetWarnings
const Aws::String & GetWarnings() const
Definition: TestCaseRun.h:356
Aws::IoTDeviceAdvisor::Model::TestCaseRun::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: TestCaseRun.h:191
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetWarnings
void SetWarnings(const char *value)
Definition: TestCaseRun.h:376
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: TestCaseRun.h:268
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetTestCaseDefinitionName
void SetTestCaseDefinitionName(Aws::String &&value)
Definition: TestCaseRun.h:142
Aws::IoTDeviceAdvisor::Model::Status
Status
Definition: Status.h:17
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetTestCaseRunId
void SetTestCaseRunId(const char *value)
Definition: TestCaseRun.h:65
Aws::IoTDeviceAdvisor::Model::TestCaseRun::TestCaseRun
TestCaseRun()
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithStartTime
TestCaseRun & WithStartTime(Aws::Utils::DateTime &&value)
Definition: TestCaseRun.h:278
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetTestCaseDefinitionName
void SetTestCaseDefinitionName(const char *value)
Definition: TestCaseRun.h:147
AWS_IOTDEVICEADVISOR_API
#define AWS_IOTDEVICEADVISOR_API
Definition: IoTDeviceAdvisor_EXPORTS.h:28
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithFailure
TestCaseRun & WithFailure(const Aws::String &value)
Definition: TestCaseRun.h:422
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetTestCaseDefinitionId
void SetTestCaseDefinitionId(const Aws::String &value)
Definition: TestCaseRun.h:96
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithStartTime
TestCaseRun & WithStartTime(const Aws::Utils::DateTime &value)
Definition: TestCaseRun.h:273
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetLogUrl
void SetLogUrl(const char *value)
Definition: TestCaseRun.h:335
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetStatus
void SetStatus(Status &&value)
Definition: TestCaseRun.h:219
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: TestCaseRun.h:263
Aws::IoTDeviceAdvisor::Model::TestCaseRun::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: TestCaseRun.h:258
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetTestCaseDefinitionId
void SetTestCaseDefinitionId(const char *value)
Definition: TestCaseRun.h:106
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WarningsHasBeenSet
bool WarningsHasBeenSet() const
Definition: TestCaseRun.h:361
Aws::IoTDeviceAdvisor::Model::TestCaseRun::GetLogUrl
const Aws::String & GetLogUrl() const
Definition: TestCaseRun.h:315
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithStatus
TestCaseRun & WithStatus(const Status &value)
Definition: TestCaseRun.h:233
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithTestCaseRunId
TestCaseRun & WithTestCaseRunId(const char *value)
Definition: TestCaseRun.h:80
Aws::IoTDeviceAdvisor::Model::TestCaseRun::GetTestCaseDefinitionId
const Aws::String & GetTestCaseDefinitionId() const
Definition: TestCaseRun.h:86
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithStatus
TestCaseRun & WithStatus(Status &&value)
Definition: TestCaseRun.h:247
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithLogUrl
TestCaseRun & WithLogUrl(Aws::String &&value)
Definition: TestCaseRun.h:345
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetTestCaseRunId
void SetTestCaseRunId(const Aws::String &value)
Definition: TestCaseRun.h:55
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoTDeviceAdvisor::Model::TestCaseRun::GetStatus
const Status & GetStatus() const
Definition: TestCaseRun.h:177
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithTestCaseDefinitionName
TestCaseRun & WithTestCaseDefinitionName(const Aws::String &value)
Definition: TestCaseRun.h:152
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithTestCaseDefinitionId
TestCaseRun & WithTestCaseDefinitionId(Aws::String &&value)
Definition: TestCaseRun.h:116
Aws::IoTDeviceAdvisor::Model::TestCaseRun::TestCaseRunIdHasBeenSet
bool TestCaseRunIdHasBeenSet() const
Definition: TestCaseRun.h:50
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithFailure
TestCaseRun & WithFailure(const char *value)
Definition: TestCaseRun.h:432
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetTestCaseRunId
void SetTestCaseRunId(Aws::String &&value)
Definition: TestCaseRun.h:60
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithWarnings
TestCaseRun & WithWarnings(const char *value)
Definition: TestCaseRun.h:391
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithWarnings
TestCaseRun & WithWarnings(Aws::String &&value)
Definition: TestCaseRun.h:386
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: TestCaseRun.h:299
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetFailure
void SetFailure(const char *value)
Definition: TestCaseRun.h:417
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithTestCaseDefinitionId
TestCaseRun & WithTestCaseDefinitionId(const char *value)
Definition: TestCaseRun.h:121
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetFailure
void SetFailure(const Aws::String &value)
Definition: TestCaseRun.h:407
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetTestCaseDefinitionName
void SetTestCaseDefinitionName(const Aws::String &value)
Definition: TestCaseRun.h:137
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetLogUrl
void SetLogUrl(Aws::String &&value)
Definition: TestCaseRun.h:330
Aws::IoTDeviceAdvisor::Model::TestCaseRun::FailureHasBeenSet
bool FailureHasBeenSet() const
Definition: TestCaseRun.h:402
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Status.h
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetLogUrl
void SetLogUrl(const Aws::String &value)
Definition: TestCaseRun.h:325
Aws::IoTDeviceAdvisor::Model::TestCaseRun::TestCaseDefinitionIdHasBeenSet
bool TestCaseDefinitionIdHasBeenSet() const
Definition: TestCaseRun.h:91
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetWarnings
void SetWarnings(const Aws::String &value)
Definition: TestCaseRun.h:366
Aws::IoTDeviceAdvisor::Model::TestCaseRun::TestCaseRun
TestCaseRun(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetStatus
void SetStatus(const Status &value)
Definition: TestCaseRun.h:205
IoTDeviceAdvisor_EXPORTS.h
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithTestCaseDefinitionId
TestCaseRun & WithTestCaseDefinitionId(const Aws::String &value)
Definition: TestCaseRun.h:111
Aws::IoTDeviceAdvisor::Model::TestCaseRun::LogUrlHasBeenSet
bool LogUrlHasBeenSet() const
Definition: TestCaseRun.h:320
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: TestCaseRun.h:294
Aws::IoTDeviceAdvisor::Model::TestCaseRun::SetFailure
void SetFailure(Aws::String &&value)
Definition: TestCaseRun.h:412
Aws::IoTDeviceAdvisor::Model::TestCaseRun::operator=
TestCaseRun & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTDeviceAdvisor::Model::TestCaseRun::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: TestCaseRun.h:253
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithEndTime
TestCaseRun & WithEndTime(Aws::Utils::DateTime &&value)
Definition: TestCaseRun.h:309
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithLogUrl
TestCaseRun & WithLogUrl(const char *value)
Definition: TestCaseRun.h:350
Aws::IoTDeviceAdvisor::Model::TestCaseRun
Definition: TestCaseRun.h:34
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithEndTime
TestCaseRun & WithEndTime(const Aws::Utils::DateTime &value)
Definition: TestCaseRun.h:304
Aws::IoTDeviceAdvisor::Model::TestCaseRun::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTDeviceAdvisor::Model::TestCaseRun::WithTestCaseDefinitionName
TestCaseRun & WithTestCaseDefinitionName(const char *value)
Definition: TestCaseRun.h:162