import { MeasureFieldProps } from './MeasureFieldProps';
import { DimensionFieldProps } from './DimensionFieldProps';
import { Value } from '../../../cloudformation/Value';
/**
  The metric comparison computation configuration.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-metriccomparisoncomputation.html">the AWS Docs</a>
*/
export interface MetricComparisonComputationProps {
    /** <code>TargetValue</code>  <a name="cfn-quicksight-analysis-metriccomparisoncomputation-targetvalue"></a>
  The field that is used in a metric comparison to value setup.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    targetValue?: MeasureFieldProps;
    /** <code>Time</code>  <a name="cfn-quicksight-analysis-metriccomparisoncomputation-time"></a>
  The time field that is used in a computation.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    time?: DimensionFieldProps;
    /** <code>ComputationId</code>  <a name="cfn-quicksight-analysis-metriccomparisoncomputation-computationid"></a>
  The ID for a computation.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>512</code><br />
  
  Pattern: <code>[\w\-]+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    computationId: Value<string>;
    /** <code>FromValue</code>  <a name="cfn-quicksight-analysis-metriccomparisoncomputation-fromvalue"></a>
  The field that is used in a metric comparison from value setup.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    fromValue?: MeasureFieldProps;
    /** <code>Name</code>  <a name="cfn-quicksight-analysis-metriccomparisoncomputation-name"></a>
  The name of a computation.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    name?: Value<string>;
}
