/*
* 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 mediaconnect-2018-11-14.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.MediaConnect.Model
{
///
/// Container for the parameters to the CreateFlow operation.
/// Creates a new flow. The request must include one source. The request optionally can
/// include outputs (up to 50) and entitlements (up to 50).
///
public partial class CreateFlowRequest : AmazonMediaConnectRequest
{
private string _availabilityZone;
private List _entitlements = new List();
private AddMaintenance _maintenance;
private List _mediaStreams = new List();
private string _name;
private List _outputs = new List();
private SetSourceRequest _source;
private FailoverConfig _sourceFailoverConfig;
private List _sources = new List();
private List _vpcInterfaces = new List();
///
/// Gets and sets the property AvailabilityZone. The Availability Zone that you want to
/// create the flow in. These options are limited to the Availability Zones within the
/// current AWS Region.
///
public string AvailabilityZone
{
get { return this._availabilityZone; }
set { this._availabilityZone = value; }
}
// Check to see if AvailabilityZone property is set
internal bool IsSetAvailabilityZone()
{
return this._availabilityZone != null;
}
///
/// Gets and sets the property Entitlements. The entitlements that you want to grant on
/// a flow.
///
public List Entitlements
{
get { return this._entitlements; }
set { this._entitlements = value; }
}
// Check to see if Entitlements property is set
internal bool IsSetEntitlements()
{
return this._entitlements != null && this._entitlements.Count > 0;
}
///
/// Gets and sets the property Maintenance.
///
public AddMaintenance Maintenance
{
get { return this._maintenance; }
set { this._maintenance = value; }
}
// Check to see if Maintenance property is set
internal bool IsSetMaintenance()
{
return this._maintenance != null;
}
///
/// Gets and sets the property MediaStreams. The media streams that you want to add to
/// the flow. You can associate these media streams with sources and outputs on the flow.
///
public List MediaStreams
{
get { return this._mediaStreams; }
set { this._mediaStreams = value; }
}
// Check to see if MediaStreams property is set
internal bool IsSetMediaStreams()
{
return this._mediaStreams != null && this._mediaStreams.Count > 0;
}
///
/// Gets and sets the property Name. The name of the flow.
///
[AWSProperty(Required=true)]
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 Outputs. The outputs that you want to add to this flow.
///
public List Outputs
{
get { return this._outputs; }
set { this._outputs = value; }
}
// Check to see if Outputs property is set
internal bool IsSetOutputs()
{
return this._outputs != null && this._outputs.Count > 0;
}
///
/// Gets and sets the property Source.
///
public SetSourceRequest Source
{
get { return this._source; }
set { this._source = value; }
}
// Check to see if Source property is set
internal bool IsSetSource()
{
return this._source != null;
}
///
/// Gets and sets the property SourceFailoverConfig.
///
public FailoverConfig SourceFailoverConfig
{
get { return this._sourceFailoverConfig; }
set { this._sourceFailoverConfig = value; }
}
// Check to see if SourceFailoverConfig property is set
internal bool IsSetSourceFailoverConfig()
{
return this._sourceFailoverConfig != null;
}
///
/// Gets and sets the property Sources.
///
public List Sources
{
get { return this._sources; }
set { this._sources = value; }
}
// Check to see if Sources property is set
internal bool IsSetSources()
{
return this._sources != null && this._sources.Count > 0;
}
///
/// Gets and sets the property VpcInterfaces. The VPC interfaces you want on the flow.
///
public List VpcInterfaces
{
get { return this._vpcInterfaces; }
set { this._vpcInterfaces = value; }
}
// Check to see if VpcInterfaces property is set
internal bool IsSetVpcInterfaces()
{
return this._vpcInterfaces != null && this._vpcInterfaces.Count > 0;
}
}
}