/* * 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 { /// /// Container for the parameters to the StartTest operation. /// Launches a Test Instance for specific Source Servers. This command starts a LAUNCH /// job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state /// property to TESTING. /// public partial class StartTestRequest : AmazonMgnRequest { private string _accountid; private List _sourceServerIDs = new List(); private Dictionary _tags = new Dictionary(); /// /// Gets and sets the property AccountID. /// /// Start Test for Account ID. /// /// [AWSProperty(Min=12, Max=12)] public string AccountID { get { return this._accountid; } set { this._accountid = value; } } // Check to see if AccountID property is set internal bool IsSetAccountID() { return this._accountid != null; } /// /// Gets and sets the property SourceServerIDs. /// /// Start Test for Source Server IDs. /// /// [AWSProperty(Required=true, Min=1, Max=200)] public List SourceServerIDs { get { return this._sourceServerIDs; } set { this._sourceServerIDs = value; } } // Check to see if SourceServerIDs property is set internal bool IsSetSourceServerIDs() { return this._sourceServerIDs != null && this._sourceServerIDs.Count > 0; } /// /// Gets and sets the property Tags. /// /// Start Test by Tags. /// /// [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; } } }