/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CloudWatchEvidently { namespace Model { class GetExperimentResultsResult { public: AWS_CLOUDWATCHEVIDENTLY_API GetExperimentResultsResult(); AWS_CLOUDWATCHEVIDENTLY_API GetExperimentResultsResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDWATCHEVIDENTLY_API GetExperimentResultsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

If the experiment doesn't yet have enough events to provide valid results, * this field is returned with the message Not enough events to generate * results. If there are enough events to provide valid results, this field * is not returned.

*/ inline const Aws::String& GetDetails() const{ return m_details; } /** *

If the experiment doesn't yet have enough events to provide valid results, * this field is returned with the message Not enough events to generate * results. If there are enough events to provide valid results, this field * is not returned.

*/ inline void SetDetails(const Aws::String& value) { m_details = value; } /** *

If the experiment doesn't yet have enough events to provide valid results, * this field is returned with the message Not enough events to generate * results. If there are enough events to provide valid results, this field * is not returned.

*/ inline void SetDetails(Aws::String&& value) { m_details = std::move(value); } /** *

If the experiment doesn't yet have enough events to provide valid results, * this field is returned with the message Not enough events to generate * results. If there are enough events to provide valid results, this field * is not returned.

*/ inline void SetDetails(const char* value) { m_details.assign(value); } /** *

If the experiment doesn't yet have enough events to provide valid results, * this field is returned with the message Not enough events to generate * results. If there are enough events to provide valid results, this field * is not returned.

*/ inline GetExperimentResultsResult& WithDetails(const Aws::String& value) { SetDetails(value); return *this;} /** *

If the experiment doesn't yet have enough events to provide valid results, * this field is returned with the message Not enough events to generate * results. If there are enough events to provide valid results, this field * is not returned.

*/ inline GetExperimentResultsResult& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;} /** *

If the experiment doesn't yet have enough events to provide valid results, * this field is returned with the message Not enough events to generate * results. If there are enough events to provide valid results, this field * is not returned.

*/ inline GetExperimentResultsResult& WithDetails(const char* value) { SetDetails(value); return *this;} /** *

An array of structures that include the reports that you requested.

*/ inline const Aws::Vector& GetReports() const{ return m_reports; } /** *

An array of structures that include the reports that you requested.

*/ inline void SetReports(const Aws::Vector& value) { m_reports = value; } /** *

An array of structures that include the reports that you requested.

*/ inline void SetReports(Aws::Vector&& value) { m_reports = std::move(value); } /** *

An array of structures that include the reports that you requested.

*/ inline GetExperimentResultsResult& WithReports(const Aws::Vector& value) { SetReports(value); return *this;} /** *

An array of structures that include the reports that you requested.

*/ inline GetExperimentResultsResult& WithReports(Aws::Vector&& value) { SetReports(std::move(value)); return *this;} /** *

An array of structures that include the reports that you requested.

*/ inline GetExperimentResultsResult& AddReports(const ExperimentReport& value) { m_reports.push_back(value); return *this; } /** *

An array of structures that include the reports that you requested.

*/ inline GetExperimentResultsResult& AddReports(ExperimentReport&& value) { m_reports.push_back(std::move(value)); return *this; } /** *

An array of structures that include experiment results including metric names * and values.

*/ inline const Aws::Vector& GetResultsData() const{ return m_resultsData; } /** *

An array of structures that include experiment results including metric names * and values.

*/ inline void SetResultsData(const Aws::Vector& value) { m_resultsData = value; } /** *

An array of structures that include experiment results including metric names * and values.

*/ inline void SetResultsData(Aws::Vector&& value) { m_resultsData = std::move(value); } /** *

An array of structures that include experiment results including metric names * and values.

*/ inline GetExperimentResultsResult& WithResultsData(const Aws::Vector& value) { SetResultsData(value); return *this;} /** *

An array of structures that include experiment results including metric names * and values.

*/ inline GetExperimentResultsResult& WithResultsData(Aws::Vector&& value) { SetResultsData(std::move(value)); return *this;} /** *

An array of structures that include experiment results including metric names * and values.

*/ inline GetExperimentResultsResult& AddResultsData(const ExperimentResultsData& value) { m_resultsData.push_back(value); return *this; } /** *

An array of structures that include experiment results including metric names * and values.

*/ inline GetExperimentResultsResult& AddResultsData(ExperimentResultsData&& value) { m_resultsData.push_back(std::move(value)); return *this; } /** *

The timestamps of each result returned.

*/ inline const Aws::Vector& GetTimestamps() const{ return m_timestamps; } /** *

The timestamps of each result returned.

*/ inline void SetTimestamps(const Aws::Vector& value) { m_timestamps = value; } /** *

The timestamps of each result returned.

*/ inline void SetTimestamps(Aws::Vector&& value) { m_timestamps = std::move(value); } /** *

The timestamps of each result returned.

*/ inline GetExperimentResultsResult& WithTimestamps(const Aws::Vector& value) { SetTimestamps(value); return *this;} /** *

The timestamps of each result returned.

*/ inline GetExperimentResultsResult& WithTimestamps(Aws::Vector&& value) { SetTimestamps(std::move(value)); return *this;} /** *

The timestamps of each result returned.

*/ inline GetExperimentResultsResult& AddTimestamps(const Aws::Utils::DateTime& value) { m_timestamps.push_back(value); return *this; } /** *

The timestamps of each result returned.

*/ inline GetExperimentResultsResult& AddTimestamps(Aws::Utils::DateTime&& value) { m_timestamps.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetExperimentResultsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetExperimentResultsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetExperimentResultsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_details; Aws::Vector m_reports; Aws::Vector m_resultsData; Aws::Vector m_timestamps; Aws::String m_requestId; }; } // namespace Model } // namespace CloudWatchEvidently } // namespace Aws