/* * 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 lookoutequipment-2020-12-15.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.LookoutEquipment.Model { /// /// Container for the parameters to the CreateLabelGroup operation. /// Creates a group of labels. /// public partial class CreateLabelGroupRequest : AmazonLookoutEquipmentRequest { private string _clientToken; private List _faultCodes = new List(); private string _labelGroupName; private List _tags = new List(); /// /// Gets and sets the property ClientToken. /// /// A unique identifier for the request to create a label group. If you do not set the /// client request token, Lookout for Equipment generates one. /// /// [AWSProperty(Min=1, Max=256)] public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// /// Gets and sets the property FaultCodes. /// /// The acceptable fault codes (indicating the type of anomaly associated with the label) /// that can be used with this label group. /// /// /// /// Data in this field will be retained for service usage. Follow best practices for the /// security of your data. /// /// [AWSProperty(Min=0, Max=50)] public List FaultCodes { get { return this._faultCodes; } set { this._faultCodes = value; } } // Check to see if FaultCodes property is set internal bool IsSetFaultCodes() { return this._faultCodes != null && this._faultCodes.Count > 0; } /// /// Gets and sets the property LabelGroupName. /// /// Names a group of labels. /// /// /// /// Data in this field will be retained for service usage. Follow best practices for the /// security of your data. /// /// [AWSProperty(Required=true, Min=1, Max=200)] public string LabelGroupName { get { return this._labelGroupName; } set { this._labelGroupName = value; } } // Check to see if LabelGroupName property is set internal bool IsSetLabelGroupName() { return this._labelGroupName != null; } /// /// Gets and sets the property Tags. /// /// Tags that provide metadata about the label group you are creating. /// /// /// /// Data in this field will be retained for service usage. Follow best practices for the /// security of your data. /// /// [AWSProperty(Min=0, Max=200)] public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }