AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ExperimentReport.h
1
6#pragma once
7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/fis/model/ExperimentReportState.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/fis/model/ExperimentReportS3Report.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FIS
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_FIS_API ExperimentReport() = default;
40
41
43
46 inline const ExperimentReportState& GetState() const { return m_state; }
47 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
48 template<typename StateT = ExperimentReportState>
49 void SetState(StateT&& value) { m_stateHasBeenSet = true; m_state = std::forward<StateT>(value); }
50 template<typename StateT = ExperimentReportState>
51 ExperimentReport& WithState(StateT&& value) { SetState(std::forward<StateT>(value)); return *this;}
53
55
58 inline const Aws::Vector<ExperimentReportS3Report>& GetS3Reports() const { return m_s3Reports; }
59 inline bool S3ReportsHasBeenSet() const { return m_s3ReportsHasBeenSet; }
60 template<typename S3ReportsT = Aws::Vector<ExperimentReportS3Report>>
61 void SetS3Reports(S3ReportsT&& value) { m_s3ReportsHasBeenSet = true; m_s3Reports = std::forward<S3ReportsT>(value); }
62 template<typename S3ReportsT = Aws::Vector<ExperimentReportS3Report>>
63 ExperimentReport& WithS3Reports(S3ReportsT&& value) { SetS3Reports(std::forward<S3ReportsT>(value)); return *this;}
64 template<typename S3ReportsT = ExperimentReportS3Report>
65 ExperimentReport& AddS3Reports(S3ReportsT&& value) { m_s3ReportsHasBeenSet = true; m_s3Reports.emplace_back(std::forward<S3ReportsT>(value)); return *this; }
67 private:
68
70 bool m_stateHasBeenSet = false;
71
73 bool m_s3ReportsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace FIS
78} // namespace Aws
AWS_FIS_API ExperimentReport(Aws::Utils::Json::JsonView jsonValue)
AWS_FIS_API ExperimentReport & operator=(Aws::Utils::Json::JsonView jsonValue)
const ExperimentReportState & GetState() const
const Aws::Vector< ExperimentReportS3Report > & GetS3Reports() const
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
ExperimentReport & WithS3Reports(S3ReportsT &&value)
void SetS3Reports(S3ReportsT &&value)
ExperimentReport & AddS3Reports(S3ReportsT &&value)
ExperimentReport & WithState(StateT &&value)
AWS_FIS_API ExperimentReport()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue