/*
* 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 forecast-2018-06-26.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.ForecastService.Model
{
///
/// The ExplainabilityConfig data type defines the number of time series and time points
/// included in CreateExplainability.
///
///
///
/// If you provide a predictor ARN for ResourceArn
, you must set both TimePointGranularity
/// and TimeSeriesGranularity
to “ALL”. When creating Predictor Explainability,
/// Amazon Forecast considers all time series and time points.
///
///
///
/// If you provide a forecast ARN for ResourceArn
, you can set TimePointGranularity
/// and TimeSeriesGranularity
to either “ALL” or “Specific”.
///
///
public partial class ExplainabilityConfig
{
private TimePointGranularity _timePointGranularity;
private TimeSeriesGranularity _timeSeriesGranularity;
///
/// Gets and sets the property TimePointGranularity.
///
/// To create an Explainability for all time points in your forecast horizon, use ALL
.
/// To create an Explainability for specific time points in your forecast horizon, use
/// SPECIFIC
.
///
///
///
/// Specify time points with the StartDateTime
and EndDateTime
/// parameters within the CreateExplainability operation.
///
///
[AWSProperty(Required=true)]
public TimePointGranularity TimePointGranularity
{
get { return this._timePointGranularity; }
set { this._timePointGranularity = value; }
}
// Check to see if TimePointGranularity property is set
internal bool IsSetTimePointGranularity()
{
return this._timePointGranularity != null;
}
///
/// Gets and sets the property TimeSeriesGranularity.
///
/// To create an Explainability for all time series in your datasets, use ALL
.
/// To create an Explainability for specific time series in your datasets, use SPECIFIC
.
///
///
///
/// Specify time series by uploading a CSV or Parquet file to an Amazon S3 bucket and
/// set the location within the DataDestination data type.
///
///
[AWSProperty(Required=true)]
public TimeSeriesGranularity TimeSeriesGranularity
{
get { return this._timeSeriesGranularity; }
set { this._timeSeriesGranularity = value; }
}
// Check to see if TimeSeriesGranularity property is set
internal bool IsSetTimeSeriesGranularity()
{
return this._timeSeriesGranularity != null;
}
}
}