Class CfnFeature.VariationObjectProperty
This structure contains the name and variation value of one variation of a feature.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Evidently
Assembly: Amazon.CDK.AWS.Evidently.dll
Syntax (csharp)
public class VariationObjectProperty : Object, CfnFeature.IVariationObjectProperty
Syntax (vb)
Public Class VariationObjectProperty
Inherits Object
Implements CfnFeature.IVariationObjectProperty
Remarks
It can contain only one of the following parameters: BooleanValue
, DoubleValue
, LongValue
or StringValue
.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Evidently;
var variationObjectProperty = new VariationObjectProperty {
VariationName = "variationName",
// the properties below are optional
BooleanValue = false,
DoubleValue = 123,
LongValue = 123,
StringValue = "stringValue"
};
Synopsis
Constructors
VariationObjectProperty() |
Properties
BooleanValue | The value assigned to this variation, if the variation type is boolean. |
DoubleValue | The value assigned to this variation, if the variation type is a double. |
LongValue | The value assigned to this variation, if the variation type is a long. |
StringValue | The value assigned to this variation, if the variation type is a string. |
VariationName | A name for the variation. |
Constructors
VariationObjectProperty()
public VariationObjectProperty()
Properties
BooleanValue
The value assigned to this variation, if the variation type is boolean.
public object BooleanValue { get; set; }
Property Value
System.Object
Remarks
DoubleValue
The value assigned to this variation, if the variation type is a double.
public Nullable<double> DoubleValue { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
LongValue
The value assigned to this variation, if the variation type is a long.
public Nullable<double> LongValue { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
StringValue
The value assigned to this variation, if the variation type is a string.
public string StringValue { get; set; }
Property Value
System.String
Remarks
VariationName
A name for the variation.
public string VariationName { get; set; }
Property Value
System.String
Remarks
It can include up to 127 characters.