/*
* 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 drs-2020-02-26.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.Drs.Model
{
///
/// Account level Launch Configuration Template.
///
public partial class LaunchConfigurationTemplate
{
private string _arn;
private bool? _copyPrivateIp;
private bool? _copyTags;
private string _exportBucketArn;
private string _launchConfigurationTemplateID;
private LaunchDisposition _launchDisposition;
private Licensing _licensing;
private Dictionary _tags = new Dictionary();
private TargetInstanceTypeRightSizingMethod _targetInstanceTypeRightSizingMethod;
///
/// Gets and sets the property Arn.
///
/// ARN of the Launch Configuration Template.
///
///
[AWSProperty(Min=20, Max=2048)]
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 CopyPrivateIp.
///
/// Copy private IP.
///
///
public bool CopyPrivateIp
{
get { return this._copyPrivateIp.GetValueOrDefault(); }
set { this._copyPrivateIp = value; }
}
// Check to see if CopyPrivateIp property is set
internal bool IsSetCopyPrivateIp()
{
return this._copyPrivateIp.HasValue;
}
///
/// Gets and sets the property CopyTags.
///
/// Copy tags.
///
///
public bool CopyTags
{
get { return this._copyTags.GetValueOrDefault(); }
set { this._copyTags = value; }
}
// Check to see if CopyTags property is set
internal bool IsSetCopyTags()
{
return this._copyTags.HasValue;
}
///
/// Gets and sets the property ExportBucketArn.
///
/// S3 bucket ARN to export Source Network templates.
///
///
[AWSProperty(Min=20, Max=2048)]
public string ExportBucketArn
{
get { return this._exportBucketArn; }
set { this._exportBucketArn = value; }
}
// Check to see if ExportBucketArn property is set
internal bool IsSetExportBucketArn()
{
return this._exportBucketArn != null;
}
///
/// Gets and sets the property LaunchConfigurationTemplateID.
///
/// ID of the Launch Configuration Template.
///
///
[AWSProperty(Min=21, Max=21)]
public string LaunchConfigurationTemplateID
{
get { return this._launchConfigurationTemplateID; }
set { this._launchConfigurationTemplateID = value; }
}
// Check to see if LaunchConfigurationTemplateID property is set
internal bool IsSetLaunchConfigurationTemplateID()
{
return this._launchConfigurationTemplateID != null;
}
///
/// Gets and sets the property LaunchDisposition.
///
/// Launch disposition.
///
///
public LaunchDisposition LaunchDisposition
{
get { return this._launchDisposition; }
set { this._launchDisposition = value; }
}
// Check to see if LaunchDisposition property is set
internal bool IsSetLaunchDisposition()
{
return this._launchDisposition != null;
}
///
/// Gets and sets the property Licensing.
///
/// Licensing.
///
///
public Licensing Licensing
{
get { return this._licensing; }
set { this._licensing = value; }
}
// Check to see if Licensing property is set
internal bool IsSetLicensing()
{
return this._licensing != null;
}
///
/// Gets and sets the property Tags.
///
/// Tags of the Launch Configuration Template.
///
///
[AWSProperty(Sensitive=true)]
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;
}
///
/// Gets and sets the property TargetInstanceTypeRightSizingMethod.
///
/// Target instance type right-sizing method.
///
///
public TargetInstanceTypeRightSizingMethod TargetInstanceTypeRightSizingMethod
{
get { return this._targetInstanceTypeRightSizingMethod; }
set { this._targetInstanceTypeRightSizingMethod = value; }
}
// Check to see if TargetInstanceTypeRightSizingMethod property is set
internal bool IsSetTargetInstanceTypeRightSizingMethod()
{
return this._targetInstanceTypeRightSizingMethod != null;
}
}
}