toJson method
Implementation
Map<String, dynamic> toJson() {
final athenaDatasetDefinition = this.athenaDatasetDefinition;
final dataDistributionType = this.dataDistributionType;
final inputMode = this.inputMode;
final localPath = this.localPath;
final redshiftDatasetDefinition = this.redshiftDatasetDefinition;
return {
if (athenaDatasetDefinition != null)
'AthenaDatasetDefinition': athenaDatasetDefinition,
if (dataDistributionType != null)
'DataDistributionType': dataDistributionType.toValue(),
if (inputMode != null) 'InputMode': inputMode.toValue(),
if (localPath != null) 'LocalPath': localPath,
if (redshiftDatasetDefinition != null)
'RedshiftDatasetDefinition': redshiftDatasetDefinition,
};
}