/*
* 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 appfabric-2023-05-19.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.AppFabric
{
///
/// Constants used for properties of type AppAuthorizationStatus.
///
public class AppAuthorizationStatus : ConstantClass
{
///
/// Constant Connected for AppAuthorizationStatus
///
public static readonly AppAuthorizationStatus Connected = new AppAuthorizationStatus("Connected");
///
/// Constant ConnectionValidationFailed for AppAuthorizationStatus
///
public static readonly AppAuthorizationStatus ConnectionValidationFailed = new AppAuthorizationStatus("ConnectionValidationFailed");
///
/// Constant PendingConnect for AppAuthorizationStatus
///
public static readonly AppAuthorizationStatus PendingConnect = new AppAuthorizationStatus("PendingConnect");
///
/// Constant TokenAutoRotationFailed for AppAuthorizationStatus
///
public static readonly AppAuthorizationStatus TokenAutoRotationFailed = new AppAuthorizationStatus("TokenAutoRotationFailed");
///
/// 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 AppAuthorizationStatus(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 AppAuthorizationStatus 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 AppAuthorizationStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type AuthType.
///
public class AuthType : ConstantClass
{
///
/// Constant ApiKey for AuthType
///
public static readonly AuthType ApiKey = new AuthType("apiKey");
///
/// Constant Oauth2 for AuthType
///
public static readonly AuthType Oauth2 = new AuthType("oauth2");
///
/// 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 AuthType(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 AuthType 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 AuthType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Format.
///
public class Format : ConstantClass
{
///
/// Constant Json for Format
///
public static readonly Format Json = new Format("json");
///
/// Constant Parquet for Format
///
public static readonly Format Parquet = new Format("parquet");
///
/// 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 Format(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 Format 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 Format(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type IngestionDestinationStatus.
///
public class IngestionDestinationStatus : ConstantClass
{
///
/// Constant Active for IngestionDestinationStatus
///
public static readonly IngestionDestinationStatus Active = new IngestionDestinationStatus("Active");
///
/// Constant Failed for IngestionDestinationStatus
///
public static readonly IngestionDestinationStatus Failed = new IngestionDestinationStatus("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 IngestionDestinationStatus(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 IngestionDestinationStatus 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 IngestionDestinationStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type IngestionState.
///
public class IngestionState : ConstantClass
{
///
/// Constant Disabled for IngestionState
///
public static readonly IngestionState Disabled = new IngestionState("disabled");
///
/// Constant Enabled for IngestionState
///
public static readonly IngestionState Enabled = new IngestionState("enabled");
///
/// 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 IngestionState(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 IngestionState 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 IngestionState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type IngestionType.
///
public class IngestionType : ConstantClass
{
///
/// Constant AuditLog for IngestionType
///
public static readonly IngestionType AuditLog = new IngestionType("auditLog");
///
/// 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 IngestionType(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 IngestionType 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 IngestionType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Persona.
///
public class Persona : ConstantClass
{
///
/// Constant Admin for Persona
///
public static readonly Persona Admin = new Persona("admin");
///
/// Constant EndUser for Persona
///
public static readonly Persona EndUser = new Persona("endUser");
///
/// 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 Persona(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 Persona 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 Persona(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResultStatus.
///
public class ResultStatus : ConstantClass
{
///
/// Constant COMPLETED for ResultStatus
///
public static readonly ResultStatus COMPLETED = new ResultStatus("COMPLETED");
///
/// Constant EXPIRED for ResultStatus
///
public static readonly ResultStatus EXPIRED = new ResultStatus("EXPIRED");
///
/// Constant FAILED for ResultStatus
///
public static readonly ResultStatus FAILED = new ResultStatus("FAILED");
///
/// Constant IN_PROGRESS for ResultStatus
///
public static readonly ResultStatus IN_PROGRESS = new ResultStatus("IN_PROGRESS");
///
/// 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 ResultStatus(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 ResultStatus 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 ResultStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Schema.
///
public class Schema : ConstantClass
{
///
/// Constant Ocsf for Schema
///
public static readonly Schema Ocsf = new Schema("ocsf");
///
/// Constant Raw for Schema
///
public static readonly Schema Raw = new Schema("raw");
///
/// 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 Schema(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 Schema 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 Schema(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ValidationExceptionReason.
///
public class ValidationExceptionReason : ConstantClass
{
///
/// Constant CannotParse for ValidationExceptionReason
///
public static readonly ValidationExceptionReason CannotParse = new ValidationExceptionReason("cannotParse");
///
/// Constant FieldValidationFailed for ValidationExceptionReason
///
public static readonly ValidationExceptionReason FieldValidationFailed = new ValidationExceptionReason("fieldValidationFailed");
///
/// Constant Other for ValidationExceptionReason
///
public static readonly ValidationExceptionReason Other = new ValidationExceptionReason("other");
///
/// Constant UnknownOperation for ValidationExceptionReason
///
public static readonly ValidationExceptionReason UnknownOperation = new ValidationExceptionReason("unknownOperation");
///
/// 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 ValidationExceptionReason(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 ValidationExceptionReason 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 ValidationExceptionReason(string value)
{
return FindValue(value);
}
}
}