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/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/evidently/model/ExperimentReportName.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CloudWatchEvidently
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLOUDWATCHEVIDENTLY_API ExperimentReport() = default;
37 AWS_CLOUDWATCHEVIDENTLY_API ExperimentReport(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDWATCHEVIDENTLY_API ExperimentReport& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetContent() const { return m_content; }
47 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
48 template<typename ContentT = Aws::String>
49 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
50 template<typename ContentT = Aws::String>
51 ExperimentReport& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
53
55
58 inline const Aws::String& GetMetricName() const { return m_metricName; }
59 inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
60 template<typename MetricNameT = Aws::String>
61 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet = true; m_metricName = std::forward<MetricNameT>(value); }
62 template<typename MetricNameT = Aws::String>
63 ExperimentReport& WithMetricName(MetricNameT&& value) { SetMetricName(std::forward<MetricNameT>(value)); return *this;}
65
67
70 inline ExperimentReportName GetReportName() const { return m_reportName; }
71 inline bool ReportNameHasBeenSet() const { return m_reportNameHasBeenSet; }
72 inline void SetReportName(ExperimentReportName value) { m_reportNameHasBeenSet = true; m_reportName = value; }
73 inline ExperimentReport& WithReportName(ExperimentReportName value) { SetReportName(value); return *this;}
75
77
80 inline const Aws::String& GetTreatmentName() const { return m_treatmentName; }
81 inline bool TreatmentNameHasBeenSet() const { return m_treatmentNameHasBeenSet; }
82 template<typename TreatmentNameT = Aws::String>
83 void SetTreatmentName(TreatmentNameT&& value) { m_treatmentNameHasBeenSet = true; m_treatmentName = std::forward<TreatmentNameT>(value); }
84 template<typename TreatmentNameT = Aws::String>
85 ExperimentReport& WithTreatmentName(TreatmentNameT&& value) { SetTreatmentName(std::forward<TreatmentNameT>(value)); return *this;}
87 private:
88
89 Aws::String m_content;
90 bool m_contentHasBeenSet = false;
91
92 Aws::String m_metricName;
93 bool m_metricNameHasBeenSet = false;
94
96 bool m_reportNameHasBeenSet = false;
97
98 Aws::String m_treatmentName;
99 bool m_treatmentNameHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace CloudWatchEvidently
104} // namespace Aws
ExperimentReport & WithTreatmentName(TreatmentNameT &&value)
ExperimentReport & WithMetricName(MetricNameT &&value)
AWS_CLOUDWATCHEVIDENTLY_API ExperimentReport(Aws::Utils::Json::JsonView jsonValue)
ExperimentReport & WithContent(ContentT &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHEVIDENTLY_API ExperimentReport & operator=(Aws::Utils::Json::JsonView jsonValue)
ExperimentReport & WithReportName(ExperimentReportName value)
void SetReportName(ExperimentReportName value)
AWS_CLOUDWATCHEVIDENTLY_API ExperimentReport()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue