Class CfnDataAccessor.AttributeFilterProperty
Enables filtering of responses based on document attributes or metadata fields.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.QBusiness
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDataAccessor.AttributeFilterProperty : CfnDataAccessor.IAttributeFilterProperty
Syntax (vb)
Public Class CfnDataAccessor.AttributeFilterProperty Implements CfnDataAccessor.IAttributeFilterProperty
Remarks
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.QBusiness;
AttributeFilterProperty attributeFilterProperty_;
var attributeFilterProperty = new AttributeFilterProperty {
AndAllFilters = new [] { attributeFilterProperty_ },
ContainsAll = new DocumentAttributeProperty {
Name = "name",
Value = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
}
},
ContainsAny = new DocumentAttributeProperty {
Name = "name",
Value = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
}
},
EqualsTo = new DocumentAttributeProperty {
Name = "name",
Value = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
}
},
GreaterThan = new DocumentAttributeProperty {
Name = "name",
Value = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
}
},
GreaterThanOrEquals = new DocumentAttributeProperty {
Name = "name",
Value = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
}
},
LessThan = new DocumentAttributeProperty {
Name = "name",
Value = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
}
},
LessThanOrEquals = new DocumentAttributeProperty {
Name = "name",
Value = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
}
},
NotFilter = attributeFilterProperty_,
OrAllFilters = new [] { attributeFilterProperty_ }
};
Synopsis
Constructors
| AttributeFilterProperty() | Enables filtering of responses based on document attributes or metadata fields. |
Properties
| AndAllFilters | Performs a logical |
| ContainsAll | Returns |
| ContainsAny | Returns |
| EqualsTo | Performs an equals operation on two document attributes or metadata fields. |
| GreaterThan | Performs a greater than operation on two document attributes or metadata fields. |
| GreaterThanOrEquals | Performs a greater or equals than operation on two document attributes or metadata fields. |
| LessThan | Performs a less than operation on two document attributes or metadata fields. |
| LessThanOrEquals | Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type : |
| NotFilter | Performs a logical |
| OrAllFilters | Performs a logical |
Constructors
AttributeFilterProperty()
Enables filtering of responses based on document attributes or metadata fields.
public AttributeFilterProperty()
Remarks
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.QBusiness;
AttributeFilterProperty attributeFilterProperty_;
var attributeFilterProperty = new AttributeFilterProperty {
AndAllFilters = new [] { attributeFilterProperty_ },
ContainsAll = new DocumentAttributeProperty {
Name = "name",
Value = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
}
},
ContainsAny = new DocumentAttributeProperty {
Name = "name",
Value = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
}
},
EqualsTo = new DocumentAttributeProperty {
Name = "name",
Value = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
}
},
GreaterThan = new DocumentAttributeProperty {
Name = "name",
Value = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
}
},
GreaterThanOrEquals = new DocumentAttributeProperty {
Name = "name",
Value = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
}
},
LessThan = new DocumentAttributeProperty {
Name = "name",
Value = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
}
},
LessThanOrEquals = new DocumentAttributeProperty {
Name = "name",
Value = new DocumentAttributeValueProperty {
DateValue = "dateValue",
LongValue = 123,
StringListValue = new [] { "stringListValue" },
StringValue = "stringValue"
}
},
NotFilter = attributeFilterProperty_,
OrAllFilters = new [] { attributeFilterProperty_ }
};
Properties
AndAllFilters
Performs a logical AND operation on all supplied filters.
public object? AndAllFilters { get; set; }
Property Value
Remarks
ContainsAll
Returns true when a document contains all the specified document attributes or metadata fields.
public object? ContainsAll { get; set; }
Property Value
Remarks
Supported for the following document attribute value types : stringListValue .
Type union: either IResolvable or CfnDataAccessor.IDocumentAttributeProperty
ContainsAny
Returns true when a document contains any of the specified document attributes or metadata fields.
public object? ContainsAny { get; set; }
Property Value
Remarks
Supported for the following document attribute value types : stringListValue .
Type union: either IResolvable or CfnDataAccessor.IDocumentAttributeProperty
EqualsTo
Performs an equals operation on two document attributes or metadata fields.
public object? EqualsTo { get; set; }
Property Value
Remarks
Supported for the following document attribute value types : dateValue , longValue , stringListValue and stringValue .
Type union: either IResolvable or CfnDataAccessor.IDocumentAttributeProperty
GreaterThan
Performs a greater than operation on two document attributes or metadata fields.
public object? GreaterThan { get; set; }
Property Value
Remarks
Supported for the following document attribute value types : dateValue and longValue .
Type union: either IResolvable or CfnDataAccessor.IDocumentAttributeProperty
GreaterThanOrEquals
Performs a greater or equals than operation on two document attributes or metadata fields.
public object? GreaterThanOrEquals { get; set; }
Property Value
Remarks
Supported for the following document attribute value types : dateValue and longValue .
Type union: either IResolvable or CfnDataAccessor.IDocumentAttributeProperty
LessThan
Performs a less than operation on two document attributes or metadata fields.
public object? LessThan { get; set; }
Property Value
Remarks
Supported for the following document attribute value types : dateValue and longValue .
Type union: either IResolvable or CfnDataAccessor.IDocumentAttributeProperty
LessThanOrEquals
Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type : dateValue and longValue .
public object? LessThanOrEquals { get; set; }
Property Value
Remarks
NotFilter
Performs a logical NOT operation on all supplied filters.
public object? NotFilter { get; set; }
Property Value
Remarks
OrAllFilters
Performs a logical OR operation on all supplied filters.
public object? OrAllFilters { get; set; }