/* * 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 emr-containers-2020-10-01.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.EMRContainers.Model { /// /// The values of StartJobRun API requests used in job runs started using the job template. /// public partial class JobTemplateData { private ParametricConfigurationOverrides _configurationOverrides; private string _executionRoleArn; private JobDriver _jobDriver; private Dictionary _jobTags = new Dictionary(); private Dictionary _parameterConfiguration = new Dictionary(); private string _releaseLabel; /// /// Gets and sets the property ConfigurationOverrides. /// /// The configuration settings that are used to override defaults configuration. /// /// public ParametricConfigurationOverrides ConfigurationOverrides { get { return this._configurationOverrides; } set { this._configurationOverrides = value; } } // Check to see if ConfigurationOverrides property is set internal bool IsSetConfigurationOverrides() { return this._configurationOverrides != null; } /// /// Gets and sets the property ExecutionRoleArn. /// /// The execution role ARN of the job run. /// /// [AWSProperty(Required=true, Min=4, Max=2048)] public string ExecutionRoleArn { get { return this._executionRoleArn; } set { this._executionRoleArn = value; } } // Check to see if ExecutionRoleArn property is set internal bool IsSetExecutionRoleArn() { return this._executionRoleArn != null; } /// /// Gets and sets the property JobDriver. /// [AWSProperty(Required=true)] public JobDriver JobDriver { get { return this._jobDriver; } set { this._jobDriver = value; } } // Check to see if JobDriver property is set internal bool IsSetJobDriver() { return this._jobDriver != null; } /// /// Gets and sets the property JobTags. /// /// The tags assigned to jobs started using the job template. /// /// [AWSProperty(Min=0, Max=50)] public Dictionary JobTags { get { return this._jobTags; } set { this._jobTags = value; } } // Check to see if JobTags property is set internal bool IsSetJobTags() { return this._jobTags != null && this._jobTags.Count > 0; } /// /// Gets and sets the property ParameterConfiguration. /// /// The configuration of parameters existing in the job template. /// /// [AWSProperty(Max=20)] public Dictionary ParameterConfiguration { get { return this._parameterConfiguration; } set { this._parameterConfiguration = value; } } // Check to see if ParameterConfiguration property is set internal bool IsSetParameterConfiguration() { return this._parameterConfiguration != null && this._parameterConfiguration.Count > 0; } /// /// Gets and sets the property ReleaseLabel. /// /// The release version of Amazon EMR. /// /// [AWSProperty(Required=true, Min=1, Max=64)] public string ReleaseLabel { get { return this._releaseLabel; } set { this._releaseLabel = value; } } // Check to see if ReleaseLabel property is set internal bool IsSetReleaseLabel() { return this._releaseLabel != null; } } }