7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotdeviceadvisor/IoTDeviceAdvisor_EXPORTS.h>
11#include <aws/iotdeviceadvisor/model/Status.h>
12#include <aws/iotdeviceadvisor/model/TestCaseScenario.h>
23namespace IoTDeviceAdvisor {
44 template <
typename TestCaseRunIdT = Aws::String>
46 m_testCaseRunIdHasBeenSet =
true;
47 m_testCaseRunId = std::forward<TestCaseRunIdT>(value);
49 template <
typename TestCaseRunIdT = Aws::String>
62 template <
typename TestCaseDefinitionIdT = Aws::String>
64 m_testCaseDefinitionIdHasBeenSet =
true;
65 m_testCaseDefinitionId = std::forward<TestCaseDefinitionIdT>(value);
67 template <
typename TestCaseDefinitionIdT = Aws::String>
80 template <
typename TestCaseDefinitionNameT = Aws::String>
82 m_testCaseDefinitionNameHasBeenSet =
true;
83 m_testCaseDefinitionName = std::forward<TestCaseDefinitionNameT>(value);
85 template <
typename TestCaseDefinitionNameT = Aws::String>
108 m_statusHasBeenSet =
true;
123 template <
typename StartTimeT = Aws::Utils::DateTime>
125 m_startTimeHasBeenSet =
true;
126 m_startTime = std::forward<StartTimeT>(value);
128 template <
typename StartTimeT = Aws::Utils::DateTime>
141 template <
typename EndTimeT = Aws::Utils::DateTime>
143 m_endTimeHasBeenSet =
true;
144 m_endTime = std::forward<EndTimeT>(value);
146 template <
typename EndTimeT = Aws::Utils::DateTime>
159 template <
typename LogUrlT = Aws::String>
161 m_logUrlHasBeenSet =
true;
162 m_logUrl = std::forward<LogUrlT>(value);
164 template <
typename LogUrlT = Aws::String>
177 template <
typename WarningsT = Aws::String>
179 m_warningsHasBeenSet =
true;
180 m_warnings = std::forward<WarningsT>(value);
182 template <
typename WarningsT = Aws::String>
195 template <
typename FailureT = Aws::String>
197 m_failureHasBeenSet =
true;
198 m_failure = std::forward<FailureT>(value);
200 template <
typename FailureT = Aws::String>
213 template <
typename TestScenariosT = Aws::Vector<TestCaseScenario>>
215 m_testScenariosHasBeenSet =
true;
216 m_testScenarios = std::forward<TestScenariosT>(value);
218 template <
typename TestScenariosT = Aws::Vector<TestCaseScenario>>
223 template <
typename TestScenariosT = TestCaseScenario>
225 m_testScenariosHasBeenSet =
true;
226 m_testScenarios.emplace_back(std::forward<TestScenariosT>(value));
250 bool m_testCaseRunIdHasBeenSet =
false;
251 bool m_testCaseDefinitionIdHasBeenSet =
false;
252 bool m_testCaseDefinitionNameHasBeenSet =
false;
253 bool m_statusHasBeenSet =
false;
254 bool m_startTimeHasBeenSet =
false;
255 bool m_endTimeHasBeenSet =
false;
256 bool m_logUrlHasBeenSet =
false;
257 bool m_warningsHasBeenSet =
false;
258 bool m_failureHasBeenSet =
false;
259 bool m_testScenariosHasBeenSet =
false;
const Aws::Utils::DateTime & GetEndTime() const
void SetTestCaseRunId(TestCaseRunIdT &&value)
void SetLogUrl(LogUrlT &&value)
const Aws::String & GetTestCaseRunId() const
TestCaseRun & WithEndTime(EndTimeT &&value)
bool EndTimeHasBeenSet() const
TestCaseRun & WithLogUrl(LogUrlT &&value)
void SetFailure(FailureT &&value)
bool StatusHasBeenSet() const
TestCaseRun & WithTestCaseRunId(TestCaseRunIdT &&value)
TestCaseRun & WithStartTime(StartTimeT &&value)
void SetStatus(Status value)
TestCaseRun & WithWarnings(WarningsT &&value)
TestCaseRun & WithFailure(FailureT &&value)
void SetTestScenarios(TestScenariosT &&value)
const Aws::String & GetLogUrl() const
void SetWarnings(WarningsT &&value)
const Aws::String & GetWarnings() const
TestCaseRun & WithTestCaseDefinitionName(TestCaseDefinitionNameT &&value)
void SetTestCaseDefinitionId(TestCaseDefinitionIdT &&value)
bool TestCaseDefinitionIdHasBeenSet() const
bool LogUrlHasBeenSet() const
bool TestCaseRunIdHasBeenSet() const
const Aws::String & GetTestCaseDefinitionName() const
void SetEndTime(EndTimeT &&value)
const Aws::String & GetFailure() const
bool TestCaseDefinitionNameHasBeenSet() const
void SetStartTime(StartTimeT &&value)
AWS_IOTDEVICEADVISOR_API TestCaseRun()=default
const Aws::Utils::DateTime & GetStartTime() const
void SetTestCaseDefinitionName(TestCaseDefinitionNameT &&value)
bool FailureHasBeenSet() const
const Aws::String & GetTestCaseDefinitionId() const
TestCaseRun & WithStatus(Status value)
TestCaseRun & WithTestCaseDefinitionId(TestCaseDefinitionIdT &&value)
AWS_IOTDEVICEADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const
bool WarningsHasBeenSet() const
const Aws::Vector< TestCaseScenario > & GetTestScenarios() const
TestCaseRun & AddTestScenarios(TestScenariosT &&value)
TestCaseRun & WithTestScenarios(TestScenariosT &&value)
AWS_IOTDEVICEADVISOR_API TestCaseRun(Aws::Utils::Json::JsonView jsonValue)
bool TestScenariosHasBeenSet() const
AWS_IOTDEVICEADVISOR_API TestCaseRun & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StartTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue