Map<String, dynamic> toJson() { final attributeName = this.attributeName; final keyType = this.keyType; return { 'AttributeName': attributeName, 'KeyType': keyType.toValue(), }; }