/* * 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 { /// /// Container for the parameters to the UpdateWorkloadShare operation. /// Update a workload share. /// public partial class UpdateWorkloadShareRequest : AmazonWellArchitectedRequest { private PermissionType _permissionType; private string _shareId; private string _workloadId; /// /// Gets and sets the property PermissionType. /// [AWSProperty(Required=true)] 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 ShareId. /// [AWSProperty(Required=true)] 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 WorkloadId. /// [AWSProperty(Required=true, 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; } } }