/* * 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 rds-2014-10-31.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.RDS { /// /// Constants used for properties of type ActivityStreamMode. /// public class ActivityStreamMode : ConstantClass { /// /// Constant Async for ActivityStreamMode /// public static readonly ActivityStreamMode Async = new ActivityStreamMode("async"); /// /// Constant Sync for ActivityStreamMode /// public static readonly ActivityStreamMode Sync = new ActivityStreamMode("sync"); /// /// 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 ActivityStreamMode(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 ActivityStreamMode 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 ActivityStreamMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type ActivityStreamPolicyStatus. /// public class ActivityStreamPolicyStatus : ConstantClass { /// /// Constant Locked for ActivityStreamPolicyStatus /// public static readonly ActivityStreamPolicyStatus Locked = new ActivityStreamPolicyStatus("locked"); /// /// Constant LockingPolicy for ActivityStreamPolicyStatus /// public static readonly ActivityStreamPolicyStatus LockingPolicy = new ActivityStreamPolicyStatus("locking-policy"); /// /// Constant Unlocked for ActivityStreamPolicyStatus /// public static readonly ActivityStreamPolicyStatus Unlocked = new ActivityStreamPolicyStatus("unlocked"); /// /// Constant UnlockingPolicy for ActivityStreamPolicyStatus /// public static readonly ActivityStreamPolicyStatus UnlockingPolicy = new ActivityStreamPolicyStatus("unlocking-policy"); /// /// 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 ActivityStreamPolicyStatus(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 ActivityStreamPolicyStatus 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 ActivityStreamPolicyStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ActivityStreamStatus. /// public class ActivityStreamStatus : ConstantClass { /// /// Constant Started for ActivityStreamStatus /// public static readonly ActivityStreamStatus Started = new ActivityStreamStatus("started"); /// /// Constant Starting for ActivityStreamStatus /// public static readonly ActivityStreamStatus Starting = new ActivityStreamStatus("starting"); /// /// Constant Stopped for ActivityStreamStatus /// public static readonly ActivityStreamStatus Stopped = new ActivityStreamStatus("stopped"); /// /// Constant Stopping for ActivityStreamStatus /// public static readonly ActivityStreamStatus Stopping = new ActivityStreamStatus("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 ActivityStreamStatus(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 ActivityStreamStatus 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 ActivityStreamStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ApplyMethod. /// public class ApplyMethod : ConstantClass { /// /// Constant Immediate for ApplyMethod /// public static readonly ApplyMethod Immediate = new ApplyMethod("immediate"); /// /// Constant PendingReboot for ApplyMethod /// public static readonly ApplyMethod PendingReboot = new ApplyMethod("pending-reboot"); /// /// 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 ApplyMethod(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 ApplyMethod 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 ApplyMethod(string value) { return FindValue(value); } } /// /// Constants used for properties of type AuditPolicyState. /// public class AuditPolicyState : ConstantClass { /// /// Constant Locked for AuditPolicyState /// public static readonly AuditPolicyState Locked = new AuditPolicyState("locked"); /// /// Constant Unlocked for AuditPolicyState /// public static readonly AuditPolicyState Unlocked = new AuditPolicyState("unlocked"); /// /// 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 AuditPolicyState(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 AuditPolicyState 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 AuditPolicyState(string value) { return FindValue(value); } } /// /// Constants used for properties of type AuthScheme. /// public class AuthScheme : ConstantClass { /// /// Constant SECRETS for AuthScheme /// public static readonly AuthScheme SECRETS = new AuthScheme("SECRETS"); /// /// 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 AuthScheme(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 AuthScheme 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 AuthScheme(string value) { return FindValue(value); } } /// /// Constants used for properties of type AutomationMode. /// public class AutomationMode : ConstantClass { /// /// Constant AllPaused for AutomationMode /// public static readonly AutomationMode AllPaused = new AutomationMode("all-paused"); /// /// Constant Full for AutomationMode /// public static readonly AutomationMode Full = new AutomationMode("full"); /// /// 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 AutomationMode(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 AutomationMode 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 AutomationMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type ClientPasswordAuthType. /// public class ClientPasswordAuthType : ConstantClass { /// /// Constant MYSQL_NATIVE_PASSWORD for ClientPasswordAuthType /// public static readonly ClientPasswordAuthType MYSQL_NATIVE_PASSWORD = new ClientPasswordAuthType("MYSQL_NATIVE_PASSWORD"); /// /// Constant POSTGRES_MD5 for ClientPasswordAuthType /// public static readonly ClientPasswordAuthType POSTGRES_MD5 = new ClientPasswordAuthType("POSTGRES_MD5"); /// /// Constant POSTGRES_SCRAM_SHA_256 for ClientPasswordAuthType /// public static readonly ClientPasswordAuthType POSTGRES_SCRAM_SHA_256 = new ClientPasswordAuthType("POSTGRES_SCRAM_SHA_256"); /// /// Constant SQL_SERVER_AUTHENTICATION for ClientPasswordAuthType /// public static readonly ClientPasswordAuthType SQL_SERVER_AUTHENTICATION = new ClientPasswordAuthType("SQL_SERVER_AUTHENTICATION"); /// /// 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 ClientPasswordAuthType(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 ClientPasswordAuthType 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 ClientPasswordAuthType(string value) { return FindValue(value); } } /// /// Constants used for properties of type CustomEngineVersionStatus. /// public class CustomEngineVersionStatus : ConstantClass { /// /// Constant Available for CustomEngineVersionStatus /// public static readonly CustomEngineVersionStatus Available = new CustomEngineVersionStatus("available"); /// /// Constant Inactive for CustomEngineVersionStatus /// public static readonly CustomEngineVersionStatus Inactive = new CustomEngineVersionStatus("inactive"); /// /// Constant InactiveExceptRestore for CustomEngineVersionStatus /// public static readonly CustomEngineVersionStatus InactiveExceptRestore = new CustomEngineVersionStatus("inactive-except-restore"); /// /// 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 CustomEngineVersionStatus(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 CustomEngineVersionStatus 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 CustomEngineVersionStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type DBProxyEndpointStatus. /// public class DBProxyEndpointStatus : ConstantClass { /// /// Constant Available for DBProxyEndpointStatus /// public static readonly DBProxyEndpointStatus Available = new DBProxyEndpointStatus("available"); /// /// Constant Creating for DBProxyEndpointStatus /// public static readonly DBProxyEndpointStatus Creating = new DBProxyEndpointStatus("creating"); /// /// Constant Deleting for DBProxyEndpointStatus /// public static readonly DBProxyEndpointStatus Deleting = new DBProxyEndpointStatus("deleting"); /// /// Constant IncompatibleNetwork for DBProxyEndpointStatus /// public static readonly DBProxyEndpointStatus IncompatibleNetwork = new DBProxyEndpointStatus("incompatible-network"); /// /// Constant InsufficientResourceLimits for DBProxyEndpointStatus /// public static readonly DBProxyEndpointStatus InsufficientResourceLimits = new DBProxyEndpointStatus("insufficient-resource-limits"); /// /// Constant Modifying for DBProxyEndpointStatus /// public static readonly DBProxyEndpointStatus Modifying = new DBProxyEndpointStatus("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 DBProxyEndpointStatus(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 DBProxyEndpointStatus 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 DBProxyEndpointStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type DBProxyEndpointTargetRole. /// public class DBProxyEndpointTargetRole : ConstantClass { /// /// Constant READ_ONLY for DBProxyEndpointTargetRole /// public static readonly DBProxyEndpointTargetRole READ_ONLY = new DBProxyEndpointTargetRole("READ_ONLY"); /// /// Constant READ_WRITE for DBProxyEndpointTargetRole /// public static readonly DBProxyEndpointTargetRole READ_WRITE = new DBProxyEndpointTargetRole("READ_WRITE"); /// /// 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 DBProxyEndpointTargetRole(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 DBProxyEndpointTargetRole 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 DBProxyEndpointTargetRole(string value) { return FindValue(value); } } /// /// Constants used for properties of type DBProxyStatus. /// public class DBProxyStatus : ConstantClass { /// /// Constant Available for DBProxyStatus /// public static readonly DBProxyStatus Available = new DBProxyStatus("available"); /// /// Constant Creating for DBProxyStatus /// public static readonly DBProxyStatus Creating = new DBProxyStatus("creating"); /// /// Constant Deleting for DBProxyStatus /// public static readonly DBProxyStatus Deleting = new DBProxyStatus("deleting"); /// /// Constant IncompatibleNetwork for DBProxyStatus /// public static readonly DBProxyStatus IncompatibleNetwork = new DBProxyStatus("incompatible-network"); /// /// Constant InsufficientResourceLimits for DBProxyStatus /// public static readonly DBProxyStatus InsufficientResourceLimits = new DBProxyStatus("insufficient-resource-limits"); /// /// Constant Modifying for DBProxyStatus /// public static readonly DBProxyStatus Modifying = new DBProxyStatus("modifying"); /// /// Constant Reactivating for DBProxyStatus /// public static readonly DBProxyStatus Reactivating = new DBProxyStatus("reactivating"); /// /// Constant Suspended for DBProxyStatus /// public static readonly DBProxyStatus Suspended = new DBProxyStatus("suspended"); /// /// Constant Suspending for DBProxyStatus /// public static readonly DBProxyStatus Suspending = new DBProxyStatus("suspending"); /// /// 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 DBProxyStatus(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 DBProxyStatus 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 DBProxyStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type EngineFamily. /// public class EngineFamily : ConstantClass { /// /// Constant MYSQL for EngineFamily /// public static readonly EngineFamily MYSQL = new EngineFamily("MYSQL"); /// /// Constant POSTGRESQL for EngineFamily /// public static readonly EngineFamily POSTGRESQL = new EngineFamily("POSTGRESQL"); /// /// Constant SQLSERVER for EngineFamily /// public static readonly EngineFamily SQLSERVER = new EngineFamily("SQLSERVER"); /// /// 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 EngineFamily(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 EngineFamily 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 EngineFamily(string value) { return FindValue(value); } } /// /// Constants used for properties of type ExportSourceType. /// public class ExportSourceType : ConstantClass { /// /// Constant CLUSTER for ExportSourceType /// public static readonly ExportSourceType CLUSTER = new ExportSourceType("CLUSTER"); /// /// Constant SNAPSHOT for ExportSourceType /// public static readonly ExportSourceType SNAPSHOT = new ExportSourceType("SNAPSHOT"); /// /// 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 ExportSourceType(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 ExportSourceType 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 ExportSourceType(string value) { return FindValue(value); } } /// /// Constants used for properties of type FailoverStatus. /// public class FailoverStatus : ConstantClass { /// /// Constant Cancelling for FailoverStatus /// public static readonly FailoverStatus Cancelling = new FailoverStatus("cancelling"); /// /// Constant FailingOver for FailoverStatus /// public static readonly FailoverStatus FailingOver = new FailoverStatus("failing-over"); /// /// Constant Pending for FailoverStatus /// public static readonly FailoverStatus Pending = new FailoverStatus("pending"); /// /// 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 FailoverStatus(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 FailoverStatus 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 FailoverStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type IAMAuthMode. /// public class IAMAuthMode : ConstantClass { /// /// Constant DISABLED for IAMAuthMode /// public static readonly IAMAuthMode DISABLED = new IAMAuthMode("DISABLED"); /// /// Constant ENABLED for IAMAuthMode /// public static readonly IAMAuthMode ENABLED = new IAMAuthMode("ENABLED"); /// /// Constant REQUIRED for IAMAuthMode /// public static readonly IAMAuthMode REQUIRED = new IAMAuthMode("REQUIRED"); /// /// 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 IAMAuthMode(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 IAMAuthMode 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 IAMAuthMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type ReplicaMode. /// public class ReplicaMode : ConstantClass { /// /// Constant Mounted for ReplicaMode /// public static readonly ReplicaMode Mounted = new ReplicaMode("mounted"); /// /// Constant OpenReadOnly for ReplicaMode /// public static readonly ReplicaMode OpenReadOnly = new ReplicaMode("open-read-only"); /// /// 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 ReplicaMode(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 ReplicaMode 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 ReplicaMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type SourceType. /// public class SourceType : ConstantClass { /// /// Constant BlueGreenDeployment for SourceType /// public static readonly SourceType BlueGreenDeployment = new SourceType("blue-green-deployment"); /// /// Constant CustomEngineVersion for SourceType /// public static readonly SourceType CustomEngineVersion = new SourceType("custom-engine-version"); /// /// Constant DbCluster for SourceType /// public static readonly SourceType DbCluster = new SourceType("db-cluster"); /// /// Constant DbClusterSnapshot for SourceType /// public static readonly SourceType DbClusterSnapshot = new SourceType("db-cluster-snapshot"); /// /// Constant DbInstance for SourceType /// public static readonly SourceType DbInstance = new SourceType("db-instance"); /// /// Constant DbParameterGroup for SourceType /// public static readonly SourceType DbParameterGroup = new SourceType("db-parameter-group"); /// /// Constant DbProxy for SourceType /// public static readonly SourceType DbProxy = new SourceType("db-proxy"); /// /// Constant DbSecurityGroup for SourceType /// public static readonly SourceType DbSecurityGroup = new SourceType("db-security-group"); /// /// Constant DbSnapshot for SourceType /// public static readonly SourceType DbSnapshot = new SourceType("db-snapshot"); /// /// 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 SourceType(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 SourceType 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 SourceType(string value) { return FindValue(value); } } /// /// Constants used for properties of type TargetHealthReason. /// public class TargetHealthReason : ConstantClass { /// /// Constant AUTH_FAILURE for TargetHealthReason /// public static readonly TargetHealthReason AUTH_FAILURE = new TargetHealthReason("AUTH_FAILURE"); /// /// Constant CONNECTION_FAILED for TargetHealthReason /// public static readonly TargetHealthReason CONNECTION_FAILED = new TargetHealthReason("CONNECTION_FAILED"); /// /// Constant INVALID_REPLICATION_STATE for TargetHealthReason /// public static readonly TargetHealthReason INVALID_REPLICATION_STATE = new TargetHealthReason("INVALID_REPLICATION_STATE"); /// /// Constant PENDING_PROXY_CAPACITY for TargetHealthReason /// public static readonly TargetHealthReason PENDING_PROXY_CAPACITY = new TargetHealthReason("PENDING_PROXY_CAPACITY"); /// /// Constant UNREACHABLE for TargetHealthReason /// public static readonly TargetHealthReason UNREACHABLE = new TargetHealthReason("UNREACHABLE"); /// /// 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 TargetHealthReason(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 TargetHealthReason 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 TargetHealthReason(string value) { return FindValue(value); } } /// /// Constants used for properties of type TargetRole. /// public class TargetRole : ConstantClass { /// /// Constant READ_ONLY for TargetRole /// public static readonly TargetRole READ_ONLY = new TargetRole("READ_ONLY"); /// /// Constant READ_WRITE for TargetRole /// public static readonly TargetRole READ_WRITE = new TargetRole("READ_WRITE"); /// /// Constant UNKNOWN for TargetRole /// public static readonly TargetRole UNKNOWN = new TargetRole("UNKNOWN"); /// /// 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 TargetRole(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 TargetRole 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 TargetRole(string value) { return FindValue(value); } } /// /// Constants used for properties of type TargetState. /// public class TargetState : ConstantClass { /// /// Constant AVAILABLE for TargetState /// public static readonly TargetState AVAILABLE = new TargetState("AVAILABLE"); /// /// Constant REGISTERING for TargetState /// public static readonly TargetState REGISTERING = new TargetState("REGISTERING"); /// /// Constant UNAVAILABLE for TargetState /// public static readonly TargetState UNAVAILABLE = new TargetState("UNAVAILABLE"); /// /// 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 TargetState(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 TargetState 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 TargetState(string value) { return FindValue(value); } } /// /// Constants used for properties of type TargetType. /// public class TargetType : ConstantClass { /// /// Constant RDS_INSTANCE for TargetType /// public static readonly TargetType RDS_INSTANCE = new TargetType("RDS_INSTANCE"); /// /// Constant RDS_SERVERLESS_ENDPOINT for TargetType /// public static readonly TargetType RDS_SERVERLESS_ENDPOINT = new TargetType("RDS_SERVERLESS_ENDPOINT"); /// /// Constant TRACKED_CLUSTER for TargetType /// public static readonly TargetType TRACKED_CLUSTER = new TargetType("TRACKED_CLUSTER"); /// /// 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 TargetType(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 TargetType 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 TargetType(string value) { return FindValue(value); } } /// /// Constants used for properties of type WriteForwardingStatus. /// public class WriteForwardingStatus : ConstantClass { /// /// Constant Disabled for WriteForwardingStatus /// public static readonly WriteForwardingStatus Disabled = new WriteForwardingStatus("disabled"); /// /// Constant Disabling for WriteForwardingStatus /// public static readonly WriteForwardingStatus Disabling = new WriteForwardingStatus("disabling"); /// /// Constant Enabled for WriteForwardingStatus /// public static readonly WriteForwardingStatus Enabled = new WriteForwardingStatus("enabled"); /// /// Constant Enabling for WriteForwardingStatus /// public static readonly WriteForwardingStatus Enabling = new WriteForwardingStatus("enabling"); /// /// Constant Unknown for WriteForwardingStatus /// public static readonly WriteForwardingStatus Unknown = new WriteForwardingStatus("unknown"); /// /// 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 WriteForwardingStatus(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 WriteForwardingStatus 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 WriteForwardingStatus(string value) { return FindValue(value); } } }