/*
* 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 serverlessrepo-2017-09-08.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.ServerlessApplicationRepository.Model
{
///
/// Container for the parameters to the CreateApplicationVersion operation.
/// Creates an application version.
///
public partial class CreateApplicationVersionRequest : AmazonServerlessApplicationRepositoryRequest
{
private string _applicationId;
private string _semanticVersion;
private string _sourceCodeArchiveUrl;
private string _sourceCodeUrl;
private string _templateBody;
private string _templateUrl;
///
/// Gets and sets the property ApplicationId.
///
/// The Amazon Resource Name (ARN) of the application.
///
///
[AWSProperty(Required=true)]
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
///
/// Gets and sets the property SemanticVersion.
///
/// The semantic version of the new version.
///
///
[AWSProperty(Required=true)]
public string SemanticVersion
{
get { return this._semanticVersion; }
set { this._semanticVersion = value; }
}
// Check to see if SemanticVersion property is set
internal bool IsSetSemanticVersion()
{
return this._semanticVersion != null;
}
///
/// Gets and sets the property SourceCodeArchiveUrl.
///
/// A link to the S3 object that contains the ZIP archive of the source code for this
/// version of your application.
///
///
///
/// Maximum size 50 MB
///
///
public string SourceCodeArchiveUrl
{
get { return this._sourceCodeArchiveUrl; }
set { this._sourceCodeArchiveUrl = value; }
}
// Check to see if SourceCodeArchiveUrl property is set
internal bool IsSetSourceCodeArchiveUrl()
{
return this._sourceCodeArchiveUrl != null;
}
///
/// Gets and sets the property SourceCodeUrl.
///
/// A link to a public repository for the source code of your application, for example
/// the URL of a specific GitHub commit.
///
///
public string SourceCodeUrl
{
get { return this._sourceCodeUrl; }
set { this._sourceCodeUrl = value; }
}
// Check to see if SourceCodeUrl property is set
internal bool IsSetSourceCodeUrl()
{
return this._sourceCodeUrl != null;
}
///
/// Gets and sets the property TemplateBody.
///
/// The raw packaged AWS SAM template of your application.
///
///
public string TemplateBody
{
get { return this._templateBody; }
set { this._templateBody = value; }
}
// Check to see if TemplateBody property is set
internal bool IsSetTemplateBody()
{
return this._templateBody != null;
}
///
/// Gets and sets the property TemplateUrl.
///
/// A link to the packaged AWS SAM template of your application.
///
///
public string TemplateUrl
{
get { return this._templateUrl; }
set { this._templateUrl = value; }
}
// Check to see if TemplateUrl property is set
internal bool IsSetTemplateUrl()
{
return this._templateUrl != null;
}
}
}