/* * 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 iotdeviceadvisor-2020-09-18.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.IoTDeviceAdvisor.Model { /// /// Gets the suite definition configuration. /// public partial class SuiteDefinitionConfiguration { private string _devicePermissionRoleArn; private List _devices = new List(); private bool? _intendedForQualification; private bool? _isLongDurationTest; private Protocol _protocol; private string _rootGroup; private string _suiteDefinitionName; /// /// Gets and sets the property DevicePermissionRoleArn. /// /// Gets the device permission ARN. This is a required parameter. /// /// [AWSProperty(Required=true, Min=20, Max=2048)] public string DevicePermissionRoleArn { get { return this._devicePermissionRoleArn; } set { this._devicePermissionRoleArn = value; } } // Check to see if DevicePermissionRoleArn property is set internal bool IsSetDevicePermissionRoleArn() { return this._devicePermissionRoleArn != null; } /// /// Gets and sets the property Devices. /// /// Gets the devices configured. /// /// [AWSProperty(Min=0, Max=2)] public List Devices { get { return this._devices; } set { this._devices = value; } } // Check to see if Devices property is set internal bool IsSetDevices() { return this._devices != null && this._devices.Count > 0; } /// /// Gets and sets the property IntendedForQualification. /// /// Gets the tests intended for qualification in a suite. /// /// public bool IntendedForQualification { get { return this._intendedForQualification.GetValueOrDefault(); } set { this._intendedForQualification = value; } } // Check to see if IntendedForQualification property is set internal bool IsSetIntendedForQualification() { return this._intendedForQualification.HasValue; } /// /// Gets and sets the property IsLongDurationTest. /// /// Verifies if the test suite is a long duration test. /// /// public bool IsLongDurationTest { get { return this._isLongDurationTest.GetValueOrDefault(); } set { this._isLongDurationTest = value; } } // Check to see if IsLongDurationTest property is set internal bool IsSetIsLongDurationTest() { return this._isLongDurationTest.HasValue; } /// /// Gets and sets the property Protocol. /// /// Sets the MQTT protocol that is configured in the suite definition. /// /// public Protocol Protocol { get { return this._protocol; } set { this._protocol = value; } } // Check to see if Protocol property is set internal bool IsSetProtocol() { return this._protocol != null; } /// /// Gets and sets the property RootGroup. /// /// Gets the test suite root group. This is a required parameter. For updating or creating /// the latest qualification suite, if intendedForQualification is set to /// true, rootGroup can be an empty string. If intendedForQualification /// is false, rootGroup cannot be an empty string. If rootGroup /// is empty, and intendedForQualification is set to true, all the qualification /// tests are included, and the configuration is default. /// /// /// /// For a qualification suite, the minimum length is 0, and the maximum is 2048. For /// a non-qualification suite, the minimum length is 1, and the maximum is 2048. /// /// [AWSProperty(Required=true, Min=0, Max=2048)] public string RootGroup { get { return this._rootGroup; } set { this._rootGroup = value; } } // Check to see if RootGroup property is set internal bool IsSetRootGroup() { return this._rootGroup != null; } /// /// Gets and sets the property SuiteDefinitionName. /// /// Gets the suite definition name. This is a required parameter. /// /// [AWSProperty(Required=true, Min=1, Max=256)] public string SuiteDefinitionName { get { return this._suiteDefinitionName; } set { this._suiteDefinitionName = value; } } // Check to see if SuiteDefinitionName property is set internal bool IsSetSuiteDefinitionName() { return this._suiteDefinitionName != null; } } }