/*
* 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 xray-2016-04-12.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.XRay.Model
{
///
/// This is the response object from the GetSamplingTargets operation.
///
public partial class GetSamplingTargetsResponse : AmazonWebServiceResponse
{
private DateTime? _lastRuleModification;
private List _samplingTargetDocuments = new List();
private List _unprocessedStatistics = new List();
///
/// Gets and sets the property LastRuleModification.
///
/// The last time a user changed the sampling rule configuration. If the sampling rule
/// configuration changed since the service last retrieved it, the service should call
/// GetSamplingRules
/// to get the latest version.
///
///
public DateTime LastRuleModification
{
get { return this._lastRuleModification.GetValueOrDefault(); }
set { this._lastRuleModification = value; }
}
// Check to see if LastRuleModification property is set
internal bool IsSetLastRuleModification()
{
return this._lastRuleModification.HasValue;
}
///
/// Gets and sets the property SamplingTargetDocuments.
///
/// Updated rules that the service should use to sample requests.
///
///
public List SamplingTargetDocuments
{
get { return this._samplingTargetDocuments; }
set { this._samplingTargetDocuments = value; }
}
// Check to see if SamplingTargetDocuments property is set
internal bool IsSetSamplingTargetDocuments()
{
return this._samplingTargetDocuments != null && this._samplingTargetDocuments.Count > 0;
}
///
/// Gets and sets the property UnprocessedStatistics.
///
/// Information about SamplingStatisticsDocument
/// that X-Ray could not process.
///
///
public List UnprocessedStatistics
{
get { return this._unprocessedStatistics; }
set { this._unprocessedStatistics = value; }
}
// Check to see if UnprocessedStatistics property is set
internal bool IsSetUnprocessedStatistics()
{
return this._unprocessedStatistics != null && this._unprocessedStatistics.Count > 0;
}
}
}