/* * 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 workmail-2017-10-01.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.WorkMail { /// /// Constants used for properties of type AccessControlRuleEffect. /// public class AccessControlRuleEffect : ConstantClass { /// /// Constant ALLOW for AccessControlRuleEffect /// public static readonly AccessControlRuleEffect ALLOW = new AccessControlRuleEffect("ALLOW"); /// /// Constant DENY for AccessControlRuleEffect /// public static readonly AccessControlRuleEffect DENY = new AccessControlRuleEffect("DENY"); /// /// 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 AccessControlRuleEffect(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 AccessControlRuleEffect 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 AccessControlRuleEffect(string value) { return FindValue(value); } } /// /// Constants used for properties of type AccessEffect. /// public class AccessEffect : ConstantClass { /// /// Constant ALLOW for AccessEffect /// public static readonly AccessEffect ALLOW = new AccessEffect("ALLOW"); /// /// Constant DENY for AccessEffect /// public static readonly AccessEffect DENY = new AccessEffect("DENY"); /// /// 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 AccessEffect(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 AccessEffect 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 AccessEffect(string value) { return FindValue(value); } } /// /// Constants used for properties of type AvailabilityProviderType. /// public class AvailabilityProviderType : ConstantClass { /// /// Constant EWS for AvailabilityProviderType /// public static readonly AvailabilityProviderType EWS = new AvailabilityProviderType("EWS"); /// /// Constant LAMBDA for AvailabilityProviderType /// public static readonly AvailabilityProviderType LAMBDA = new AvailabilityProviderType("LAMBDA"); /// /// 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 AvailabilityProviderType(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 AvailabilityProviderType 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 AvailabilityProviderType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DnsRecordVerificationStatus. /// public class DnsRecordVerificationStatus : ConstantClass { /// /// Constant FAILED for DnsRecordVerificationStatus /// public static readonly DnsRecordVerificationStatus FAILED = new DnsRecordVerificationStatus("FAILED"); /// /// Constant PENDING for DnsRecordVerificationStatus /// public static readonly DnsRecordVerificationStatus PENDING = new DnsRecordVerificationStatus("PENDING"); /// /// Constant VERIFIED for DnsRecordVerificationStatus /// public static readonly DnsRecordVerificationStatus VERIFIED = new DnsRecordVerificationStatus("VERIFIED"); /// /// 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 DnsRecordVerificationStatus(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 DnsRecordVerificationStatus 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 DnsRecordVerificationStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type EntityState. /// public class EntityState : ConstantClass { /// /// Constant DELETED for EntityState /// public static readonly EntityState DELETED = new EntityState("DELETED"); /// /// Constant DISABLED for EntityState /// public static readonly EntityState DISABLED = new EntityState("DISABLED"); /// /// Constant ENABLED for EntityState /// public static readonly EntityState ENABLED = new EntityState("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 EntityState(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 EntityState 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 EntityState(string value) { return FindValue(value); } } /// /// Constants used for properties of type FolderName. /// public class FolderName : ConstantClass { /// /// Constant DELETED_ITEMS for FolderName /// public static readonly FolderName DELETED_ITEMS = new FolderName("DELETED_ITEMS"); /// /// Constant DRAFTS for FolderName /// public static readonly FolderName DRAFTS = new FolderName("DRAFTS"); /// /// Constant INBOX for FolderName /// public static readonly FolderName INBOX = new FolderName("INBOX"); /// /// Constant JUNK_EMAIL for FolderName /// public static readonly FolderName JUNK_EMAIL = new FolderName("JUNK_EMAIL"); /// /// Constant SENT_ITEMS for FolderName /// public static readonly FolderName SENT_ITEMS = new FolderName("SENT_ITEMS"); /// /// 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 FolderName(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 FolderName 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 FolderName(string value) { return FindValue(value); } } /// /// Constants used for properties of type ImpersonationRoleType. /// public class ImpersonationRoleType : ConstantClass { /// /// Constant FULL_ACCESS for ImpersonationRoleType /// public static readonly ImpersonationRoleType FULL_ACCESS = new ImpersonationRoleType("FULL_ACCESS"); /// /// Constant READ_ONLY for ImpersonationRoleType /// public static readonly ImpersonationRoleType READ_ONLY = new ImpersonationRoleType("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 ImpersonationRoleType(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 ImpersonationRoleType 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 ImpersonationRoleType(string value) { return FindValue(value); } } /// /// Constants used for properties of type MailboxExportJobState. /// public class MailboxExportJobState : ConstantClass { /// /// Constant CANCELLED for MailboxExportJobState /// public static readonly MailboxExportJobState CANCELLED = new MailboxExportJobState("CANCELLED"); /// /// Constant COMPLETED for MailboxExportJobState /// public static readonly MailboxExportJobState COMPLETED = new MailboxExportJobState("COMPLETED"); /// /// Constant FAILED for MailboxExportJobState /// public static readonly MailboxExportJobState FAILED = new MailboxExportJobState("FAILED"); /// /// Constant RUNNING for MailboxExportJobState /// public static readonly MailboxExportJobState RUNNING = new MailboxExportJobState("RUNNING"); /// /// 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 MailboxExportJobState(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 MailboxExportJobState 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 MailboxExportJobState(string value) { return FindValue(value); } } /// /// Constants used for properties of type MemberType. /// public class MemberType : ConstantClass { /// /// Constant GROUP for MemberType /// public static readonly MemberType GROUP = new MemberType("GROUP"); /// /// Constant USER for MemberType /// public static readonly MemberType USER = new MemberType("USER"); /// /// 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 MemberType(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 MemberType 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 MemberType(string value) { return FindValue(value); } } /// /// Constants used for properties of type MobileDeviceAccessRuleEffect. /// public class MobileDeviceAccessRuleEffect : ConstantClass { /// /// Constant ALLOW for MobileDeviceAccessRuleEffect /// public static readonly MobileDeviceAccessRuleEffect ALLOW = new MobileDeviceAccessRuleEffect("ALLOW"); /// /// Constant DENY for MobileDeviceAccessRuleEffect /// public static readonly MobileDeviceAccessRuleEffect DENY = new MobileDeviceAccessRuleEffect("DENY"); /// /// 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 MobileDeviceAccessRuleEffect(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 MobileDeviceAccessRuleEffect 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 MobileDeviceAccessRuleEffect(string value) { return FindValue(value); } } /// /// Constants used for properties of type PermissionType. /// public class PermissionType : ConstantClass { /// /// Constant FULL_ACCESS for PermissionType /// public static readonly PermissionType FULL_ACCESS = new PermissionType("FULL_ACCESS"); /// /// Constant SEND_AS for PermissionType /// public static readonly PermissionType SEND_AS = new PermissionType("SEND_AS"); /// /// Constant SEND_ON_BEHALF for PermissionType /// public static readonly PermissionType SEND_ON_BEHALF = new PermissionType("SEND_ON_BEHALF"); /// /// 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 PermissionType(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 PermissionType 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 PermissionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ResourceType. /// public class ResourceType : ConstantClass { /// /// Constant EQUIPMENT for ResourceType /// public static readonly ResourceType EQUIPMENT = new ResourceType("EQUIPMENT"); /// /// Constant ROOM for ResourceType /// public static readonly ResourceType ROOM = new ResourceType("ROOM"); /// /// 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 ResourceType(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 ResourceType 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 ResourceType(string value) { return FindValue(value); } } /// /// Constants used for properties of type RetentionAction. /// public class RetentionAction : ConstantClass { /// /// Constant DELETE for RetentionAction /// public static readonly RetentionAction DELETE = new RetentionAction("DELETE"); /// /// Constant NONE for RetentionAction /// public static readonly RetentionAction NONE = new RetentionAction("NONE"); /// /// Constant PERMANENTLY_DELETE for RetentionAction /// public static readonly RetentionAction PERMANENTLY_DELETE = new RetentionAction("PERMANENTLY_DELETE"); /// /// 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 RetentionAction(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 RetentionAction 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 RetentionAction(string value) { return FindValue(value); } } /// /// Constants used for properties of type UserRole. /// public class UserRole : ConstantClass { /// /// Constant RESOURCE for UserRole /// public static readonly UserRole RESOURCE = new UserRole("RESOURCE"); /// /// Constant SYSTEM_USER for UserRole /// public static readonly UserRole SYSTEM_USER = new UserRole("SYSTEM_USER"); /// /// Constant USER for UserRole /// public static readonly UserRole USER = new UserRole("USER"); /// /// 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 UserRole(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 UserRole 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 UserRole(string value) { return FindValue(value); } } }