/* * 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 wellarchitected-2020-03-31.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.WellArchitected.Model { /// /// A workload share return object. /// public partial class WorkloadShare { private PermissionType _permissionType; private string _sharedBy; private string _sharedWith; private string _shareId; private ShareStatus _status; private string _workloadId; private string _workloadName; /// /// Gets and sets the property PermissionType. /// public PermissionType PermissionType { get { return this._permissionType; } set { this._permissionType = value; } } // Check to see if PermissionType property is set internal bool IsSetPermissionType() { return this._permissionType != null; } /// /// Gets and sets the property SharedBy. /// [AWSProperty(Min=12, Max=12)] public string SharedBy { get { return this._sharedBy; } set { this._sharedBy = value; } } // Check to see if SharedBy property is set internal bool IsSetSharedBy() { return this._sharedBy != null; } /// /// Gets and sets the property SharedWith. /// [AWSProperty(Min=12, Max=2048)] public string SharedWith { get { return this._sharedWith; } set { this._sharedWith = value; } } // Check to see if SharedWith property is set internal bool IsSetSharedWith() { return this._sharedWith != null; } /// /// Gets and sets the property ShareId. /// public string ShareId { get { return this._shareId; } set { this._shareId = value; } } // Check to see if ShareId property is set internal bool IsSetShareId() { return this._shareId != null; } /// /// Gets and sets the property Status. /// public ShareStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property WorkloadId. /// [AWSProperty(Min=32, Max=32)] public string WorkloadId { get { return this._workloadId; } set { this._workloadId = value; } } // Check to see if WorkloadId property is set internal bool IsSetWorkloadId() { return this._workloadId != null; } /// /// Gets and sets the property WorkloadName. /// [AWSProperty(Min=3, Max=100)] public string WorkloadName { get { return this._workloadName; } set { this._workloadName = value; } } // Check to see if WorkloadName property is set internal bool IsSetWorkloadName() { return this._workloadName != null; } } }