/*
* 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 mediatailor-2018-04-23.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.MediaTailor.Model
{
///
/// This is the response object from the GetPrefetchSchedule operation.
///
public partial class GetPrefetchScheduleResponse : AmazonWebServiceResponse
{
private string _arn;
private PrefetchConsumption _consumption;
private string _name;
private string _playbackConfigurationName;
private PrefetchRetrieval _retrieval;
private string _streamId;
///
/// Gets and sets the property Arn.
///
/// The Amazon Resource Name (ARN) of the prefetch schedule.
///
///
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property Consumption.
///
/// Consumption settings determine how, and when, MediaTailor places the prefetched ads
/// into ad breaks. Ad consumption occurs within a span of time that you define, called
/// a consumption window. You can designate which ad breaks that MediaTailor fills
/// with prefetch ads by setting avail matching criteria.
///
///
public PrefetchConsumption Consumption
{
get { return this._consumption; }
set { this._consumption = value; }
}
// Check to see if Consumption property is set
internal bool IsSetConsumption()
{
return this._consumption != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the prefetch schedule. The name must be unique among all prefetch schedules
/// that are associated with the specified playback configuration.
///
///
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property PlaybackConfigurationName.
///
/// The name of the playback configuration to create the prefetch schedule for.
///
///
public string PlaybackConfigurationName
{
get { return this._playbackConfigurationName; }
set { this._playbackConfigurationName = value; }
}
// Check to see if PlaybackConfigurationName property is set
internal bool IsSetPlaybackConfigurationName()
{
return this._playbackConfigurationName != null;
}
///
/// Gets and sets the property Retrieval.
///
/// A complex type that contains settings for prefetch retrieval from the ad decision
/// server (ADS).
///
///
public PrefetchRetrieval Retrieval
{
get { return this._retrieval; }
set { this._retrieval = value; }
}
// Check to see if Retrieval property is set
internal bool IsSetRetrieval()
{
return this._retrieval != null;
}
///
/// Gets and sets the property StreamId.
///
/// An optional stream identifier that you can specify in order to prefetch for multiple
/// streams that use the same playback configuration.
///
///
public string StreamId
{
get { return this._streamId; }
set { this._streamId = value; }
}
// Check to see if StreamId property is set
internal bool IsSetStreamId()
{
return this._streamId != null;
}
}
}