/*
* 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 textract-2018-06-27.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.Textract
{
///
/// Constants used for properties of type BlockType.
///
public class BlockType : ConstantClass
{
///
/// Constant CELL for BlockType
///
public static readonly BlockType CELL = new BlockType("CELL");
///
/// Constant KEY_VALUE_SET for BlockType
///
public static readonly BlockType KEY_VALUE_SET = new BlockType("KEY_VALUE_SET");
///
/// Constant LINE for BlockType
///
public static readonly BlockType LINE = new BlockType("LINE");
///
/// Constant MERGED_CELL for BlockType
///
public static readonly BlockType MERGED_CELL = new BlockType("MERGED_CELL");
///
/// Constant PAGE for BlockType
///
public static readonly BlockType PAGE = new BlockType("PAGE");
///
/// Constant QUERY for BlockType
///
public static readonly BlockType QUERY = new BlockType("QUERY");
///
/// Constant QUERY_RESULT for BlockType
///
public static readonly BlockType QUERY_RESULT = new BlockType("QUERY_RESULT");
///
/// Constant SELECTION_ELEMENT for BlockType
///
public static readonly BlockType SELECTION_ELEMENT = new BlockType("SELECTION_ELEMENT");
///
/// Constant SIGNATURE for BlockType
///
public static readonly BlockType SIGNATURE = new BlockType("SIGNATURE");
///
/// Constant TABLE for BlockType
///
public static readonly BlockType TABLE = new BlockType("TABLE");
///
/// Constant TABLE_FOOTER for BlockType
///
public static readonly BlockType TABLE_FOOTER = new BlockType("TABLE_FOOTER");
///
/// Constant TABLE_TITLE for BlockType
///
public static readonly BlockType TABLE_TITLE = new BlockType("TABLE_TITLE");
///
/// Constant TITLE for BlockType
///
public static readonly BlockType TITLE = new BlockType("TITLE");
///
/// Constant WORD for BlockType
///
public static readonly BlockType WORD = new BlockType("WORD");
///
/// 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 BlockType(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 BlockType 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 BlockType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ContentClassifier.
///
public class ContentClassifier : ConstantClass
{
///
/// Constant FreeOfAdultContent for ContentClassifier
///
public static readonly ContentClassifier FreeOfAdultContent = new ContentClassifier("FreeOfAdultContent");
///
/// Constant FreeOfPersonallyIdentifiableInformation for ContentClassifier
///
public static readonly ContentClassifier FreeOfPersonallyIdentifiableInformation = new ContentClassifier("FreeOfPersonallyIdentifiableInformation");
///
/// 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 ContentClassifier(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 ContentClassifier 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 ContentClassifier(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EntityType.
///
public class EntityType : ConstantClass
{
///
/// Constant COLUMN_HEADER for EntityType
///
public static readonly EntityType COLUMN_HEADER = new EntityType("COLUMN_HEADER");
///
/// Constant KEY for EntityType
///
public static readonly EntityType KEY = new EntityType("KEY");
///
/// Constant SEMI_STRUCTURED_TABLE for EntityType
///
public static readonly EntityType SEMI_STRUCTURED_TABLE = new EntityType("SEMI_STRUCTURED_TABLE");
///
/// Constant STRUCTURED_TABLE for EntityType
///
public static readonly EntityType STRUCTURED_TABLE = new EntityType("STRUCTURED_TABLE");
///
/// Constant TABLE_FOOTER for EntityType
///
public static readonly EntityType TABLE_FOOTER = new EntityType("TABLE_FOOTER");
///
/// Constant TABLE_SECTION_TITLE for EntityType
///
public static readonly EntityType TABLE_SECTION_TITLE = new EntityType("TABLE_SECTION_TITLE");
///
/// Constant TABLE_SUMMARY for EntityType
///
public static readonly EntityType TABLE_SUMMARY = new EntityType("TABLE_SUMMARY");
///
/// Constant TABLE_TITLE for EntityType
///
public static readonly EntityType TABLE_TITLE = new EntityType("TABLE_TITLE");
///
/// Constant VALUE for EntityType
///
public static readonly EntityType VALUE = new EntityType("VALUE");
///
/// 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 EntityType(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 EntityType 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 EntityType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type FeatureType.
///
public class FeatureType : ConstantClass
{
///
/// Constant FORMS for FeatureType
///
public static readonly FeatureType FORMS = new FeatureType("FORMS");
///
/// Constant QUERIES for FeatureType
///
public static readonly FeatureType QUERIES = new FeatureType("QUERIES");
///
/// Constant SIGNATURES for FeatureType
///
public static readonly FeatureType SIGNATURES = new FeatureType("SIGNATURES");
///
/// Constant TABLES for FeatureType
///
public static readonly FeatureType TABLES = new FeatureType("TABLES");
///
/// 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 FeatureType(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 FeatureType 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 FeatureType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type JobStatus.
///
public class JobStatus : ConstantClass
{
///
/// Constant FAILED for JobStatus
///
public static readonly JobStatus FAILED = new JobStatus("FAILED");
///
/// Constant IN_PROGRESS for JobStatus
///
public static readonly JobStatus IN_PROGRESS = new JobStatus("IN_PROGRESS");
///
/// Constant PARTIAL_SUCCESS for JobStatus
///
public static readonly JobStatus PARTIAL_SUCCESS = new JobStatus("PARTIAL_SUCCESS");
///
/// Constant SUCCEEDED for JobStatus
///
public static readonly JobStatus SUCCEEDED = new JobStatus("SUCCEEDED");
///
/// 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 JobStatus(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 JobStatus 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 JobStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RelationshipType.
///
public class RelationshipType : ConstantClass
{
///
/// Constant ANSWER for RelationshipType
///
public static readonly RelationshipType ANSWER = new RelationshipType("ANSWER");
///
/// Constant CHILD for RelationshipType
///
public static readonly RelationshipType CHILD = new RelationshipType("CHILD");
///
/// Constant COMPLEX_FEATURES for RelationshipType
///
public static readonly RelationshipType COMPLEX_FEATURES = new RelationshipType("COMPLEX_FEATURES");
///
/// Constant MERGED_CELL for RelationshipType
///
public static readonly RelationshipType MERGED_CELL = new RelationshipType("MERGED_CELL");
///
/// Constant TABLE for RelationshipType
///
public static readonly RelationshipType TABLE = new RelationshipType("TABLE");
///
/// Constant TABLE_FOOTER for RelationshipType
///
public static readonly RelationshipType TABLE_FOOTER = new RelationshipType("TABLE_FOOTER");
///
/// Constant TABLE_TITLE for RelationshipType
///
public static readonly RelationshipType TABLE_TITLE = new RelationshipType("TABLE_TITLE");
///
/// Constant TITLE for RelationshipType
///
public static readonly RelationshipType TITLE = new RelationshipType("TITLE");
///
/// Constant VALUE for RelationshipType
///
public static readonly RelationshipType VALUE = new RelationshipType("VALUE");
///
/// 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 RelationshipType(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 RelationshipType 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 RelationshipType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SelectionStatus.
///
public class SelectionStatus : ConstantClass
{
///
/// Constant NOT_SELECTED for SelectionStatus
///
public static readonly SelectionStatus NOT_SELECTED = new SelectionStatus("NOT_SELECTED");
///
/// Constant SELECTED for SelectionStatus
///
public static readonly SelectionStatus SELECTED = new SelectionStatus("SELECTED");
///
/// 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 SelectionStatus(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 SelectionStatus 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 SelectionStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TextType.
///
public class TextType : ConstantClass
{
///
/// Constant HANDWRITING for TextType
///
public static readonly TextType HANDWRITING = new TextType("HANDWRITING");
///
/// Constant PRINTED for TextType
///
public static readonly TextType PRINTED = new TextType("PRINTED");
///
/// 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 TextType(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 TextType 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 TextType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ValueType.
///
public class ValueType : ConstantClass
{
///
/// Constant DATE for ValueType
///
public static readonly ValueType DATE = new ValueType("DATE");
///
/// 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 ValueType(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 ValueType 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 ValueType(string value)
{
return FindValue(value);
}
}
}