7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codebuild/model/ReportType.h>
10#include <aws/codebuild/model/ReportStatusType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/codebuild/model/ReportExportConfig.h>
13#include <aws/codebuild/model/TestReportSummary.h>
14#include <aws/codebuild/model/CodeCoverageReportSummary.h>
44 AWS_CODEBUILD_API
Report() =
default;
56 template<
typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
58 template<
typename ArnT = Aws::String>
80 template<
typename NameT = Aws::String>
81 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
82 template<
typename NameT = Aws::String>
92 template<
typename ReportGroupArnT = Aws::String>
93 void SetReportGroupArn(ReportGroupArnT&& value) { m_reportGroupArnHasBeenSet =
true; m_reportGroupArn = std::forward<ReportGroupArnT>(value); }
94 template<
typename ReportGroupArnT = Aws::String>
104 template<
typename ExecutionIdT = Aws::String>
105 void SetExecutionId(ExecutionIdT&& value) { m_executionIdHasBeenSet =
true; m_executionId = std::forward<ExecutionIdT>(value); }
106 template<
typename ExecutionIdT = Aws::String>
126 template<
typename CreatedT = Aws::Utils::DateTime>
127 void SetCreated(CreatedT&& value) { m_createdHasBeenSet =
true; m_created = std::forward<CreatedT>(value); }
128 template<
typename CreatedT = Aws::Utils::DateTime>
139 template<
typename ExpiredT = Aws::Utils::DateTime>
140 void SetExpired(ExpiredT&& value) { m_expiredHasBeenSet =
true; m_expired = std::forward<ExpiredT>(value); }
141 template<
typename ExpiredT = Aws::Utils::DateTime>
152 template<
typename ExportConfigT = ReportExportConfig>
153 void SetExportConfig(ExportConfigT&& value) { m_exportConfigHasBeenSet =
true; m_exportConfig = std::forward<ExportConfigT>(value); }
154 template<
typename ExportConfigT = ReportExportConfig>
165 inline void SetTruncated(
bool value) { m_truncatedHasBeenSet =
true; m_truncated = value; }
176 template<
typename TestSummaryT = TestReportSummary>
177 void SetTestSummary(TestSummaryT&& value) { m_testSummaryHasBeenSet =
true; m_testSummary = std::forward<TestSummaryT>(value); }
178 template<
typename TestSummaryT = TestReportSummary>
189 template<
typename CodeCoverageSummaryT = CodeCoverageReportSummary>
190 void SetCodeCoverageSummary(CodeCoverageSummaryT&& value) { m_codeCoverageSummaryHasBeenSet =
true; m_codeCoverageSummary = std::forward<CodeCoverageSummaryT>(value); }
191 template<
typename CodeCoverageSummaryT = CodeCoverageReportSummary>
197 bool m_arnHasBeenSet =
false;
200 bool m_typeHasBeenSet =
false;
203 bool m_nameHasBeenSet =
false;
206 bool m_reportGroupArnHasBeenSet =
false;
209 bool m_executionIdHasBeenSet =
false;
212 bool m_statusHasBeenSet =
false;
215 bool m_createdHasBeenSet =
false;
218 bool m_expiredHasBeenSet =
false;
220 ReportExportConfig m_exportConfig;
221 bool m_exportConfigHasBeenSet =
false;
223 bool m_truncated{
false};
224 bool m_truncatedHasBeenSet =
false;
226 TestReportSummary m_testSummary;
227 bool m_testSummaryHasBeenSet =
false;
229 CodeCoverageReportSummary m_codeCoverageSummary;
230 bool m_codeCoverageSummaryHasBeenSet =
false;
const ReportExportConfig & GetExportConfig() const
bool ArnHasBeenSet() const
void SetExecutionId(ExecutionIdT &&value)
bool ExpiredHasBeenSet() const
AWS_CODEBUILD_API Report(Aws::Utils::Json::JsonView jsonValue)
Report & WithTruncated(bool value)
void SetCodeCoverageSummary(CodeCoverageSummaryT &&value)
const Aws::String & GetName() const
bool TruncatedHasBeenSet() const
Report & WithExpired(ExpiredT &&value)
void SetExpired(ExpiredT &&value)
const Aws::String & GetArn() const
void SetReportGroupArn(ReportGroupArnT &&value)
Report & WithStatus(ReportStatusType value)
Report & WithReportGroupArn(ReportGroupArnT &&value)
const CodeCoverageReportSummary & GetCodeCoverageSummary() const
AWS_CODEBUILD_API Report()=default
Report & WithCodeCoverageSummary(CodeCoverageSummaryT &&value)
bool GetTruncated() const
Report & WithExecutionId(ExecutionIdT &&value)
Report & WithType(ReportType value)
Report & WithExportConfig(ExportConfigT &&value)
const TestReportSummary & GetTestSummary() const
const Aws::Utils::DateTime & GetExpired() const
bool ExportConfigHasBeenSet() const
const Aws::Utils::DateTime & GetCreated() const
void SetArn(ArnT &&value)
void SetType(ReportType value)
bool TestSummaryHasBeenSet() const
void SetExportConfig(ExportConfigT &&value)
bool ReportGroupArnHasBeenSet() const
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreatedHasBeenSet() const
Report & WithTestSummary(TestSummaryT &&value)
void SetCreated(CreatedT &&value)
bool NameHasBeenSet() const
Report & WithCreated(CreatedT &&value)
ReportStatusType GetStatus() const
ReportType GetType() const
void SetStatus(ReportStatusType value)
const Aws::String & GetExecutionId() const
void SetTestSummary(TestSummaryT &&value)
bool ExecutionIdHasBeenSet() const
bool StatusHasBeenSet() const
Report & WithName(NameT &&value)
AWS_CODEBUILD_API Report & operator=(Aws::Utils::Json::JsonView jsonValue)
Report & WithArn(ArnT &&value)
bool TypeHasBeenSet() const
bool CodeCoverageSummaryHasBeenSet() const
void SetTruncated(bool value)
void SetName(NameT &&value)
const Aws::String & GetReportGroupArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue