/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CloudWatchEvidently { namespace Model { /** *

A structure that contains results of an experiment.

See Also:

* AWS * API Reference

*/ class ExperimentReport { public: AWS_CLOUDWATCHEVIDENTLY_API ExperimentReport(); AWS_CLOUDWATCHEVIDENTLY_API ExperimentReport(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDWATCHEVIDENTLY_API ExperimentReport& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The content of the report.

*/ inline const Aws::String& GetContent() const{ return m_content; } /** *

The content of the report.

*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *

The content of the report.

*/ inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; } /** *

The content of the report.

*/ inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *

The content of the report.

*/ inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); } /** *

The content of the report.

*/ inline ExperimentReport& WithContent(const Aws::String& value) { SetContent(value); return *this;} /** *

The content of the report.

*/ inline ExperimentReport& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} /** *

The content of the report.

*/ inline ExperimentReport& WithContent(const char* value) { SetContent(value); return *this;} /** *

The name of the metric that is analyzed in this experiment report.

*/ inline const Aws::String& GetMetricName() const{ return m_metricName; } /** *

The name of the metric that is analyzed in this experiment report.

*/ inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; } /** *

The name of the metric that is analyzed in this experiment report.

*/ inline void SetMetricName(const Aws::String& value) { m_metricNameHasBeenSet = true; m_metricName = value; } /** *

The name of the metric that is analyzed in this experiment report.

*/ inline void SetMetricName(Aws::String&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); } /** *

The name of the metric that is analyzed in this experiment report.

*/ inline void SetMetricName(const char* value) { m_metricNameHasBeenSet = true; m_metricName.assign(value); } /** *

The name of the metric that is analyzed in this experiment report.

*/ inline ExperimentReport& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;} /** *

The name of the metric that is analyzed in this experiment report.

*/ inline ExperimentReport& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;} /** *

The name of the metric that is analyzed in this experiment report.

*/ inline ExperimentReport& WithMetricName(const char* value) { SetMetricName(value); return *this;} /** *

The type of analysis used for this report.

*/ inline const ExperimentReportName& GetReportName() const{ return m_reportName; } /** *

The type of analysis used for this report.

*/ inline bool ReportNameHasBeenSet() const { return m_reportNameHasBeenSet; } /** *

The type of analysis used for this report.

*/ inline void SetReportName(const ExperimentReportName& value) { m_reportNameHasBeenSet = true; m_reportName = value; } /** *

The type of analysis used for this report.

*/ inline void SetReportName(ExperimentReportName&& value) { m_reportNameHasBeenSet = true; m_reportName = std::move(value); } /** *

The type of analysis used for this report.

*/ inline ExperimentReport& WithReportName(const ExperimentReportName& value) { SetReportName(value); return *this;} /** *

The type of analysis used for this report.

*/ inline ExperimentReport& WithReportName(ExperimentReportName&& value) { SetReportName(std::move(value)); return *this;} /** *

The name of the variation that this report pertains to.

*/ inline const Aws::String& GetTreatmentName() const{ return m_treatmentName; } /** *

The name of the variation that this report pertains to.

*/ inline bool TreatmentNameHasBeenSet() const { return m_treatmentNameHasBeenSet; } /** *

The name of the variation that this report pertains to.

*/ inline void SetTreatmentName(const Aws::String& value) { m_treatmentNameHasBeenSet = true; m_treatmentName = value; } /** *

The name of the variation that this report pertains to.

*/ inline void SetTreatmentName(Aws::String&& value) { m_treatmentNameHasBeenSet = true; m_treatmentName = std::move(value); } /** *

The name of the variation that this report pertains to.

*/ inline void SetTreatmentName(const char* value) { m_treatmentNameHasBeenSet = true; m_treatmentName.assign(value); } /** *

The name of the variation that this report pertains to.

*/ inline ExperimentReport& WithTreatmentName(const Aws::String& value) { SetTreatmentName(value); return *this;} /** *

The name of the variation that this report pertains to.

*/ inline ExperimentReport& WithTreatmentName(Aws::String&& value) { SetTreatmentName(std::move(value)); return *this;} /** *

The name of the variation that this report pertains to.

*/ inline ExperimentReport& WithTreatmentName(const char* value) { SetTreatmentName(value); return *this;} private: Aws::String m_content; bool m_contentHasBeenSet = false; Aws::String m_metricName; bool m_metricNameHasBeenSet = false; ExperimentReportName m_reportName; bool m_reportNameHasBeenSet = false; Aws::String m_treatmentName; bool m_treatmentNameHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchEvidently } // namespace Aws