/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the evidently-2021-02-01.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudWatchEvidently.Model { /// /// This is the response object from the GetExperimentResults operation. /// public partial class GetExperimentResultsResponse : AmazonWebServiceResponse { private string _details; private List _reports = new List(); private List _resultsData = new List(); private List _timestamps = new List(); /// /// Gets and sets the property 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. /// /// public string Details { get { return this._details; } set { this._details = value; } } // Check to see if Details property is set internal bool IsSetDetails() { return this._details != null; } /// /// Gets and sets the property Reports. /// /// An array of structures that include the reports that you requested. /// /// [AWSProperty(Min=0, Max=1000)] public List Reports { get { return this._reports; } set { this._reports = value; } } // Check to see if Reports property is set internal bool IsSetReports() { return this._reports != null && this._reports.Count > 0; } /// /// Gets and sets the property ResultsData. /// /// An array of structures that include experiment results including metric names and /// values. /// /// [AWSProperty(Min=0, Max=1000)] public List ResultsData { get { return this._resultsData; } set { this._resultsData = value; } } // Check to see if ResultsData property is set internal bool IsSetResultsData() { return this._resultsData != null && this._resultsData.Count > 0; } /// /// Gets and sets the property Timestamps. /// /// The timestamps of each result returned. /// /// [AWSProperty(Min=0, Max=100800)] public List Timestamps { get { return this._timestamps; } set { this._timestamps = value; } } // Check to see if Timestamps property is set internal bool IsSetTimestamps() { return this._timestamps != null && this._timestamps.Count > 0; } } }