/* * 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 codeguruprofiler-2019-07-18.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.CodeGuruProfiler { /// /// Constants used for properties of type ActionGroup. /// public class ActionGroup : ConstantClass { /// /// Constant AgentPermissions for ActionGroup /// public static readonly ActionGroup AgentPermissions = new ActionGroup("agentPermissions"); /// /// 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 ActionGroup(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 ActionGroup 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 ActionGroup(string value) { return FindValue(value); } } /// /// Constants used for properties of type AgentParameterField. /// public class AgentParameterField : ConstantClass { /// /// Constant MaxStackDepth for AgentParameterField /// public static readonly AgentParameterField MaxStackDepth = new AgentParameterField("MaxStackDepth"); /// /// Constant MemoryUsageLimitPercent for AgentParameterField /// public static readonly AgentParameterField MemoryUsageLimitPercent = new AgentParameterField("MemoryUsageLimitPercent"); /// /// Constant MinimumTimeForReportingInMilliseconds for AgentParameterField /// public static readonly AgentParameterField MinimumTimeForReportingInMilliseconds = new AgentParameterField("MinimumTimeForReportingInMilliseconds"); /// /// Constant ReportingIntervalInMilliseconds for AgentParameterField /// public static readonly AgentParameterField ReportingIntervalInMilliseconds = new AgentParameterField("ReportingIntervalInMilliseconds"); /// /// Constant SamplingIntervalInMilliseconds for AgentParameterField /// public static readonly AgentParameterField SamplingIntervalInMilliseconds = new AgentParameterField("SamplingIntervalInMilliseconds"); /// /// 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 AgentParameterField(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 AgentParameterField 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 AgentParameterField(string value) { return FindValue(value); } } /// /// Constants used for properties of type AggregationPeriod. /// public class AggregationPeriod : ConstantClass { /// /// Constant P1D for AggregationPeriod /// public static readonly AggregationPeriod P1D = new AggregationPeriod("P1D"); /// /// Constant PT1H for AggregationPeriod /// public static readonly AggregationPeriod PT1H = new AggregationPeriod("PT1H"); /// /// Constant PT5M for AggregationPeriod /// public static readonly AggregationPeriod PT5M = new AggregationPeriod("PT5M"); /// /// 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 AggregationPeriod(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 AggregationPeriod 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 AggregationPeriod(string value) { return FindValue(value); } } /// /// Constants used for properties of type ComputePlatform. /// public class ComputePlatform : ConstantClass { /// /// Constant AWSLambda for ComputePlatform /// public static readonly ComputePlatform AWSLambda = new ComputePlatform("AWSLambda"); /// /// Constant Default for ComputePlatform /// public static readonly ComputePlatform Default = new ComputePlatform("Default"); /// /// 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 ComputePlatform(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 ComputePlatform 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 ComputePlatform(string value) { return FindValue(value); } } /// /// Constants used for properties of type EventPublisher. /// public class EventPublisher : ConstantClass { /// /// Constant AnomalyDetection for EventPublisher /// public static readonly EventPublisher AnomalyDetection = new EventPublisher("AnomalyDetection"); /// /// 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 EventPublisher(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 EventPublisher 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 EventPublisher(string value) { return FindValue(value); } } /// /// Constants used for properties of type FeedbackType. /// public class FeedbackType : ConstantClass { /// /// Constant Negative for FeedbackType /// public static readonly FeedbackType Negative = new FeedbackType("Negative"); /// /// Constant Positive for FeedbackType /// public static readonly FeedbackType Positive = new FeedbackType("Positive"); /// /// 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 FeedbackType(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 FeedbackType 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 FeedbackType(string value) { return FindValue(value); } } /// /// Constants used for properties of type MetadataField. /// public class MetadataField : ConstantClass { /// /// Constant AgentId for MetadataField /// public static readonly MetadataField AgentId = new MetadataField("AgentId"); /// /// Constant AwsRequestId for MetadataField /// public static readonly MetadataField AwsRequestId = new MetadataField("AwsRequestId"); /// /// Constant ComputePlatform for MetadataField /// public static readonly MetadataField ComputePlatform = new MetadataField("ComputePlatform"); /// /// Constant ExecutionEnvironment for MetadataField /// public static readonly MetadataField ExecutionEnvironment = new MetadataField("ExecutionEnvironment"); /// /// Constant LambdaFunctionArn for MetadataField /// public static readonly MetadataField LambdaFunctionArn = new MetadataField("LambdaFunctionArn"); /// /// Constant LambdaMemoryLimitInMB for MetadataField /// public static readonly MetadataField LambdaMemoryLimitInMB = new MetadataField("LambdaMemoryLimitInMB"); /// /// Constant LambdaPreviousExecutionTimeInMilliseconds for MetadataField /// public static readonly MetadataField LambdaPreviousExecutionTimeInMilliseconds = new MetadataField("LambdaPreviousExecutionTimeInMilliseconds"); /// /// Constant LambdaRemainingTimeInMilliseconds for MetadataField /// public static readonly MetadataField LambdaRemainingTimeInMilliseconds = new MetadataField("LambdaRemainingTimeInMilliseconds"); /// /// Constant LambdaTimeGapBetweenInvokesInMilliseconds for MetadataField /// public static readonly MetadataField LambdaTimeGapBetweenInvokesInMilliseconds = new MetadataField("LambdaTimeGapBetweenInvokesInMilliseconds"); /// /// 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 MetadataField(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 MetadataField 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 MetadataField(string value) { return FindValue(value); } } /// /// Constants used for properties of type MetricType. /// public class MetricType : ConstantClass { /// /// Constant AggregatedRelativeTotalTime for MetricType /// public static readonly MetricType AggregatedRelativeTotalTime = new MetricType("AggregatedRelativeTotalTime"); /// /// 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 MetricType(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 MetricType 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 MetricType(string value) { return FindValue(value); } } /// /// Constants used for properties of type OrderBy. /// public class OrderBy : ConstantClass { /// /// Constant TimestampAscending for OrderBy /// public static readonly OrderBy TimestampAscending = new OrderBy("TimestampAscending"); /// /// Constant TimestampDescending for OrderBy /// public static readonly OrderBy TimestampDescending = new OrderBy("TimestampDescending"); /// /// 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 OrderBy(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 OrderBy 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 OrderBy(string value) { return FindValue(value); } } }