7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/model/ProblemDetail.h>
9#include <aws/devicefarm/model/Device.h>
10#include <aws/devicefarm/model/ExecutionResult.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename RunT = ProblemDetail>
50 void SetRun(RunT&& value) { m_runHasBeenSet =
true; m_run = std::forward<RunT>(value); }
51 template<
typename RunT = ProblemDetail>
61 template<
typename JobT = ProblemDetail>
62 void SetJob(JobT&& value) { m_jobHasBeenSet =
true; m_job = std::forward<JobT>(value); }
63 template<
typename JobT = ProblemDetail>
73 template<
typename SuiteT = ProblemDetail>
74 void SetSuite(SuiteT&& value) { m_suiteHasBeenSet =
true; m_suite = std::forward<SuiteT>(value); }
75 template<
typename SuiteT = ProblemDetail>
85 template<
typename TestT = ProblemDetail>
86 void SetTest(TestT&& value) { m_testHasBeenSet =
true; m_test = std::forward<TestT>(value); }
87 template<
typename TestT = ProblemDetail>
97 template<
typename DeviceT = Device>
98 void SetDevice(DeviceT&& value) { m_deviceHasBeenSet =
true; m_device = std::forward<DeviceT>(value); }
99 template<
typename DeviceT = Device>
122 template<
typename MessageT = Aws::String>
123 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
124 template<
typename MessageT = Aws::String>
130 bool m_runHasBeenSet =
false;
133 bool m_jobHasBeenSet =
false;
136 bool m_suiteHasBeenSet =
false;
139 bool m_testHasBeenSet =
false;
142 bool m_deviceHasBeenSet =
false;
145 bool m_resultHasBeenSet =
false;
148 bool m_messageHasBeenSet =
false;
bool SuiteHasBeenSet() const
const Device & GetDevice() const
const ProblemDetail & GetTest() const
Problem & WithResult(ExecutionResult value)
const Aws::String & GetMessage() const
Problem & WithSuite(SuiteT &&value)
AWS_DEVICEFARM_API Problem & operator=(Aws::Utils::Json::JsonView jsonValue)
const ProblemDetail & GetSuite() const
bool TestHasBeenSet() const
void SetMessage(MessageT &&value)
void SetJob(JobT &&value)
Problem & WithTest(TestT &&value)
void SetSuite(SuiteT &&value)
Problem & WithDevice(DeviceT &&value)
AWS_DEVICEFARM_API Problem()=default
bool RunHasBeenSet() const
void SetRun(RunT &&value)
void SetTest(TestT &&value)
Problem & WithJob(JobT &&value)
Problem & WithMessage(MessageT &&value)
const ProblemDetail & GetRun() const
void SetResult(ExecutionResult value)
bool MessageHasBeenSet() const
void SetDevice(DeviceT &&value)
bool ResultHasBeenSet() const
Problem & WithRun(RunT &&value)
bool DeviceHasBeenSet() const
ExecutionResult GetResult() const
const ProblemDetail & GetJob() const
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVICEFARM_API Problem(Aws::Utils::Json::JsonView jsonValue)
bool JobHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue