AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
JobInsights.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/model/ReportStatus.h>
9#include <aws/devicefarm/model/TestReport.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DeviceFarm {
21namespace Model {
22
31 public:
32 AWS_DEVICEFARM_API JobInsights() = default;
33 AWS_DEVICEFARM_API JobInsights(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DEVICEFARM_API JobInsights& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline ReportStatus GetStatus() const { return m_status; }
42 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
43 inline void SetStatus(ReportStatus value) {
44 m_statusHasBeenSet = true;
45 m_status = value;
46 }
48 SetStatus(value);
49 return *this;
50 }
52
54
57 inline const TestReport& GetTestReport() const { return m_testReport; }
58 inline bool TestReportHasBeenSet() const { return m_testReportHasBeenSet; }
59 template <typename TestReportT = TestReport>
60 void SetTestReport(TestReportT&& value) {
61 m_testReportHasBeenSet = true;
62 m_testReport = std::forward<TestReportT>(value);
63 }
64 template <typename TestReportT = TestReport>
65 JobInsights& WithTestReport(TestReportT&& value) {
66 SetTestReport(std::forward<TestReportT>(value));
67 return *this;
68 }
70 private:
72
73 TestReport m_testReport;
74 bool m_statusHasBeenSet = false;
75 bool m_testReportHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace DeviceFarm
80} // namespace Aws
JobInsights & WithStatus(ReportStatus value)
Definition JobInsights.h:47
AWS_DEVICEFARM_API JobInsights & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ReportStatus value)
Definition JobInsights.h:43
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVICEFARM_API JobInsights(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVICEFARM_API JobInsights()=default
void SetTestReport(TestReportT &&value)
Definition JobInsights.h:60
JobInsights & WithTestReport(TestReportT &&value)
Definition JobInsights.h:65
const TestReport & GetTestReport() const
Definition JobInsights.h:57
Aws::Utils::Json::JsonValue JsonValue