/*
* 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 mgn-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.Mgn.Model
{
///
/// This is the response object from the UpdateLaunchConfigurationTemplate operation.
///
public partial class UpdateLaunchConfigurationTemplateResponse : AmazonWebServiceResponse
{
private string _arn;
private bool? _associatePublicIpAddress;
private BootMode _bootMode;
private bool? _copyPrivateIp;
private bool? _copyTags;
private string _ec2LaunchTemplateID;
private bool? _enableMapAutoTagging;
private LaunchTemplateDiskConf _largeVolumeConf;
private string _launchConfigurationTemplateID;
private LaunchDisposition _launchDisposition;
private Licensing _licensing;
private string _mapAutoTaggingMpeID;
private PostLaunchActions _postLaunchActions;
private LaunchTemplateDiskConf _smallVolumeConf;
private long? _smallVolumeMaxSize;
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 AssociatePublicIpAddress.
///
/// Associate public Ip address.
///
///
public bool AssociatePublicIpAddress
{
get { return this._associatePublicIpAddress.GetValueOrDefault(); }
set { this._associatePublicIpAddress = value; }
}
// Check to see if AssociatePublicIpAddress property is set
internal bool IsSetAssociatePublicIpAddress()
{
return this._associatePublicIpAddress.HasValue;
}
///
/// Gets and sets the property BootMode.
///
/// Launch configuration template boot mode.
///
///
public BootMode BootMode
{
get { return this._bootMode; }
set { this._bootMode = value; }
}
// Check to see if BootMode property is set
internal bool IsSetBootMode()
{
return this._bootMode != 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 Ec2LaunchTemplateID.
///
/// EC2 launch template ID.
///
///
[AWSProperty(Min=20, Max=20)]
public string Ec2LaunchTemplateID
{
get { return this._ec2LaunchTemplateID; }
set { this._ec2LaunchTemplateID = value; }
}
// Check to see if Ec2LaunchTemplateID property is set
internal bool IsSetEc2LaunchTemplateID()
{
return this._ec2LaunchTemplateID != null;
}
///
/// Gets and sets the property EnableMapAutoTagging.
///
/// Enable map auto tagging.
///
///
public bool EnableMapAutoTagging
{
get { return this._enableMapAutoTagging.GetValueOrDefault(); }
set { this._enableMapAutoTagging = value; }
}
// Check to see if EnableMapAutoTagging property is set
internal bool IsSetEnableMapAutoTagging()
{
return this._enableMapAutoTagging.HasValue;
}
///
/// Gets and sets the property LargeVolumeConf.
///
/// Large volume config.
///
///
public LaunchTemplateDiskConf LargeVolumeConf
{
get { return this._largeVolumeConf; }
set { this._largeVolumeConf = value; }
}
// Check to see if LargeVolumeConf property is set
internal bool IsSetLargeVolumeConf()
{
return this._largeVolumeConf != null;
}
///
/// Gets and sets the property LaunchConfigurationTemplateID.
///
/// ID of the Launch Configuration Template.
///
///
[AWSProperty(Required=true, 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.
///
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 MapAutoTaggingMpeID.
///
/// Launch configuration template map auto tagging MPE ID.
///
///
[AWSProperty(Min=0, Max=256)]
public string MapAutoTaggingMpeID
{
get { return this._mapAutoTaggingMpeID; }
set { this._mapAutoTaggingMpeID = value; }
}
// Check to see if MapAutoTaggingMpeID property is set
internal bool IsSetMapAutoTaggingMpeID()
{
return this._mapAutoTaggingMpeID != null;
}
///
/// Gets and sets the property PostLaunchActions.
///
/// Post Launch Actions of the Launch Configuration Template.
///
///
public PostLaunchActions PostLaunchActions
{
get { return this._postLaunchActions; }
set { this._postLaunchActions = value; }
}
// Check to see if PostLaunchActions property is set
internal bool IsSetPostLaunchActions()
{
return this._postLaunchActions != null;
}
///
/// Gets and sets the property SmallVolumeConf.
///
/// Small volume config.
///
///
public LaunchTemplateDiskConf SmallVolumeConf
{
get { return this._smallVolumeConf; }
set { this._smallVolumeConf = value; }
}
// Check to see if SmallVolumeConf property is set
internal bool IsSetSmallVolumeConf()
{
return this._smallVolumeConf != null;
}
///
/// Gets and sets the property SmallVolumeMaxSize.
///
/// Small volume maximum size.
///
///
[AWSProperty(Min=0)]
public long SmallVolumeMaxSize
{
get { return this._smallVolumeMaxSize.GetValueOrDefault(); }
set { this._smallVolumeMaxSize = value; }
}
// Check to see if SmallVolumeMaxSize property is set
internal bool IsSetSmallVolumeMaxSize()
{
return this._smallVolumeMaxSize.HasValue;
}
///
/// Gets and sets the property Tags.
///
/// Tags of the Launch Configuration Template.
///
///
[AWSProperty(Sensitive=true, 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;
}
///
/// 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;
}
}
}