/* * 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 greengrassv2-2020-11-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.GreengrassV2.Model { /// /// Contains information about a device that Linux processes in a container can access. /// public partial class LambdaDeviceMount { private bool? _addGroupOwner; private string _path; private LambdaFilesystemPermission _permission; /// /// Gets and sets the property AddGroupOwner. /// /// Whether or not to add the component's system user as an owner of the device. /// /// /// /// Default: false /// /// public bool AddGroupOwner { get { return this._addGroupOwner.GetValueOrDefault(); } set { this._addGroupOwner = value; } } // Check to see if AddGroupOwner property is set internal bool IsSetAddGroupOwner() { return this._addGroupOwner.HasValue; } /// /// Gets and sets the property Path. /// /// The mount path for the device in the file system. /// /// [AWSProperty(Required=true)] public string Path { get { return this._path; } set { this._path = value; } } // Check to see if Path property is set internal bool IsSetPath() { return this._path != null; } /// /// Gets and sets the property Permission. /// /// The permission to access the device: read/only (ro) or read/write (rw). /// /// /// /// Default: ro /// /// public LambdaFilesystemPermission Permission { get { return this._permission; } set { this._permission = value; } } // Check to see if Permission property is set internal bool IsSetPermission() { return this._permission != null; } } }