AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ExperimentReport.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/fis/FIS_EXPORTS.h>
9#include <aws/fis/model/ExperimentReportS3Report.h>
10#include <aws/fis/model/ExperimentReportState.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FIS {
22namespace Model {
23
30 public:
31 AWS_FIS_API ExperimentReport() = default;
35
37
40 inline const ExperimentReportState& GetState() const { return m_state; }
41 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
42 template <typename StateT = ExperimentReportState>
43 void SetState(StateT&& value) {
44 m_stateHasBeenSet = true;
45 m_state = std::forward<StateT>(value);
46 }
47 template <typename StateT = ExperimentReportState>
48 ExperimentReport& WithState(StateT&& value) {
49 SetState(std::forward<StateT>(value));
50 return *this;
51 }
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) {
62 m_s3ReportsHasBeenSet = true;
63 m_s3Reports = std::forward<S3ReportsT>(value);
64 }
65 template <typename S3ReportsT = Aws::Vector<ExperimentReportS3Report>>
66 ExperimentReport& WithS3Reports(S3ReportsT&& value) {
67 SetS3Reports(std::forward<S3ReportsT>(value));
68 return *this;
69 }
70 template <typename S3ReportsT = ExperimentReportS3Report>
71 ExperimentReport& AddS3Reports(S3ReportsT&& value) {
72 m_s3ReportsHasBeenSet = true;
73 m_s3Reports.emplace_back(std::forward<S3ReportsT>(value));
74 return *this;
75 }
77 private:
79
81 bool m_stateHasBeenSet = false;
82 bool m_s3ReportsHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace FIS
87} // 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