/*
* 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 appconfig-2019-10-09.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.AppConfig.Model
{
///
/// Container for the parameters to the StartDeployment operation.
/// Starts a deployment.
///
public partial class StartDeploymentRequest : AmazonAppConfigRequest
{
private string _applicationId;
private string _configurationProfileId;
private string _configurationVersion;
private string _deploymentStrategyId;
private string _description;
private string _environmentId;
private string _kmsKeyIdentifier;
private Dictionary _tags = new Dictionary();
///
/// Gets and sets the property ApplicationId.
///
/// The application ID.
///
///
[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 ConfigurationProfileId.
///
/// The configuration profile ID.
///
///
[AWSProperty(Required=true)]
public string ConfigurationProfileId
{
get { return this._configurationProfileId; }
set { this._configurationProfileId = value; }
}
// Check to see if ConfigurationProfileId property is set
internal bool IsSetConfigurationProfileId()
{
return this._configurationProfileId != null;
}
///
/// Gets and sets the property ConfigurationVersion.
///
/// The configuration version to deploy. If deploying an AppConfig hosted configuration
/// version, you can specify either the version number or version label.
///
///
[AWSProperty(Required=true, Min=1, Max=1024)]
public string ConfigurationVersion
{
get { return this._configurationVersion; }
set { this._configurationVersion = value; }
}
// Check to see if ConfigurationVersion property is set
internal bool IsSetConfigurationVersion()
{
return this._configurationVersion != null;
}
///
/// Gets and sets the property DeploymentStrategyId.
///
/// The deployment strategy ID.
///
///
[AWSProperty(Required=true)]
public string DeploymentStrategyId
{
get { return this._deploymentStrategyId; }
set { this._deploymentStrategyId = value; }
}
// Check to see if DeploymentStrategyId property is set
internal bool IsSetDeploymentStrategyId()
{
return this._deploymentStrategyId != null;
}
///
/// Gets and sets the property Description.
///
/// A description of the deployment.
///
///
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property EnvironmentId.
///
/// The environment ID.
///
///
[AWSProperty(Required=true)]
public string EnvironmentId
{
get { return this._environmentId; }
set { this._environmentId = value; }
}
// Check to see if EnvironmentId property is set
internal bool IsSetEnvironmentId()
{
return this._environmentId != null;
}
///
/// Gets and sets the property KmsKeyIdentifier.
///
/// The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this ID to
/// encrypt the configuration data using a customer managed key.
///
///
[AWSProperty(Min=1, Max=2048)]
public string KmsKeyIdentifier
{
get { return this._kmsKeyIdentifier; }
set { this._kmsKeyIdentifier = value; }
}
// Check to see if KmsKeyIdentifier property is set
internal bool IsSetKmsKeyIdentifier()
{
return this._kmsKeyIdentifier != null;
}
///
/// Gets and sets the property Tags.
///
/// Metadata to assign to the deployment. Tags help organize and categorize your AppConfig
/// resources. Each tag consists of a key and an optional value, both of which you define.
///
///
[AWSProperty(Min=0, Max=50)]
public Dictionary Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}