AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
RunInsights.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/model/JobReport.h>
9#include <aws/devicefarm/model/ReportStatus.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 RunInsights() = default;
33 AWS_DEVICEFARM_API RunInsights(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DEVICEFARM_API RunInsights& 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 JobReport& GetJobReport() const { return m_jobReport; }
58 inline bool JobReportHasBeenSet() const { return m_jobReportHasBeenSet; }
59 template <typename JobReportT = JobReport>
60 void SetJobReport(JobReportT&& value) {
61 m_jobReportHasBeenSet = true;
62 m_jobReport = std::forward<JobReportT>(value);
63 }
64 template <typename JobReportT = JobReport>
65 RunInsights& WithJobReport(JobReportT&& value) {
66 SetJobReport(std::forward<JobReportT>(value));
67 return *this;
68 }
70 private:
72
73 JobReport m_jobReport;
74 bool m_statusHasBeenSet = false;
75 bool m_jobReportHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace DeviceFarm
80} // namespace Aws
AWS_DEVICEFARM_API RunInsights(Aws::Utils::Json::JsonView jsonValue)
RunInsights & WithStatus(ReportStatus value)
Definition RunInsights.h:47
const JobReport & GetJobReport() const
Definition RunInsights.h:57
RunInsights & WithJobReport(JobReportT &&value)
Definition RunInsights.h:65
void SetJobReport(JobReportT &&value)
Definition RunInsights.h:60
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVICEFARM_API RunInsights()=default
AWS_DEVICEFARM_API RunInsights & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ReportStatus value)
Definition RunInsights.h:43
Aws::Utils::Json::JsonValue JsonValue