/*
* 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 redshift-serverless-2021-04-21.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.RedshiftServerless
{
///
/// Constants used for properties of type LogExport.
///
public class LogExport : ConstantClass
{
///
/// Constant Connectionlog for LogExport
///
public static readonly LogExport Connectionlog = new LogExport("connectionlog");
///
/// Constant Useractivitylog for LogExport
///
public static readonly LogExport Useractivitylog = new LogExport("useractivitylog");
///
/// Constant Userlog for LogExport
///
public static readonly LogExport Userlog = new LogExport("userlog");
///
/// 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 LogExport(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 LogExport 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 LogExport(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type NamespaceStatus.
///
public class NamespaceStatus : ConstantClass
{
///
/// Constant AVAILABLE for NamespaceStatus
///
public static readonly NamespaceStatus AVAILABLE = new NamespaceStatus("AVAILABLE");
///
/// Constant DELETING for NamespaceStatus
///
public static readonly NamespaceStatus DELETING = new NamespaceStatus("DELETING");
///
/// Constant MODIFYING for NamespaceStatus
///
public static readonly NamespaceStatus MODIFYING = new NamespaceStatus("MODIFYING");
///
/// 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 NamespaceStatus(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 NamespaceStatus 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 NamespaceStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SnapshotStatus.
///
public class SnapshotStatus : ConstantClass
{
///
/// Constant AVAILABLE for SnapshotStatus
///
public static readonly SnapshotStatus AVAILABLE = new SnapshotStatus("AVAILABLE");
///
/// Constant CANCELLED for SnapshotStatus
///
public static readonly SnapshotStatus CANCELLED = new SnapshotStatus("CANCELLED");
///
/// Constant COPYING for SnapshotStatus
///
public static readonly SnapshotStatus COPYING = new SnapshotStatus("COPYING");
///
/// Constant CREATING for SnapshotStatus
///
public static readonly SnapshotStatus CREATING = new SnapshotStatus("CREATING");
///
/// Constant DELETED for SnapshotStatus
///
public static readonly SnapshotStatus DELETED = new SnapshotStatus("DELETED");
///
/// Constant FAILED for SnapshotStatus
///
public static readonly SnapshotStatus FAILED = new SnapshotStatus("FAILED");
///
/// 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 SnapshotStatus(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 SnapshotStatus 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 SnapshotStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type UsageLimitBreachAction.
///
public class UsageLimitBreachAction : ConstantClass
{
///
/// Constant Deactivate for UsageLimitBreachAction
///
public static readonly UsageLimitBreachAction Deactivate = new UsageLimitBreachAction("deactivate");
///
/// Constant EmitMetric for UsageLimitBreachAction
///
public static readonly UsageLimitBreachAction EmitMetric = new UsageLimitBreachAction("emit-metric");
///
/// Constant Log for UsageLimitBreachAction
///
public static readonly UsageLimitBreachAction Log = new UsageLimitBreachAction("log");
///
/// 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 UsageLimitBreachAction(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 UsageLimitBreachAction 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 UsageLimitBreachAction(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type UsageLimitPeriod.
///
public class UsageLimitPeriod : ConstantClass
{
///
/// Constant Daily for UsageLimitPeriod
///
public static readonly UsageLimitPeriod Daily = new UsageLimitPeriod("daily");
///
/// Constant Monthly for UsageLimitPeriod
///
public static readonly UsageLimitPeriod Monthly = new UsageLimitPeriod("monthly");
///
/// Constant Weekly for UsageLimitPeriod
///
public static readonly UsageLimitPeriod Weekly = new UsageLimitPeriod("weekly");
///
/// 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 UsageLimitPeriod(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 UsageLimitPeriod 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 UsageLimitPeriod(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type UsageLimitUsageType.
///
public class UsageLimitUsageType : ConstantClass
{
///
/// Constant CrossRegionDatasharing for UsageLimitUsageType
///
public static readonly UsageLimitUsageType CrossRegionDatasharing = new UsageLimitUsageType("cross-region-datasharing");
///
/// Constant ServerlessCompute for UsageLimitUsageType
///
public static readonly UsageLimitUsageType ServerlessCompute = new UsageLimitUsageType("serverless-compute");
///
/// 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 UsageLimitUsageType(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 UsageLimitUsageType 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 UsageLimitUsageType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type WorkgroupStatus.
///
public class WorkgroupStatus : ConstantClass
{
///
/// Constant AVAILABLE for WorkgroupStatus
///
public static readonly WorkgroupStatus AVAILABLE = new WorkgroupStatus("AVAILABLE");
///
/// Constant CREATING for WorkgroupStatus
///
public static readonly WorkgroupStatus CREATING = new WorkgroupStatus("CREATING");
///
/// Constant DELETING for WorkgroupStatus
///
public static readonly WorkgroupStatus DELETING = new WorkgroupStatus("DELETING");
///
/// Constant MODIFYING for WorkgroupStatus
///
public static readonly WorkgroupStatus MODIFYING = new WorkgroupStatus("MODIFYING");
///
/// 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 WorkgroupStatus(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 WorkgroupStatus 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 WorkgroupStatus(string value)
{
return FindValue(value);
}
}
}