/*
* 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 greengrass-2017-06-07.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.Greengrass
{
///
/// Constants used for properties of type BulkDeploymentStatus.
///
public class BulkDeploymentStatus : ConstantClass
{
///
/// Constant Completed for BulkDeploymentStatus
///
public static readonly BulkDeploymentStatus Completed = new BulkDeploymentStatus("Completed");
///
/// Constant Failed for BulkDeploymentStatus
///
public static readonly BulkDeploymentStatus Failed = new BulkDeploymentStatus("Failed");
///
/// Constant Initializing for BulkDeploymentStatus
///
public static readonly BulkDeploymentStatus Initializing = new BulkDeploymentStatus("Initializing");
///
/// Constant Running for BulkDeploymentStatus
///
public static readonly BulkDeploymentStatus Running = new BulkDeploymentStatus("Running");
///
/// Constant Stopped for BulkDeploymentStatus
///
public static readonly BulkDeploymentStatus Stopped = new BulkDeploymentStatus("Stopped");
///
/// Constant Stopping for BulkDeploymentStatus
///
public static readonly BulkDeploymentStatus Stopping = new BulkDeploymentStatus("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 BulkDeploymentStatus(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 BulkDeploymentStatus 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 BulkDeploymentStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ConfigurationSyncStatus.
///
public class ConfigurationSyncStatus : ConstantClass
{
///
/// Constant InSync for ConfigurationSyncStatus
///
public static readonly ConfigurationSyncStatus InSync = new ConfigurationSyncStatus("InSync");
///
/// Constant OutOfSync for ConfigurationSyncStatus
///
public static readonly ConfigurationSyncStatus OutOfSync = new ConfigurationSyncStatus("OutOfSync");
///
/// 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 ConfigurationSyncStatus(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 ConfigurationSyncStatus 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 ConfigurationSyncStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DeploymentType.
///
public class DeploymentType : ConstantClass
{
///
/// Constant ForceResetDeployment for DeploymentType
///
public static readonly DeploymentType ForceResetDeployment = new DeploymentType("ForceResetDeployment");
///
/// Constant NewDeployment for DeploymentType
///
public static readonly DeploymentType NewDeployment = new DeploymentType("NewDeployment");
///
/// Constant Redeployment for DeploymentType
///
public static readonly DeploymentType Redeployment = new DeploymentType("Redeployment");
///
/// Constant ResetDeployment for DeploymentType
///
public static readonly DeploymentType ResetDeployment = new DeploymentType("ResetDeployment");
///
/// 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 DeploymentType(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 DeploymentType 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 DeploymentType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EncodingType.
///
public class EncodingType : ConstantClass
{
///
/// Constant Binary for EncodingType
///
public static readonly EncodingType Binary = new EncodingType("binary");
///
/// Constant Json for EncodingType
///
public static readonly EncodingType Json = new EncodingType("json");
///
/// 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 EncodingType(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 EncodingType 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 EncodingType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type FunctionIsolationMode.
///
public class FunctionIsolationMode : ConstantClass
{
///
/// Constant GreengrassContainer for FunctionIsolationMode
///
public static readonly FunctionIsolationMode GreengrassContainer = new FunctionIsolationMode("GreengrassContainer");
///
/// Constant NoContainer for FunctionIsolationMode
///
public static readonly FunctionIsolationMode NoContainer = new FunctionIsolationMode("NoContainer");
///
/// 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 FunctionIsolationMode(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 FunctionIsolationMode 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 FunctionIsolationMode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LoggerComponent.
///
public class LoggerComponent : ConstantClass
{
///
/// Constant GreengrassSystem for LoggerComponent
///
public static readonly LoggerComponent GreengrassSystem = new LoggerComponent("GreengrassSystem");
///
/// Constant Lambda for LoggerComponent
///
public static readonly LoggerComponent Lambda = new LoggerComponent("Lambda");
///
/// 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 LoggerComponent(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 LoggerComponent 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 LoggerComponent(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LoggerLevel.
///
public class LoggerLevel : ConstantClass
{
///
/// Constant DEBUG for LoggerLevel
///
public static readonly LoggerLevel DEBUG = new LoggerLevel("DEBUG");
///
/// Constant ERROR for LoggerLevel
///
public static readonly LoggerLevel ERROR = new LoggerLevel("ERROR");
///
/// Constant FATAL for LoggerLevel
///
public static readonly LoggerLevel FATAL = new LoggerLevel("FATAL");
///
/// Constant INFO for LoggerLevel
///
public static readonly LoggerLevel INFO = new LoggerLevel("INFO");
///
/// Constant WARN for LoggerLevel
///
public static readonly LoggerLevel WARN = new LoggerLevel("WARN");
///
/// 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 LoggerLevel(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 LoggerLevel 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 LoggerLevel(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LoggerType.
///
public class LoggerType : ConstantClass
{
///
/// Constant AWSCloudWatch for LoggerType
///
public static readonly LoggerType AWSCloudWatch = new LoggerType("AWSCloudWatch");
///
/// Constant FileSystem for LoggerType
///
public static readonly LoggerType FileSystem = new LoggerType("FileSystem");
///
/// 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 LoggerType(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 LoggerType 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 LoggerType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Permission.
///
public class Permission : ConstantClass
{
///
/// Constant Ro for Permission
///
public static readonly Permission Ro = new Permission("ro");
///
/// Constant Rw for Permission
///
public static readonly Permission Rw = new Permission("rw");
///
/// 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 Permission(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 Permission 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 Permission(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SoftwareToUpdate.
///
public class SoftwareToUpdate : ConstantClass
{
///
/// Constant Core for SoftwareToUpdate
///
public static readonly SoftwareToUpdate Core = new SoftwareToUpdate("core");
///
/// Constant Ota_agent for SoftwareToUpdate
///
public static readonly SoftwareToUpdate Ota_agent = new SoftwareToUpdate("ota_agent");
///
/// 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 SoftwareToUpdate(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 SoftwareToUpdate 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 SoftwareToUpdate(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Telemetry.
///
public class Telemetry : ConstantClass
{
///
/// Constant Off for Telemetry
///
public static readonly Telemetry Off = new Telemetry("Off");
///
/// Constant On for Telemetry
///
public static readonly Telemetry On = new Telemetry("On");
///
/// 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 Telemetry(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 Telemetry 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 Telemetry(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type UpdateAgentLogLevel.
///
public class UpdateAgentLogLevel : ConstantClass
{
///
/// Constant DEBUG for UpdateAgentLogLevel
///
public static readonly UpdateAgentLogLevel DEBUG = new UpdateAgentLogLevel("DEBUG");
///
/// Constant ERROR for UpdateAgentLogLevel
///
public static readonly UpdateAgentLogLevel ERROR = new UpdateAgentLogLevel("ERROR");
///
/// Constant FATAL for UpdateAgentLogLevel
///
public static readonly UpdateAgentLogLevel FATAL = new UpdateAgentLogLevel("FATAL");
///
/// Constant INFO for UpdateAgentLogLevel
///
public static readonly UpdateAgentLogLevel INFO = new UpdateAgentLogLevel("INFO");
///
/// Constant NONE for UpdateAgentLogLevel
///
public static readonly UpdateAgentLogLevel NONE = new UpdateAgentLogLevel("NONE");
///
/// Constant TRACE for UpdateAgentLogLevel
///
public static readonly UpdateAgentLogLevel TRACE = new UpdateAgentLogLevel("TRACE");
///
/// Constant VERBOSE for UpdateAgentLogLevel
///
public static readonly UpdateAgentLogLevel VERBOSE = new UpdateAgentLogLevel("VERBOSE");
///
/// Constant WARN for UpdateAgentLogLevel
///
public static readonly UpdateAgentLogLevel WARN = new UpdateAgentLogLevel("WARN");
///
/// 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 UpdateAgentLogLevel(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 UpdateAgentLogLevel 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 UpdateAgentLogLevel(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type UpdateTargetsArchitecture.
///
public class UpdateTargetsArchitecture : ConstantClass
{
///
/// Constant Aarch64 for UpdateTargetsArchitecture
///
public static readonly UpdateTargetsArchitecture Aarch64 = new UpdateTargetsArchitecture("aarch64");
///
/// Constant Armv6l for UpdateTargetsArchitecture
///
public static readonly UpdateTargetsArchitecture Armv6l = new UpdateTargetsArchitecture("armv6l");
///
/// Constant Armv7l for UpdateTargetsArchitecture
///
public static readonly UpdateTargetsArchitecture Armv7l = new UpdateTargetsArchitecture("armv7l");
///
/// Constant X86_64 for UpdateTargetsArchitecture
///
public static readonly UpdateTargetsArchitecture X86_64 = new UpdateTargetsArchitecture("x86_64");
///
/// 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 UpdateTargetsArchitecture(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 UpdateTargetsArchitecture 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 UpdateTargetsArchitecture(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type UpdateTargetsOperatingSystem.
///
public class UpdateTargetsOperatingSystem : ConstantClass
{
///
/// Constant Amazon_linux for UpdateTargetsOperatingSystem
///
public static readonly UpdateTargetsOperatingSystem Amazon_linux = new UpdateTargetsOperatingSystem("amazon_linux");
///
/// Constant Openwrt for UpdateTargetsOperatingSystem
///
public static readonly UpdateTargetsOperatingSystem Openwrt = new UpdateTargetsOperatingSystem("openwrt");
///
/// Constant Raspbian for UpdateTargetsOperatingSystem
///
public static readonly UpdateTargetsOperatingSystem Raspbian = new UpdateTargetsOperatingSystem("raspbian");
///
/// Constant Ubuntu for UpdateTargetsOperatingSystem
///
public static readonly UpdateTargetsOperatingSystem Ubuntu = new UpdateTargetsOperatingSystem("ubuntu");
///
/// 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 UpdateTargetsOperatingSystem(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 UpdateTargetsOperatingSystem 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 UpdateTargetsOperatingSystem(string value)
{
return FindValue(value);
}
}
}