/*
* 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 tnb-2008-10-21.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.Tnb.Model
{
///
/// Container for the parameters to the ValidateSolNetworkPackageContent operation.
/// Validates network package content. This can be used as a dry run before uploading
/// network package content with PutSolNetworkPackageContent.
///
///
///
/// A network package is a .zip file in CSAR (Cloud Service Archive) format defines the
/// function packages you want to deploy and the Amazon Web Services infrastructure you
/// want to deploy them on.
///
///
public partial class ValidateSolNetworkPackageContentRequest : AmazonTnbRequest
{
private PackageContentType _contentType;
private MemoryStream _file;
private string _nsdInfoId;
///
/// Gets and sets the property ContentType.
///
/// Network package content type.
///
///
public PackageContentType ContentType
{
get { return this._contentType; }
set { this._contentType = value; }
}
// Check to see if ContentType property is set
internal bool IsSetContentType()
{
return this._contentType != null;
}
///
/// Gets and sets the property File.
///
/// Network package file.
///
///
[AWSProperty(Required=true)]
public MemoryStream File
{
get { return this._file; }
set { this._file = value; }
}
// Check to see if File property is set
internal bool IsSetFile()
{
return this._file != null;
}
///
/// Gets and sets the property NsdInfoId.
///
/// Network service descriptor file.
///
///
[AWSProperty(Required=true)]
public string NsdInfoId
{
get { return this._nsdInfoId; }
set { this._nsdInfoId = value; }
}
// Check to see if NsdInfoId property is set
internal bool IsSetNsdInfoId()
{
return this._nsdInfoId != null;
}
}
}