/* * 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 PutProjectEvents operation. /// public partial class PutProjectEventsResponse : AmazonWebServiceResponse { private List _eventResults = new List(); private int? _failedEventCount; /// /// Gets and sets the property EventResults. /// /// A structure that contains Evidently's response to the sent events, including an event /// ID and error codes, if any. /// /// public List EventResults { get { return this._eventResults; } set { this._eventResults = value; } } // Check to see if EventResults property is set internal bool IsSetEventResults() { return this._eventResults != null && this._eventResults.Count > 0; } /// /// Gets and sets the property FailedEventCount. /// /// The number of events in the operation that could not be used by Evidently. /// /// public int FailedEventCount { get { return this._failedEventCount.GetValueOrDefault(); } set { this._failedEventCount = value; } } // Check to see if FailedEventCount property is set internal bool IsSetFailedEventCount() { return this._failedEventCount.HasValue; } } }