/* * 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 Amazon.Runtime; namespace Amazon.IoTDeviceAdvisor { /// /// Constants used for properties of type AuthenticationMethod. /// public class AuthenticationMethod : ConstantClass { /// /// Constant SignatureVersion4 for AuthenticationMethod /// public static readonly AuthenticationMethod SignatureVersion4 = new AuthenticationMethod("SignatureVersion4"); /// /// Constant X509ClientCertificate for AuthenticationMethod /// public static readonly AuthenticationMethod X509ClientCertificate = new AuthenticationMethod("X509ClientCertificate"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public AuthenticationMethod(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static AuthenticationMethod FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator AuthenticationMethod(string value) { return FindValue(value); } } /// /// Constants used for properties of type Protocol. /// public class Protocol : ConstantClass { /// /// Constant MqttV3_1_1 for Protocol /// public static readonly Protocol MqttV3_1_1 = new Protocol("MqttV3_1_1"); /// /// Constant MqttV3_1_1_OverWebSocket for Protocol /// public static readonly Protocol MqttV3_1_1_OverWebSocket = new Protocol("MqttV3_1_1_OverWebSocket"); /// /// Constant MqttV5 for Protocol /// public static readonly Protocol MqttV5 = new Protocol("MqttV5"); /// /// Constant MqttV5_OverWebSocket for Protocol /// public static readonly Protocol MqttV5_OverWebSocket = new Protocol("MqttV5_OverWebSocket"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public Protocol(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static Protocol FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator Protocol(string value) { return FindValue(value); } } /// /// Constants used for properties of type Status. /// public class Status : ConstantClass { /// /// Constant CANCELED for Status /// public static readonly Status CANCELED = new Status("CANCELED"); /// /// Constant ERROR for Status /// public static readonly Status ERROR = new Status("ERROR"); /// /// Constant FAIL for Status /// public static readonly Status FAIL = new Status("FAIL"); /// /// Constant PASS for Status /// public static readonly Status PASS = new Status("PASS"); /// /// Constant PASS_WITH_WARNINGS for Status /// public static readonly Status PASS_WITH_WARNINGS = new Status("PASS_WITH_WARNINGS"); /// /// Constant PENDING for Status /// public static readonly Status PENDING = new Status("PENDING"); /// /// Constant RUNNING for Status /// public static readonly Status RUNNING = new Status("RUNNING"); /// /// Constant STOPPED for Status /// public static readonly Status STOPPED = new Status("STOPPED"); /// /// Constant STOPPING for Status /// public static readonly Status STOPPING = new Status("STOPPING"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public Status(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static Status FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator Status(string value) { return FindValue(value); } } /// /// Constants used for properties of type SuiteRunStatus. /// public class SuiteRunStatus : ConstantClass { /// /// Constant CANCELED for SuiteRunStatus /// public static readonly SuiteRunStatus CANCELED = new SuiteRunStatus("CANCELED"); /// /// Constant ERROR for SuiteRunStatus /// public static readonly SuiteRunStatus ERROR = new SuiteRunStatus("ERROR"); /// /// Constant FAIL for SuiteRunStatus /// public static readonly SuiteRunStatus FAIL = new SuiteRunStatus("FAIL"); /// /// Constant PASS for SuiteRunStatus /// public static readonly SuiteRunStatus PASS = new SuiteRunStatus("PASS"); /// /// Constant PASS_WITH_WARNINGS for SuiteRunStatus /// public static readonly SuiteRunStatus PASS_WITH_WARNINGS = new SuiteRunStatus("PASS_WITH_WARNINGS"); /// /// Constant PENDING for SuiteRunStatus /// public static readonly SuiteRunStatus PENDING = new SuiteRunStatus("PENDING"); /// /// Constant RUNNING for SuiteRunStatus /// public static readonly SuiteRunStatus RUNNING = new SuiteRunStatus("RUNNING"); /// /// Constant STOPPED for SuiteRunStatus /// public static readonly SuiteRunStatus STOPPED = new SuiteRunStatus("STOPPED"); /// /// Constant STOPPING for SuiteRunStatus /// public static readonly SuiteRunStatus STOPPING = new SuiteRunStatus("STOPPING"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public SuiteRunStatus(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static SuiteRunStatus FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator SuiteRunStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type TestCaseScenarioStatus. /// public class TestCaseScenarioStatus : ConstantClass { /// /// Constant CANCELED for TestCaseScenarioStatus /// public static readonly TestCaseScenarioStatus CANCELED = new TestCaseScenarioStatus("CANCELED"); /// /// Constant ERROR for TestCaseScenarioStatus /// public static readonly TestCaseScenarioStatus ERROR = new TestCaseScenarioStatus("ERROR"); /// /// Constant FAIL for TestCaseScenarioStatus /// public static readonly TestCaseScenarioStatus FAIL = new TestCaseScenarioStatus("FAIL"); /// /// Constant PASS for TestCaseScenarioStatus /// public static readonly TestCaseScenarioStatus PASS = new TestCaseScenarioStatus("PASS"); /// /// Constant PASS_WITH_WARNINGS for TestCaseScenarioStatus /// public static readonly TestCaseScenarioStatus PASS_WITH_WARNINGS = new TestCaseScenarioStatus("PASS_WITH_WARNINGS"); /// /// Constant PENDING for TestCaseScenarioStatus /// public static readonly TestCaseScenarioStatus PENDING = new TestCaseScenarioStatus("PENDING"); /// /// Constant RUNNING for TestCaseScenarioStatus /// public static readonly TestCaseScenarioStatus RUNNING = new TestCaseScenarioStatus("RUNNING"); /// /// Constant STOPPED for TestCaseScenarioStatus /// public static readonly TestCaseScenarioStatus STOPPED = new TestCaseScenarioStatus("STOPPED"); /// /// Constant STOPPING for TestCaseScenarioStatus /// public static readonly TestCaseScenarioStatus STOPPING = new TestCaseScenarioStatus("STOPPING"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public TestCaseScenarioStatus(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static TestCaseScenarioStatus FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator TestCaseScenarioStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type TestCaseScenarioType. /// public class TestCaseScenarioType : ConstantClass { /// /// Constant Advanced for TestCaseScenarioType /// public static readonly TestCaseScenarioType Advanced = new TestCaseScenarioType("Advanced"); /// /// Constant Basic for TestCaseScenarioType /// public static readonly TestCaseScenarioType Basic = new TestCaseScenarioType("Basic"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public TestCaseScenarioType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static TestCaseScenarioType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator TestCaseScenarioType(string value) { return FindValue(value); } } }