/* * 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 snowball-2016-06-30.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.Snowball.Model { /// /// Contains an array of Amazon Web Services resource objects. Each object represents /// an Amazon S3 bucket, an Lambda function, or an Amazon Machine Image (AMI) based on /// Amazon EC2 that is associated with a particular job. /// public partial class JobResource { private List _ec2AmiResources = new List(); private List _lambdaResources = new List(); private List _s3Resources = new List(); /// /// Gets and sets the property Ec2AmiResources. /// /// The Amazon Machine Images (AMIs) associated with this job. /// /// public List Ec2AmiResources { get { return this._ec2AmiResources; } set { this._ec2AmiResources = value; } } // Check to see if Ec2AmiResources property is set internal bool IsSetEc2AmiResources() { return this._ec2AmiResources != null && this._ec2AmiResources.Count > 0; } /// /// Gets and sets the property LambdaResources. /// /// The Python-language Lambda functions for this job. /// /// public List LambdaResources { get { return this._lambdaResources; } set { this._lambdaResources = value; } } // Check to see if LambdaResources property is set internal bool IsSetLambdaResources() { return this._lambdaResources != null && this._lambdaResources.Count > 0; } /// /// Gets and sets the property S3Resources. /// /// An array of S3Resource objects. /// /// public List S3Resources { get { return this._s3Resources; } set { this._s3Resources = value; } } // Check to see if S3Resources property is set internal bool IsSetS3Resources() { return this._s3Resources != null && this._s3Resources.Count > 0; } } }