/*
* 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 location-2020-11-19.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.LocationService
{
///
/// Constants used for properties of type BatchItemErrorCode.
///
public class BatchItemErrorCode : ConstantClass
{
///
/// Constant AccessDeniedError for BatchItemErrorCode
///
public static readonly BatchItemErrorCode AccessDeniedError = new BatchItemErrorCode("AccessDeniedError");
///
/// Constant ConflictError for BatchItemErrorCode
///
public static readonly BatchItemErrorCode ConflictError = new BatchItemErrorCode("ConflictError");
///
/// Constant InternalServerError for BatchItemErrorCode
///
public static readonly BatchItemErrorCode InternalServerError = new BatchItemErrorCode("InternalServerError");
///
/// Constant ResourceNotFoundError for BatchItemErrorCode
///
public static readonly BatchItemErrorCode ResourceNotFoundError = new BatchItemErrorCode("ResourceNotFoundError");
///
/// Constant ThrottlingError for BatchItemErrorCode
///
public static readonly BatchItemErrorCode ThrottlingError = new BatchItemErrorCode("ThrottlingError");
///
/// Constant ValidationError for BatchItemErrorCode
///
public static readonly BatchItemErrorCode ValidationError = new BatchItemErrorCode("ValidationError");
///
/// 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 BatchItemErrorCode(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 BatchItemErrorCode 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 BatchItemErrorCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DimensionUnit.
///
public class DimensionUnit : ConstantClass
{
///
/// Constant Feet for DimensionUnit
///
public static readonly DimensionUnit Feet = new DimensionUnit("Feet");
///
/// Constant Meters for DimensionUnit
///
public static readonly DimensionUnit Meters = new DimensionUnit("Meters");
///
/// 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 DimensionUnit(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 DimensionUnit 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 DimensionUnit(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DistanceUnit.
///
public class DistanceUnit : ConstantClass
{
///
/// Constant Kilometers for DistanceUnit
///
public static readonly DistanceUnit Kilometers = new DistanceUnit("Kilometers");
///
/// Constant Miles for DistanceUnit
///
public static readonly DistanceUnit Miles = new DistanceUnit("Miles");
///
/// 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 DistanceUnit(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 DistanceUnit 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 DistanceUnit(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type IntendedUse.
///
public class IntendedUse : ConstantClass
{
///
/// Constant SingleUse for IntendedUse
///
public static readonly IntendedUse SingleUse = new IntendedUse("SingleUse");
///
/// Constant Storage for IntendedUse
///
public static readonly IntendedUse Storage = new IntendedUse("Storage");
///
/// 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 IntendedUse(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 IntendedUse 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 IntendedUse(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PositionFiltering.
///
public class PositionFiltering : ConstantClass
{
///
/// Constant AccuracyBased for PositionFiltering
///
public static readonly PositionFiltering AccuracyBased = new PositionFiltering("AccuracyBased");
///
/// Constant DistanceBased for PositionFiltering
///
public static readonly PositionFiltering DistanceBased = new PositionFiltering("DistanceBased");
///
/// Constant TimeBased for PositionFiltering
///
public static readonly PositionFiltering TimeBased = new PositionFiltering("TimeBased");
///
/// 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 PositionFiltering(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 PositionFiltering 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 PositionFiltering(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PricingPlan.
///
public class PricingPlan : ConstantClass
{
///
/// Constant MobileAssetManagement for PricingPlan
///
public static readonly PricingPlan MobileAssetManagement = new PricingPlan("MobileAssetManagement");
///
/// Constant MobileAssetTracking for PricingPlan
///
public static readonly PricingPlan MobileAssetTracking = new PricingPlan("MobileAssetTracking");
///
/// Constant RequestBasedUsage for PricingPlan
///
public static readonly PricingPlan RequestBasedUsage = new PricingPlan("RequestBasedUsage");
///
/// 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 PricingPlan(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 PricingPlan 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 PricingPlan(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RouteMatrixErrorCode.
///
public class RouteMatrixErrorCode : ConstantClass
{
///
/// Constant DeparturePositionNotFound for RouteMatrixErrorCode
///
public static readonly RouteMatrixErrorCode DeparturePositionNotFound = new RouteMatrixErrorCode("DeparturePositionNotFound");
///
/// Constant DestinationPositionNotFound for RouteMatrixErrorCode
///
public static readonly RouteMatrixErrorCode DestinationPositionNotFound = new RouteMatrixErrorCode("DestinationPositionNotFound");
///
/// Constant OtherValidationError for RouteMatrixErrorCode
///
public static readonly RouteMatrixErrorCode OtherValidationError = new RouteMatrixErrorCode("OtherValidationError");
///
/// Constant PositionsNotFound for RouteMatrixErrorCode
///
public static readonly RouteMatrixErrorCode PositionsNotFound = new RouteMatrixErrorCode("PositionsNotFound");
///
/// Constant RouteNotFound for RouteMatrixErrorCode
///
public static readonly RouteMatrixErrorCode RouteNotFound = new RouteMatrixErrorCode("RouteNotFound");
///
/// Constant RouteTooLong for RouteMatrixErrorCode
///
public static readonly RouteMatrixErrorCode RouteTooLong = new RouteMatrixErrorCode("RouteTooLong");
///
/// 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 RouteMatrixErrorCode(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 RouteMatrixErrorCode 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 RouteMatrixErrorCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Status.
///
public class Status : ConstantClass
{
///
/// Constant Active for Status
///
public static readonly Status Active = new Status("Active");
///
/// Constant Expired for Status
///
public static readonly Status Expired = new Status("Expired");
///
/// 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 Status(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 Status 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 Status(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TravelMode.
///
public class TravelMode : ConstantClass
{
///
/// Constant Bicycle for TravelMode
///
public static readonly TravelMode Bicycle = new TravelMode("Bicycle");
///
/// Constant Car for TravelMode
///
public static readonly TravelMode Car = new TravelMode("Car");
///
/// Constant Motorcycle for TravelMode
///
public static readonly TravelMode Motorcycle = new TravelMode("Motorcycle");
///
/// Constant Truck for TravelMode
///
public static readonly TravelMode Truck = new TravelMode("Truck");
///
/// Constant Walking for TravelMode
///
public static readonly TravelMode Walking = new TravelMode("Walking");
///
/// 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 TravelMode(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 TravelMode 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 TravelMode(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 Missing for ValidationExceptionReason
///
public static readonly ValidationExceptionReason Missing = new ValidationExceptionReason("Missing");
///
/// 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);
}
}
///
/// Constants used for properties of type VehicleWeightUnit.
///
public class VehicleWeightUnit : ConstantClass
{
///
/// Constant Kilograms for VehicleWeightUnit
///
public static readonly VehicleWeightUnit Kilograms = new VehicleWeightUnit("Kilograms");
///
/// Constant Pounds for VehicleWeightUnit
///
public static readonly VehicleWeightUnit Pounds = new VehicleWeightUnit("Pounds");
///
/// 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 VehicleWeightUnit(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 VehicleWeightUnit 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 VehicleWeightUnit(string value)
{
return FindValue(value);
}
}
}