/* * 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 GetLaunchConfiguration operation. /// public partial class GetLaunchConfigurationResponse : AmazonWebServiceResponse { private BootMode _bootMode; private bool? _copyPrivateIp; private bool? _copyTags; private string _ec2LaunchTemplateID; private bool? _enableMapAutoTagging; private LaunchDisposition _launchDisposition; private Licensing _licensing; private string _mapAutoTaggingMpeID; private string _name; private PostLaunchActions _postLaunchActions; private string _sourceServerID; private TargetInstanceTypeRightSizingMethod _targetInstanceTypeRightSizingMethod; /// /// Gets and sets the property BootMode. /// /// Launch configuration 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 during Launch Configuration. /// /// 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 during Launch Configuration. /// /// 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. /// /// Launch configuration EC2 Launch template ID. /// /// [AWSProperty(Min=0, Max=256)] 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 LaunchDisposition. /// /// Launch disposition for launch configuration. /// /// 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. /// /// Launch configuration OS 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. /// /// 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 Name. /// /// Launch configuration name. /// /// [AWSProperty(Min=0, Max=128)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property PostLaunchActions. /// 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 SourceServerID. /// /// Launch configuration Source Server ID. /// /// [AWSProperty(Min=19, Max=19)] public string SourceServerID { get { return this._sourceServerID; } set { this._sourceServerID = value; } } // Check to see if SourceServerID property is set internal bool IsSetSourceServerID() { return this._sourceServerID != null; } /// /// Gets and sets the property TargetInstanceTypeRightSizingMethod. /// /// Launch configuration 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; } } }