| std::optional<int> DataStorm::Config::sampleCount |
The sampleCount configuration specifies how many samples are kept by the reader or writer in its sample history.
0 means no samples are kept and a negative value means the sample count is unlimited. nullopt is equivalent to the topic's default sample count: the value of the DataStorm.Topic.SampleCount property (-1 by default), unless replaced with Topic::setReaderDefaultConfig or Topic::setWriterDefaultConfig.