/* * 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 iot-2015-05-28.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.IoT.Model { /// /// Container for the parameters to the StartThingRegistrationTask operation. /// Creates a bulk thing provisioning task. /// /// /// /// Requires permission to access the StartThingRegistrationTask /// action. /// /// public partial class StartThingRegistrationTaskRequest : AmazonIoTRequest { private string _inputFileBucket; private string _inputFileKey; private string _roleArn; private string _templateBody; /// /// Gets and sets the property InputFileBucket. /// /// The S3 bucket that contains the input file. /// /// [AWSProperty(Required=true, Min=3, Max=256)] public string InputFileBucket { get { return this._inputFileBucket; } set { this._inputFileBucket = value; } } // Check to see if InputFileBucket property is set internal bool IsSetInputFileBucket() { return this._inputFileBucket != null; } /// /// Gets and sets the property InputFileKey. /// /// The name of input file within the S3 bucket. This file contains a newline delimited /// JSON file. Each line contains the parameter values to provision one device (thing). /// /// [AWSProperty(Required=true, Min=1, Max=1024)] public string InputFileKey { get { return this._inputFileKey; } set { this._inputFileKey = value; } } // Check to see if InputFileKey property is set internal bool IsSetInputFileKey() { return this._inputFileKey != null; } /// /// Gets and sets the property RoleArn. /// /// The IAM role ARN that grants permission the input file. /// /// [AWSProperty(Required=true, Min=20, Max=2048)] public string RoleArn { get { return this._roleArn; } set { this._roleArn = value; } } // Check to see if RoleArn property is set internal bool IsSetRoleArn() { return this._roleArn != null; } /// /// Gets and sets the property TemplateBody. /// /// The provisioning template. /// /// [AWSProperty(Required=true, Min=0, Max=10240)] public string TemplateBody { get { return this._templateBody; } set { this._templateBody = value; } } // Check to see if TemplateBody property is set internal bool IsSetTemplateBody() { return this._templateBody != null; } } }