AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
49 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
50 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
51 inline ExperimentReport& WithContent(const Aws::String& value) { SetContent(value); return *this;}
52 inline ExperimentReport& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
53 inline ExperimentReport& WithContent(const char* value) { SetContent(value); return *this;}
55
57
60 inline const Aws::String& GetMetricName() const{ return m_metricName; }
61 inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
62 inline void SetMetricName(const Aws::String& value) { m_metricNameHasBeenSet = true; m_metricName = value; }
63 inline void SetMetricName(Aws::String&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); }
64 inline void SetMetricName(const char* value) { m_metricNameHasBeenSet = true; m_metricName.assign(value); }
65 inline ExperimentReport& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;}
66 inline ExperimentReport& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;}
67 inline ExperimentReport& WithMetricName(const char* value) { SetMetricName(value); return *this;}
69
71
74 inline const ExperimentReportName& GetReportName() const{ return m_reportName; }
75 inline bool ReportNameHasBeenSet() const { return m_reportNameHasBeenSet; }
76 inline void SetReportName(const ExperimentReportName& value) { m_reportNameHasBeenSet = true; m_reportName = value; }
77 inline void SetReportName(ExperimentReportName&& value) { m_reportNameHasBeenSet = true; m_reportName = std::move(value); }
78 inline ExperimentReport& WithReportName(const ExperimentReportName& value) { SetReportName(value); return *this;}
79 inline ExperimentReport& WithReportName(ExperimentReportName&& value) { SetReportName(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetTreatmentName() const{ return m_treatmentName; }
87 inline bool TreatmentNameHasBeenSet() const { return m_treatmentNameHasBeenSet; }
88 inline void SetTreatmentName(const Aws::String& value) { m_treatmentNameHasBeenSet = true; m_treatmentName = value; }
89 inline void SetTreatmentName(Aws::String&& value) { m_treatmentNameHasBeenSet = true; m_treatmentName = std::move(value); }
90 inline void SetTreatmentName(const char* value) { m_treatmentNameHasBeenSet = true; m_treatmentName.assign(value); }
91 inline ExperimentReport& WithTreatmentName(const Aws::String& value) { SetTreatmentName(value); return *this;}
92 inline ExperimentReport& WithTreatmentName(Aws::String&& value) { SetTreatmentName(std::move(value)); return *this;}
93 inline ExperimentReport& WithTreatmentName(const char* value) { SetTreatmentName(value); return *this;}
95 private:
96
97 Aws::String m_content;
98 bool m_contentHasBeenSet = false;
99
100 Aws::String m_metricName;
101 bool m_metricNameHasBeenSet = false;
102
103 ExperimentReportName m_reportName;
104 bool m_reportNameHasBeenSet = false;
105
106 Aws::String m_treatmentName;
107 bool m_treatmentNameHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace CloudWatchEvidently
112} // namespace Aws
ExperimentReport & WithMetricName(const Aws::String &value)
ExperimentReport & WithMetricName(Aws::String &&value)
ExperimentReport & WithContent(Aws::String &&value)
ExperimentReport & WithTreatmentName(const Aws::String &value)
ExperimentReport & WithContent(const Aws::String &value)
const ExperimentReportName & GetReportName() const
AWS_CLOUDWATCHEVIDENTLY_API ExperimentReport(Aws::Utils::Json::JsonView jsonValue)
ExperimentReport & WithContent(const char *value)
void SetReportName(ExperimentReportName &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHEVIDENTLY_API ExperimentReport & operator=(Aws::Utils::Json::JsonView jsonValue)
ExperimentReport & WithTreatmentName(const char *value)
void SetReportName(const ExperimentReportName &value)
AWS_CLOUDWATCHEVIDENTLY_API ExperimentReport()
ExperimentReport & WithMetricName(const char *value)
ExperimentReport & WithTreatmentName(Aws::String &&value)
ExperimentReport & WithReportName(const ExperimentReportName &value)
ExperimentReport & WithReportName(ExperimentReportName &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue